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/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" |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 v8::Local<v8::Value> callFunctionEvenIfScriptDisabled( | 62 v8::Local<v8::Value> callFunctionEvenIfScriptDisabled( |
63 v8::Local<v8::Function>, | 63 v8::Local<v8::Function>, |
64 v8::Local<v8::Value>, | 64 v8::Local<v8::Value>, |
65 int argc, | 65 int argc, |
66 v8::Local<v8::Value> argv[]) override; | 66 v8::Local<v8::Value> argv[]) override; |
67 v8::Local<v8::Context> mainWorldScriptContext() const override; | 67 v8::Local<v8::Context> mainWorldScriptContext() const override; |
68 v8::Local<v8::Context> deprecatedMainWorldScriptContext() const override; | 68 v8::Local<v8::Context> deprecatedMainWorldScriptContext() const override; |
69 void reload(bool ignoreCache) override; | 69 void reload(bool ignoreCache) override; |
70 void reloadWithOverrideURL(const WebURL& overrideUrl, bool ignoreCache) over
ride; | 70 void reloadWithOverrideURL(const WebURL& overrideUrl, bool ignoreCache) over
ride; |
71 void loadRequest(const WebURLRequest&) override; | 71 void loadRequest(const WebURLRequest&) override; |
72 void loadHistoryItem(const WebHistoryItem&, WebHistoryLoadType, WebURLReques
t::CachePolicy) override; | 72 void loadHistoryItem(const WebHistoryItem&, WebHistoryLoadType, WebCachePoli
cy) override; |
73 void loadHTMLString( | 73 void loadHTMLString( |
74 const WebData& html, const WebURL& baseURL, const WebURL& unreachableURL
, | 74 const WebData& html, const WebURL& baseURL, const WebURL& unreachableURL
, |
75 bool replace) override; | 75 bool replace) override; |
76 void stopLoading() override; | 76 void stopLoading() override; |
77 WebDataSource* provisionalDataSource() const override; | 77 WebDataSource* provisionalDataSource() const override; |
78 WebDataSource* dataSource() const override; | 78 WebDataSource* dataSource() const override; |
79 void enableViewSourceMode(bool enable) override; | 79 void enableViewSourceMode(bool enable) override; |
80 bool isViewSourceModeEnabled() const override; | 80 bool isViewSourceModeEnabled() const override; |
81 void setReferrerForRequest(WebURLRequest&, const WebURL& referrer) override; | 81 void setReferrerForRequest(WebURLRequest&, const WebURL& referrer) override; |
82 void dispatchWillSendRequest(WebURLRequest&) override; | 82 void dispatchWillSendRequest(WebURLRequest&) override; |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
188 // cleared upon close(). | 188 // cleared upon close(). |
189 SelfKeepAlive<WebRemoteFrameImpl> m_selfKeepAlive; | 189 SelfKeepAlive<WebRemoteFrameImpl> m_selfKeepAlive; |
190 #endif | 190 #endif |
191 }; | 191 }; |
192 | 192 |
193 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, WebFrame, frame, frame->isWebRemoteFrame()
, frame.isWebRemoteFrame()); | 193 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, WebFrame, frame, frame->isWebRemoteFrame()
, frame.isWebRemoteFrame()); |
194 | 194 |
195 } // namespace blink | 195 } // namespace blink |
196 | 196 |
197 #endif // WebRemoteFrameImpl_h | 197 #endif // WebRemoteFrameImpl_h |
OLD | NEW |