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

Side by Side Diff: third_party/WebKit/Source/web/WebRemoteFrameImpl.h

Issue 2399463007: AssociatedURLLoader shouldn't derive from WebURLLoader (Closed)
Patch Set: Rebase Created 4 years, 1 month 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 WebRemoteFrameImpl_h 5 #ifndef WebRemoteFrameImpl_h
6 #define WebRemoteFrameImpl_h 6 #define WebRemoteFrameImpl_h
7 7
8 #include "core/frame/RemoteFrame.h" 8 #include "core/frame/RemoteFrame.h"
9 #include "platform/heap/SelfKeepAlive.h" 9 #include "platform/heap/SelfKeepAlive.h"
10 #include "public/platform/WebInsecureRequestPolicy.h" 10 #include "public/platform/WebInsecureRequestPolicy.h"
11 #include "public/web/WebRemoteFrame.h" 11 #include "public/web/WebRemoteFrame.h"
12 #include "public/web/WebRemoteFrameClient.h" 12 #include "public/web/WebRemoteFrameClient.h"
13 #include "web/RemoteFrameClientImpl.h" 13 #include "web/RemoteFrameClientImpl.h"
14 #include "web/WebExport.h" 14 #include "web/WebExport.h"
15 #include "web/WebFrameImplBase.h" 15 #include "web/WebFrameImplBase.h"
16 #include "wtf/Compiler.h" 16 #include "wtf/Compiler.h"
17 17
18 namespace blink { 18 namespace blink {
19 19
20 class FrameHost; 20 class FrameHost;
21 class FrameOwner; 21 class FrameOwner;
22 class RemoteFrame; 22 class RemoteFrame;
23 enum class WebFrameLoadType; 23 enum class WebFrameLoadType;
24 class WebAssociatedURLLoader;
25 struct WebAssociatedURLLoaderOptions;
24 26
25 class WEB_EXPORT WebRemoteFrameImpl final 27 class WEB_EXPORT WebRemoteFrameImpl final
26 : public WebFrameImplBase, 28 : public WebFrameImplBase,
27 WTF_NON_EXPORTED_BASE(public WebRemoteFrame) { 29 WTF_NON_EXPORTED_BASE(public WebRemoteFrame) {
28 public: 30 public:
29 static WebRemoteFrameImpl* create(WebTreeScopeType, 31 static WebRemoteFrameImpl* create(WebTreeScopeType,
30 WebRemoteFrameClient*, 32 WebRemoteFrameClient*,
31 WebFrame* opener = nullptr); 33 WebFrame* opener = nullptr);
32 ~WebRemoteFrameImpl() override; 34 ~WebRemoteFrameImpl() override;
33 35
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 const WebURL& baseURL, 88 const WebURL& baseURL,
87 const WebURL& unreachableURL, 89 const WebURL& unreachableURL,
88 bool replace) override; 90 bool replace) override;
89 void stopLoading() override; 91 void stopLoading() override;
90 WebDataSource* provisionalDataSource() const override; 92 WebDataSource* provisionalDataSource() const override;
91 WebDataSource* dataSource() const override; 93 WebDataSource* dataSource() const override;
92 void enableViewSourceMode(bool enable) override; 94 void enableViewSourceMode(bool enable) override;
93 bool isViewSourceModeEnabled() const override; 95 bool isViewSourceModeEnabled() const override;
94 void setReferrerForRequest(WebURLRequest&, const WebURL& referrer) override; 96 void setReferrerForRequest(WebURLRequest&, const WebURL& referrer) override;
95 void dispatchWillSendRequest(WebURLRequest&) override; 97 void dispatchWillSendRequest(WebURLRequest&) override;
96 WebURLLoader* createAssociatedURLLoader(const WebURLLoaderOptions&) override; 98 WebAssociatedURLLoader* createAssociatedURLLoader(
99 const WebAssociatedURLLoaderOptions&) override;
97 unsigned unloadListenerCount() const override; 100 unsigned unloadListenerCount() const override;
98 int printBegin(const WebPrintParams&, 101 int printBegin(const WebPrintParams&,
99 const WebNode& constrainToNode) override; 102 const WebNode& constrainToNode) override;
100 float printPage(int pageToPrint, WebCanvas*) override; 103 float printPage(int pageToPrint, WebCanvas*) override;
101 float getPrintPageShrink(int page) override; 104 float getPrintPageShrink(int page) override;
102 void printEnd() override; 105 void printEnd() override;
103 bool isPrintScalingDisabledForPlugin(const WebNode&) override; 106 bool isPrintScalingDisabledForPlugin(const WebNode&) override;
104 void printPagesWithBoundaries(WebCanvas*, const WebSize&) override; 107 void printPagesWithBoundaries(WebCanvas*, const WebSize&) override;
105 void dispatchMessageEventWithOriginCheck( 108 void dispatchMessageEventWithOriginCheck(
106 const WebSecurityOrigin& intendedTargetOrigin, 109 const WebSecurityOrigin& intendedTargetOrigin,
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 190
188 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, 191 DEFINE_TYPE_CASTS(WebRemoteFrameImpl,
189 WebFrame, 192 WebFrame,
190 frame, 193 frame,
191 frame->isWebRemoteFrame(), 194 frame->isWebRemoteFrame(),
192 frame.isWebRemoteFrame()); 195 frame.isWebRemoteFrame());
193 196
194 } // namespace blink 197 } // namespace blink
195 198
196 #endif // WebRemoteFrameImpl_h 199 #endif // WebRemoteFrameImpl_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebLocalFrameImpl.cpp ('k') | third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698