Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(626)

Side by Side Diff: Source/core/frame/RemoteFrameView.h

Issue 952813002: InlinedVisitor: Migrate frame to use inlined tracing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef RemoteFrameView_h 5 #ifndef RemoteFrameView_h
6 #define RemoteFrameView_h 6 #define RemoteFrameView_h
7 7
8 #include "platform/Widget.h" 8 #include "platform/Widget.h"
9 #include "platform/geometry/IntRect.h" 9 #include "platform/geometry/IntRect.h"
10 #include "platform/heap/Handle.h" 10 #include "platform/heap/Handle.h"
(...skipping 16 matching lines...) Expand all
27 return *m_remoteFrame; 27 return *m_remoteFrame;
28 } 28 }
29 29
30 // Override to notify remote frame that its viewport size has changed. 30 // Override to notify remote frame that its viewport size has changed.
31 virtual void frameRectsChanged() override; 31 virtual void frameRectsChanged() override;
32 32
33 virtual void invalidateRect(const IntRect&) override; 33 virtual void invalidateRect(const IntRect&) override;
34 34
35 virtual void setFrameRect(const IntRect&) override; 35 virtual void setFrameRect(const IntRect&) override;
36 36
37 virtual void trace(Visitor*) override; 37 DECLARE_VIRTUAL_TRACE();
38 38
39 private: 39 private:
40 explicit RemoteFrameView(RemoteFrame*); 40 explicit RemoteFrameView(RemoteFrame*);
41 41
42 // The properties and handling of the cycle between RemoteFrame 42 // The properties and handling of the cycle between RemoteFrame
43 // and its RemoteFrameView corresponds to that between LocalFrame 43 // and its RemoteFrameView corresponds to that between LocalFrame
44 // and FrameView. Please see the FrameView::m_frame comment for 44 // and FrameView. Please see the FrameView::m_frame comment for
45 // details. 45 // details.
46 RefPtrWillBeMember<RemoteFrame> m_remoteFrame; 46 RefPtrWillBeMember<RemoteFrame> m_remoteFrame;
47 }; 47 };
48 48
49 DEFINE_TYPE_CASTS(RemoteFrameView, Widget, widget, widget->isRemoteFrameView(), widget.isRemoteFrameView()); 49 DEFINE_TYPE_CASTS(RemoteFrameView, Widget, widget, widget->isRemoteFrameView(), widget.isRemoteFrameView());
50 50
51 } // namespace blink 51 } // namespace blink
52 52
53 #endif // RemoteFrameView_h 53 #endif // RemoteFrameView_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698