OLD | NEW |
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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 const WebScriptSource&) override; | 69 const WebScriptSource&) override; |
70 virtual void executeScriptInIsolatedWorld( | 70 virtual void executeScriptInIsolatedWorld( |
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 WebURLRequest RequestFromHistoryItem(const WebHistoryItem&, WebURLRe
quest::CachePolicy) |
| 80 const override; |
| 81 virtual WebURLRequest RequestForReload(const WebHistoryItem&, WebFrameLoadTy
pe, const WebURL&) |
| 82 const override; |
| 83 virtual WebHistoryItem CurrentItem() const override; |
79 virtual void reload(bool ignoreCache) override; | 84 virtual void reload(bool ignoreCache) override; |
80 virtual void reloadWithOverrideURL(const WebURL& overrideUrl, bool ignoreCac
he) override; | 85 virtual void reloadWithOverrideURL(const WebURL& overrideUrl, bool ignoreCac
he) override; |
81 virtual void loadRequest(const WebURLRequest&) override; | 86 virtual void loadRequest(const WebURLRequest&, WebFrameLoadType, const WebHi
storyItem&) override; |
82 virtual void loadHistoryItem(const WebHistoryItem&, WebHistoryLoadType, WebU
RLRequest::CachePolicy) override; | 87 virtual void loadHistoryItem(const WebHistoryItem&, WebHistoryLoadType, WebU
RLRequest::CachePolicy) override; |
83 virtual void loadData( | 88 virtual void loadData( |
84 const WebData&, const WebString& mimeType, const WebString& textEncoding
, | 89 const WebData&, const WebString& mimeType, const WebString& textEncoding
, |
85 const WebURL& baseURL, const WebURL& unreachableURL, bool replace) overr
ide; | 90 const WebURL& baseURL, const WebURL& unreachableURL, bool replace) overr
ide; |
86 virtual void loadHTMLString( | 91 virtual void loadHTMLString( |
87 const WebData& html, const WebURL& baseURL, const WebURL& unreachableURL
, | 92 const WebData& html, const WebURL& baseURL, const WebURL& unreachableURL
, |
88 bool replace) override; | 93 bool replace) override; |
89 virtual void stopLoading() override; | 94 virtual void stopLoading() override; |
90 virtual WebDataSource* provisionalDataSource() const override; | 95 virtual WebDataSource* provisionalDataSource() const override; |
91 virtual WebDataSource* dataSource() const override; | 96 virtual WebDataSource* dataSource() const override; |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
213 GC_PLUGIN_IGNORE("340522") | 218 GC_PLUGIN_IGNORE("340522") |
214 Persistent<WebRemoteFrameImpl> m_selfKeepAlive; | 219 Persistent<WebRemoteFrameImpl> m_selfKeepAlive; |
215 #endif | 220 #endif |
216 }; | 221 }; |
217 | 222 |
218 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, WebFrame, frame, frame->isWebRemoteFrame()
, frame.isWebRemoteFrame()); | 223 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, WebFrame, frame, frame->isWebRemoteFrame()
, frame.isWebRemoteFrame()); |
219 | 224 |
220 } // namespace blink | 225 } // namespace blink |
221 | 226 |
222 #endif // WebRemoteFrameImpl_h | 227 #endif // WebRemoteFrameImpl_h |
OLD | NEW |