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

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

Issue 2630693002: Make ScriptController inherit LocalWindowProxyManager
Patch Set: rebase Created 3 years, 11 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 10 matching lines...) Expand all
21 struct FrameLoadRequest; 21 struct FrameLoadRequest;
22 22
23 class CORE_EXPORT RemoteFrame final : public Frame { 23 class CORE_EXPORT RemoteFrame final : public Frame {
24 public: 24 public:
25 static RemoteFrame* create(RemoteFrameClient*, FrameHost*, FrameOwner*); 25 static RemoteFrame* create(RemoteFrameClient*, FrameHost*, FrameOwner*);
26 26
27 ~RemoteFrame() override; 27 ~RemoteFrame() override;
28 28
29 // Frame overrides: 29 // Frame overrides:
30 DECLARE_VIRTUAL_TRACE(); 30 DECLARE_VIRTUAL_TRACE();
31 WindowProxy* windowProxy(DOMWrapperWorld&) override;
32 void navigate(Document& originDocument, 31 void navigate(Document& originDocument,
33 const KURL&, 32 const KURL&,
34 bool replaceCurrentItem, 33 bool replaceCurrentItem,
35 UserGestureStatus) override; 34 UserGestureStatus) override;
36 void navigate(const FrameLoadRequest& passedRequest) override; 35 void navigate(const FrameLoadRequest& passedRequest) override;
37 void reload(FrameLoadType, ClientRedirectPolicy) override; 36 void reload(FrameLoadType, ClientRedirectPolicy) override;
38 void detach(FrameDetachType) override; 37 void detach(FrameDetachType) override;
39 RemoteSecurityContext* securityContext() const override; 38 RemoteSecurityContext* securityContext() const override;
40 void printNavigationErrorMessage(const Frame&, const char* reason) override {} 39 void printNavigationErrorMessage(const Frame&, const char* reason) override {}
41 void printNavigationWarning(const String&) override {} 40 void printNavigationWarning(const String&) override {}
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 83
85 DEFINE_TYPE_CASTS(RemoteFrame, 84 DEFINE_TYPE_CASTS(RemoteFrame,
86 Frame, 85 Frame,
87 remoteFrame, 86 remoteFrame,
88 remoteFrame->isRemoteFrame(), 87 remoteFrame->isRemoteFrame(),
89 remoteFrame.isRemoteFrame()); 88 remoteFrame.isRemoteFrame());
90 89
91 } // namespace blink 90 } // namespace blink
92 91
93 #endif // RemoteFrame_h 92 #endif // RemoteFrame_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/LocalFrame.cpp ('k') | third_party/WebKit/Source/core/frame/RemoteFrame.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698