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

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

Issue 1232333002: Fix virtual/override/final usage in the rest of Source/core/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/frame/PlatformEventController.h ('k') | Source/core/frame/RemoteFrameClient.h » ('j') | 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 11
12 namespace blink { 12 namespace blink {
13 13
14 class Event; 14 class Event;
15 class RemoteDOMWindow; 15 class RemoteDOMWindow;
16 class RemoteFrameClient; 16 class RemoteFrameClient;
17 class RemoteFrameView; 17 class RemoteFrameView;
18 class WebLayer; 18 class WebLayer;
19 class WindowProxyManager; 19 class WindowProxyManager;
20 struct FrameLoadRequest; 20 struct FrameLoadRequest;
21 21
22 class CORE_EXPORT RemoteFrame: public Frame { 22 class CORE_EXPORT RemoteFrame: public Frame {
23 public: 23 public:
24 static PassRefPtrWillBeRawPtr<RemoteFrame> create(RemoteFrameClient*, FrameH ost*, FrameOwner*); 24 static PassRefPtrWillBeRawPtr<RemoteFrame> create(RemoteFrameClient*, FrameH ost*, FrameOwner*);
25 25
26 virtual ~RemoteFrame(); 26 ~RemoteFrame() override;
27 27
28 // Frame overrides: 28 // Frame overrides:
29 DECLARE_VIRTUAL_TRACE(); 29 DECLARE_VIRTUAL_TRACE();
30 bool isRemoteFrame() const override { return true; } 30 bool isRemoteFrame() const override { return true; }
31 DOMWindow* domWindow() const override; 31 DOMWindow* domWindow() const override;
32 WindowProxy* windowProxy(DOMWrapperWorld&) override; 32 WindowProxy* windowProxy(DOMWrapperWorld&) override;
33 void navigate(Document& originDocument, const KURL&, bool lockBackForwardLis t, UserGestureStatus) override; 33 void navigate(Document& originDocument, const KURL&, bool lockBackForwardLis t, UserGestureStatus) override;
34 void navigate(const FrameLoadRequest& passedRequest) override; 34 void navigate(const FrameLoadRequest& passedRequest) override;
35 void reload(FrameLoadType, ClientRedirectPolicy) override; 35 void reload(FrameLoadType, ClientRedirectPolicy) override;
36 void detach(FrameDetachType) override; 36 void detach(FrameDetachType) override;
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 inline RemoteFrameView* RemoteFrame::view() const 70 inline RemoteFrameView* RemoteFrame::view() const
71 { 71 {
72 return m_view.get(); 72 return m_view.get();
73 } 73 }
74 74
75 DEFINE_TYPE_CASTS(RemoteFrame, Frame, remoteFrame, remoteFrame->isRemoteFrame(), remoteFrame.isRemoteFrame()); 75 DEFINE_TYPE_CASTS(RemoteFrame, Frame, remoteFrame, remoteFrame->isRemoteFrame(), remoteFrame.isRemoteFrame());
76 76
77 } // namespace blink 77 } // namespace blink
78 78
79 #endif // RemoteFrame_h 79 #endif // RemoteFrame_h
OLDNEW
« no previous file with comments | « Source/core/frame/PlatformEventController.h ('k') | Source/core/frame/RemoteFrameClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698