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 "core/frame/WebRemoteFrameBase.h" | 9 #include "core/frame/WebRemoteFrameBase.h" |
10 #include "platform/heap/SelfKeepAlive.h" | 10 #include "platform/heap/SelfKeepAlive.h" |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 v8::Local<v8::Value> CallFunctionEvenIfScriptDisabled( | 64 v8::Local<v8::Value> CallFunctionEvenIfScriptDisabled( |
65 v8::Local<v8::Function>, | 65 v8::Local<v8::Function>, |
66 v8::Local<v8::Value>, | 66 v8::Local<v8::Value>, |
67 int argc, | 67 int argc, |
68 v8::Local<v8::Value> argv[]) override; | 68 v8::Local<v8::Value> argv[]) override; |
69 v8::Local<v8::Context> MainWorldScriptContext() const override; | 69 v8::Local<v8::Context> MainWorldScriptContext() const override; |
70 void Reload(WebFrameLoadType) override; | 70 void Reload(WebFrameLoadType) override; |
71 void ReloadWithOverrideURL(const WebURL& override_url, | 71 void ReloadWithOverrideURL(const WebURL& override_url, |
72 WebFrameLoadType) override; | 72 WebFrameLoadType) override; |
73 void LoadRequest(const WebURLRequest&) override; | 73 void LoadRequest(const WebURLRequest&) override; |
74 void LoadHTMLString(const WebData& html, | |
75 const WebURL& base_url, | |
76 const WebURL& unreachable_url, | |
77 bool replace) override; | |
78 void StopLoading() override; | 74 void StopLoading() override; |
79 WebDataSource* ProvisionalDataSource() const override; | 75 WebDataSource* ProvisionalDataSource() const override; |
80 WebDataSource* DataSource() const override; | 76 WebDataSource* DataSource() const override; |
81 void EnableViewSourceMode(bool enable) override; | 77 void EnableViewSourceMode(bool enable) override; |
82 bool IsViewSourceModeEnabled() const override; | 78 bool IsViewSourceModeEnabled() const override; |
83 void SetReferrerForRequest(WebURLRequest&, const WebURL& referrer) override; | 79 void SetReferrerForRequest(WebURLRequest&, const WebURL& referrer) override; |
84 WebAssociatedURLLoader* CreateAssociatedURLLoader( | 80 WebAssociatedURLLoader* CreateAssociatedURLLoader( |
85 const WebAssociatedURLLoaderOptions&) override; | 81 const WebAssociatedURLLoaderOptions&) override; |
86 unsigned UnloadListenerCount() const override; | 82 unsigned UnloadListenerCount() const override; |
87 int PrintBegin(const WebPrintParams&, | 83 int PrintBegin(const WebPrintParams&, |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
172 | 168 |
173 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, | 169 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, |
174 WebFrame, | 170 WebFrame, |
175 frame, | 171 frame, |
176 frame->IsWebRemoteFrame(), | 172 frame->IsWebRemoteFrame(), |
177 frame.IsWebRemoteFrame()); | 173 frame.IsWebRemoteFrame()); |
178 | 174 |
179 } // namespace blink | 175 } // namespace blink |
180 | 176 |
181 #endif // WebRemoteFrameImpl_h | 177 #endif // WebRemoteFrameImpl_h |
OLD | NEW |