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

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

Issue 1156473002: Refactor FrameLoader loading interface (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 5 years, 6 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 | « Source/core/frame/Location.cpp ('k') | Source/core/frame/RemoteFrame.cpp » ('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"
(...skipping 14 matching lines...) Expand all
25 25
26 virtual ~RemoteFrame(); 26 virtual ~RemoteFrame();
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(ReloadPolicy, ClientRedirectPolicy) override; 35 void reload(FrameLoadType, ClientRedirectPolicy) override;
36 void detach() override; 36 void detach() override;
37 RemoteSecurityContext* securityContext() const override; 37 RemoteSecurityContext* securityContext() const override;
38 void printNavigationErrorMessage(const Frame&, const char* reason) override { } 38 void printNavigationErrorMessage(const Frame&, const char* reason) override { }
39 void disconnectOwnerElement() override; 39 void disconnectOwnerElement() override;
40 40
41 // FIXME: Remove this method once we have input routing in the browser 41 // FIXME: Remove this method once we have input routing in the browser
42 // process. See http://crbug.com/339659. 42 // process. See http://crbug.com/339659.
43 void forwardInputEvent(Event*); 43 void forwardInputEvent(Event*);
44 44
45 void setRemotePlatformLayer(WebLayer*); 45 void setRemotePlatformLayer(WebLayer*);
(...skipping 22 matching lines...) Expand all
68 inline RemoteFrameView* RemoteFrame::view() const 68 inline RemoteFrameView* RemoteFrame::view() const
69 { 69 {
70 return m_view.get(); 70 return m_view.get();
71 } 71 }
72 72
73 DEFINE_TYPE_CASTS(RemoteFrame, Frame, remoteFrame, remoteFrame->isRemoteFrame(), remoteFrame.isRemoteFrame()); 73 DEFINE_TYPE_CASTS(RemoteFrame, Frame, remoteFrame, remoteFrame->isRemoteFrame(), remoteFrame.isRemoteFrame());
74 74
75 } // namespace blink 75 } // namespace blink
76 76
77 #endif // RemoteFrame_h 77 #endif // RemoteFrame_h
OLDNEW
« no previous file with comments | « Source/core/frame/Location.cpp ('k') | Source/core/frame/RemoteFrame.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698