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

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

Issue 1156473002: Refactor FrameLoader loading interface (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Addressed 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 WebRemoteFrameImpl_h 5 #ifndef WebRemoteFrameImpl_h
6 #define WebRemoteFrameImpl_h 6 #define WebRemoteFrameImpl_h
7 7
8 #include "core/frame/FrameOwner.h" 8 #include "core/frame/FrameOwner.h"
9 #include "platform/heap/Handle.h" 9 #include "platform/heap/Handle.h"
10 #include "public/web/WebRemoteFrame.h" 10 #include "public/web/WebRemoteFrame.h"
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 int worldID, const WebScriptSource* sourcesIn, unsigned numSources, 71 int worldID, const WebScriptSource* sourcesIn, unsigned numSources,
72 int extensionGroup, WebVector<v8::Local<v8::Value>>* results) override; 72 int extensionGroup, WebVector<v8::Local<v8::Value>>* results) override;
73 virtual v8::Local<v8::Value> callFunctionEvenIfScriptDisabled( 73 virtual v8::Local<v8::Value> callFunctionEvenIfScriptDisabled(
74 v8::Local<v8::Function>, 74 v8::Local<v8::Function>,
75 v8::Local<v8::Value>, 75 v8::Local<v8::Value>,
76 int argc, 76 int argc,
77 v8::Local<v8::Value> argv[]) override; 77 v8::Local<v8::Value> argv[]) override;
78 virtual v8::Local<v8::Context> mainWorldScriptContext() const override; 78 virtual v8::Local<v8::Context> mainWorldScriptContext() const override;
79 virtual void reload(bool ignoreCache) override; 79 virtual void reload(bool ignoreCache) override;
80 virtual void reloadWithOverrideURL(const WebURL& overrideUrl, bool ignoreCac he) override; 80 virtual void reloadWithOverrideURL(const WebURL& overrideUrl, bool ignoreCac he) override;
81 virtual void loadRequest(const WebURLRequest&) override; 81 virtual void loadRequest(const WebURLRequest&, WebFrameLoadType, const WebHi storyItem&,
82 WebHistoryLoadType) override;
82 virtual void loadHistoryItem(const WebHistoryItem&, WebHistoryLoadType, WebU RLRequest::CachePolicy) override; 83 virtual void loadHistoryItem(const WebHistoryItem&, WebHistoryLoadType, WebU RLRequest::CachePolicy) override;
83 virtual void loadData( 84 virtual void loadData(
84 const WebData&, const WebString& mimeType, const WebString& textEncoding , 85 const WebData&, const WebString& mimeType, const WebString& textEncoding ,
85 const WebURL& baseURL, const WebURL& unreachableURL, bool replace) overr ide; 86 const WebURL& baseURL, const WebURL& unreachableURL, bool replace) overr ide;
86 virtual void loadHTMLString( 87 virtual void loadHTMLString(
87 const WebData& html, const WebURL& baseURL, const WebURL& unreachableURL , 88 const WebData& html, const WebURL& baseURL, const WebURL& unreachableURL ,
88 bool replace) override; 89 bool replace) override;
89 virtual void stopLoading() override; 90 virtual void stopLoading() override;
90 virtual WebDataSource* provisionalDataSource() const override; 91 virtual WebDataSource* provisionalDataSource() const override;
91 virtual WebDataSource* dataSource() const override; 92 virtual WebDataSource* dataSource() const override;
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 GC_PLUGIN_IGNORE("340522") 214 GC_PLUGIN_IGNORE("340522")
214 Persistent<WebRemoteFrameImpl> m_selfKeepAlive; 215 Persistent<WebRemoteFrameImpl> m_selfKeepAlive;
215 #endif 216 #endif
216 }; 217 };
217 218
218 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, WebFrame, frame, frame->isWebRemoteFrame() , frame.isWebRemoteFrame()); 219 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, WebFrame, frame, frame->isWebRemoteFrame() , frame.isWebRemoteFrame());
219 220
220 } // namespace blink 221 } // namespace blink
221 222
222 #endif // WebRemoteFrameImpl_h 223 #endif // WebRemoteFrameImpl_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698