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

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

Issue 1843663005: Change bool ignoreCache to WebFrameLoadType (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 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 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 "public/web/WebRemoteFrame.h" 9 #include "public/web/WebRemoteFrame.h"
10 #include "public/web/WebRemoteFrameClient.h" 10 #include "public/web/WebRemoteFrameClient.h"
11 #include "web/RemoteFrameClientImpl.h" 11 #include "web/RemoteFrameClientImpl.h"
12 #include "web/WebExport.h" 12 #include "web/WebExport.h"
13 #include "web/WebFrameImplBase.h" 13 #include "web/WebFrameImplBase.h"
14 #include "wtf/Compiler.h" 14 #include "wtf/Compiler.h"
15 #include "wtf/OwnPtr.h" 15 #include "wtf/OwnPtr.h"
16 16
17 namespace blink { 17 namespace blink {
18 18
19 class FrameHost; 19 class FrameHost;
20 class FrameOwner; 20 class FrameOwner;
21 class RemoteFrame; 21 class RemoteFrame;
22 enum class WebFrameLoadType;
22 23
23 class WEB_EXPORT WebRemoteFrameImpl final : public WebFrameImplBase, WTF_NON_EXP ORTED_BASE(public WebRemoteFrame) { 24 class WEB_EXPORT WebRemoteFrameImpl final : public WebFrameImplBase, WTF_NON_EXP ORTED_BASE(public WebRemoteFrame) {
24 public: 25 public:
25 static WebRemoteFrameImpl* create(WebTreeScopeType, WebRemoteFrameClient*, W ebFrame* opener); 26 static WebRemoteFrameImpl* create(WebTreeScopeType, WebRemoteFrameClient*, W ebFrame* opener);
26 ~WebRemoteFrameImpl() override; 27 ~WebRemoteFrameImpl() override;
27 28
28 // WebFrame methods: 29 // WebFrame methods:
29 void close() override; 30 void close() override;
30 WebString uniqueName() const override; 31 WebString uniqueName() const override;
31 WebString assignedName() const override; 32 WebString assignedName() const override;
(...skipping 27 matching lines...) Expand all
59 void executeScriptInIsolatedWorld( 60 void executeScriptInIsolatedWorld(
60 int worldID, const WebScriptSource* sourcesIn, unsigned numSources, 61 int worldID, const WebScriptSource* sourcesIn, unsigned numSources,
61 int extensionGroup, WebVector<v8::Local<v8::Value>>* results) override; 62 int extensionGroup, WebVector<v8::Local<v8::Value>>* results) override;
62 v8::Local<v8::Value> callFunctionEvenIfScriptDisabled( 63 v8::Local<v8::Value> callFunctionEvenIfScriptDisabled(
63 v8::Local<v8::Function>, 64 v8::Local<v8::Function>,
64 v8::Local<v8::Value>, 65 v8::Local<v8::Value>,
65 int argc, 66 int argc,
66 v8::Local<v8::Value> argv[]) override; 67 v8::Local<v8::Value> argv[]) override;
67 v8::Local<v8::Context> mainWorldScriptContext() const override; 68 v8::Local<v8::Context> mainWorldScriptContext() const override;
68 v8::Local<v8::Context> deprecatedMainWorldScriptContext() const override; 69 v8::Local<v8::Context> deprecatedMainWorldScriptContext() const override;
69 void reload(bool ignoreCache) override; 70 void reload(WebFrameLoadType) override;
70 void reloadWithOverrideURL(const WebURL& overrideUrl, bool ignoreCache) over ride; 71 void reloadWithOverrideURL(const WebURL& overrideUrl, WebFrameLoadType) over ride;
71 void loadRequest(const WebURLRequest&) override; 72 void loadRequest(const WebURLRequest&) override;
72 void loadHistoryItem(const WebHistoryItem&, WebHistoryLoadType, WebURLReques t::CachePolicy) override; 73 void loadHistoryItem(const WebHistoryItem&, WebHistoryLoadType, WebURLReques t::CachePolicy) override;
73 void loadHTMLString( 74 void loadHTMLString(
74 const WebData& html, const WebURL& baseURL, const WebURL& unreachableURL , 75 const WebData& html, const WebURL& baseURL, const WebURL& unreachableURL ,
75 bool replace) override; 76 bool replace) override;
76 void stopLoading() override; 77 void stopLoading() override;
77 WebDataSource* provisionalDataSource() const override; 78 WebDataSource* provisionalDataSource() const override;
78 WebDataSource* dataSource() const override; 79 WebDataSource* dataSource() const override;
79 void enableViewSourceMode(bool enable) override; 80 void enableViewSourceMode(bool enable) override;
80 bool isViewSourceModeEnabled() const override; 81 bool isViewSourceModeEnabled() const override;
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 // cleared upon close(). 189 // cleared upon close().
189 SelfKeepAlive<WebRemoteFrameImpl> m_selfKeepAlive; 190 SelfKeepAlive<WebRemoteFrameImpl> m_selfKeepAlive;
190 #endif 191 #endif
191 }; 192 };
192 193
193 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, WebFrame, frame, frame->isWebRemoteFrame() , frame.isWebRemoteFrame()); 194 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, WebFrame, frame, frame->isWebRemoteFrame() , frame.isWebRemoteFrame());
194 195
195 } // namespace blink 196 } // namespace blink
196 197
197 #endif // WebRemoteFrameImpl_h 198 #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