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

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

Issue 1854543002: Oilpan: Remove WillBe types (part 7) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
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"
11 11
12 namespace blink { 12 namespace blink {
13 13
14 class RemoteFrame; 14 class RemoteFrame;
15 15
16 class RemoteFrameView final : public Widget { 16 class RemoteFrameView final : public Widget {
17 public: 17 public:
18 static PassRefPtrWillBeRawPtr<RemoteFrameView> create(RemoteFrame*); 18 static RawPtr<RemoteFrameView> create(RemoteFrame*);
19 19
20 ~RemoteFrameView() override; 20 ~RemoteFrameView() override;
21 21
22 bool isRemoteFrameView() const override { return true; } 22 bool isRemoteFrameView() const override { return true; }
23 23
24 RemoteFrame& frame() const 24 RemoteFrame& frame() const
25 { 25 {
26 ASSERT(m_remoteFrame); 26 ASSERT(m_remoteFrame);
27 return *m_remoteFrame; 27 return *m_remoteFrame;
28 } 28 }
(...skipping 13 matching lines...) Expand all
42 42
43 DECLARE_VIRTUAL_TRACE(); 43 DECLARE_VIRTUAL_TRACE();
44 44
45 private: 45 private:
46 explicit RemoteFrameView(RemoteFrame*); 46 explicit RemoteFrameView(RemoteFrame*);
47 47
48 // The properties and handling of the cycle between RemoteFrame 48 // The properties and handling of the cycle between RemoteFrame
49 // and its RemoteFrameView corresponds to that between LocalFrame 49 // and its RemoteFrameView corresponds to that between LocalFrame
50 // and FrameView. Please see the FrameView::m_frame comment for 50 // and FrameView. Please see the FrameView::m_frame comment for
51 // details. 51 // details.
52 RefPtrWillBeMember<RemoteFrame> m_remoteFrame; 52 Member<RemoteFrame> m_remoteFrame;
53 }; 53 };
54 54
55 DEFINE_TYPE_CASTS(RemoteFrameView, Widget, widget, widget->isRemoteFrameView(), widget.isRemoteFrameView()); 55 DEFINE_TYPE_CASTS(RemoteFrameView, Widget, widget, widget->isRemoteFrameView(), widget.isRemoteFrameView());
56 56
57 } // namespace blink 57 } // namespace blink
58 58
59 #endif // RemoteFrameView_h 59 #endif // RemoteFrameView_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/RemoteFrame.cpp ('k') | third_party/WebKit/Source/core/frame/RemoteFrameView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698