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

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

Issue 2143843002: Make Frame subclasses final. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 5 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
« no previous file with comments | « third_party/WebKit/Source/core/frame/LocalFrame.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 RemoteFrame_h 5 #ifndef RemoteFrame_h
6 #define RemoteFrame_h 6 #define RemoteFrame_h
7 7
8 #include "core/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "core/dom/RemoteSecurityContext.h" 9 #include "core/dom/RemoteSecurityContext.h"
10 #include "core/frame/Frame.h" 10 #include "core/frame/Frame.h"
11 #include "public/platform/WebFocusType.h" 11 #include "public/platform/WebFocusType.h"
12 12
13 namespace blink { 13 namespace blink {
14 14
15 class Event; 15 class Event;
16 class IntRect; 16 class IntRect;
17 class LocalFrame; 17 class LocalFrame;
18 class RemoteDOMWindow; 18 class RemoteDOMWindow;
19 class RemoteFrameClient; 19 class RemoteFrameClient;
20 class RemoteFrameView; 20 class RemoteFrameView;
21 class WebLayer; 21 class WebLayer;
22 class WindowProxyManager; 22 class WindowProxyManager;
23 struct FrameLoadRequest; 23 struct FrameLoadRequest;
24 24
25 class CORE_EXPORT RemoteFrame: public Frame { 25 class CORE_EXPORT RemoteFrame final : public Frame {
26 public: 26 public:
27 static RemoteFrame* create(RemoteFrameClient*, FrameHost*, FrameOwner*); 27 static RemoteFrame* create(RemoteFrameClient*, FrameHost*, FrameOwner*);
28 28
29 ~RemoteFrame() override; 29 ~RemoteFrame() override;
30 30
31 // Frame overrides: 31 // Frame overrides:
32 DECLARE_VIRTUAL_TRACE(); 32 DECLARE_VIRTUAL_TRACE();
33 DOMWindow* domWindow() const override; 33 DOMWindow* domWindow() const override;
34 WindowProxy* windowProxy(DOMWrapperWorld&) override; 34 WindowProxy* windowProxy(DOMWrapperWorld&) override;
35 void navigate(Document& originDocument, const KURL&, bool replaceCurrentItem , UserGestureStatus) override; 35 void navigate(Document& originDocument, const KURL&, bool replaceCurrentItem , UserGestureStatus) override;
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 inline RemoteFrameView* RemoteFrame::view() const 81 inline RemoteFrameView* RemoteFrame::view() const
82 { 82 {
83 return m_view.get(); 83 return m_view.get();
84 } 84 }
85 85
86 DEFINE_TYPE_CASTS(RemoteFrame, Frame, remoteFrame, remoteFrame->isRemoteFrame(), remoteFrame.isRemoteFrame()); 86 DEFINE_TYPE_CASTS(RemoteFrame, Frame, remoteFrame, remoteFrame->isRemoteFrame(), remoteFrame.isRemoteFrame());
87 87
88 } // namespace blink 88 } // namespace blink
89 89
90 #endif // RemoteFrame_h 90 #endif // RemoteFrame_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/LocalFrame.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698