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

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: Addressed Nate's comments 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
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 12 matching lines...) Expand all
23 static PassRefPtrWillBeRawPtr<RemoteFrame> create(RemoteFrameClient*, FrameH ost*, FrameOwner*); 23 static PassRefPtrWillBeRawPtr<RemoteFrame> create(RemoteFrameClient*, FrameH ost*, FrameOwner*);
24 24
25 virtual ~RemoteFrame(); 25 virtual ~RemoteFrame();
26 26
27 // Frame overrides: 27 // Frame overrides:
28 DECLARE_VIRTUAL_TRACE(); 28 DECLARE_VIRTUAL_TRACE();
29 bool isRemoteFrame() const override { return true; } 29 bool isRemoteFrame() const override { return true; }
30 DOMWindow* domWindow() const override; 30 DOMWindow* domWindow() const override;
31 WindowProxy* windowProxy(DOMWrapperWorld&) override; 31 WindowProxy* windowProxy(DOMWrapperWorld&) override;
32 void navigate(Document& originDocument, const KURL&, bool lockBackForwardLis t, UserGestureStatus) override; 32 void navigate(Document& originDocument, const KURL&, bool lockBackForwardLis t, UserGestureStatus) override;
33 void reload(ReloadPolicy, ClientRedirectPolicy) override; 33 void reload(FrameLoadType, ClientRedirectPolicy) override;
34 void detach() override; 34 void detach() override;
35 RemoteSecurityContext* securityContext() const override; 35 RemoteSecurityContext* securityContext() const override;
36 void printNavigationErrorMessage(const Frame&, const char* reason) override { } 36 void printNavigationErrorMessage(const Frame&, const char* reason) override { }
37 void disconnectOwnerElement() override; 37 void disconnectOwnerElement() override;
38 38
39 // FIXME: Remove this method once we have input routing in the browser 39 // FIXME: Remove this method once we have input routing in the browser
40 // process. See http://crbug.com/339659. 40 // process. See http://crbug.com/339659.
41 void forwardInputEvent(Event*); 41 void forwardInputEvent(Event*);
42 42
43 void setRemotePlatformLayer(WebLayer*); 43 void setRemotePlatformLayer(WebLayer*);
(...skipping 22 matching lines...) Expand all
66 inline RemoteFrameView* RemoteFrame::view() const 66 inline RemoteFrameView* RemoteFrame::view() const
67 { 67 {
68 return m_view.get(); 68 return m_view.get();
69 } 69 }
70 70
71 DEFINE_TYPE_CASTS(RemoteFrame, Frame, remoteFrame, remoteFrame->isRemoteFrame(), remoteFrame.isRemoteFrame()); 71 DEFINE_TYPE_CASTS(RemoteFrame, Frame, remoteFrame, remoteFrame->isRemoteFrame(), remoteFrame.isRemoteFrame());
72 72
73 } // namespace blink 73 } // namespace blink
74 74
75 #endif // RemoteFrame_h 75 #endif // RemoteFrame_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698