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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 void ExecuteScriptInIsolatedWorld( | 58 void ExecuteScriptInIsolatedWorld( |
59 int world_id, | 59 int world_id, |
60 const WebScriptSource* sources_in, | 60 const WebScriptSource* sources_in, |
61 unsigned num_sources, | 61 unsigned num_sources, |
62 WebVector<v8::Local<v8::Value>>* results) override; | 62 WebVector<v8::Local<v8::Value>>* results) override; |
63 v8::Local<v8::Value> CallFunctionEvenIfScriptDisabled( | 63 v8::Local<v8::Value> CallFunctionEvenIfScriptDisabled( |
64 v8::Local<v8::Function>, | 64 v8::Local<v8::Function>, |
65 v8::Local<v8::Value>, | 65 v8::Local<v8::Value>, |
66 int argc, | 66 int argc, |
67 v8::Local<v8::Value> argv[]) override; | 67 v8::Local<v8::Value> argv[]) override; |
68 v8::Local<v8::Context> MainWorldScriptContext() const override; | |
69 void Reload(WebFrameLoadType) override; | 68 void Reload(WebFrameLoadType) override; |
70 void ReloadWithOverrideURL(const WebURL& override_url, | 69 void ReloadWithOverrideURL(const WebURL& override_url, |
71 WebFrameLoadType) override; | 70 WebFrameLoadType) override; |
72 void LoadRequest(const WebURLRequest&) override; | 71 void LoadRequest(const WebURLRequest&) override; |
73 void StopLoading() override; | 72 void StopLoading() override; |
74 void EnableViewSourceMode(bool enable) override; | 73 void EnableViewSourceMode(bool enable) override; |
75 bool IsViewSourceModeEnabled() const override; | 74 bool IsViewSourceModeEnabled() const override; |
76 void SetReferrerForRequest(WebURLRequest&, const WebURL& referrer) override; | 75 void SetReferrerForRequest(WebURLRequest&, const WebURL& referrer) override; |
77 WebAssociatedURLLoader* CreateAssociatedURLLoader( | 76 WebAssociatedURLLoader* CreateAssociatedURLLoader( |
78 const WebAssociatedURLLoaderOptions&) override; | 77 const WebAssociatedURLLoaderOptions&) override; |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
163 | 162 |
164 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, | 163 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, |
165 WebFrame, | 164 WebFrame, |
166 frame, | 165 frame, |
167 frame->IsWebRemoteFrame(), | 166 frame->IsWebRemoteFrame(), |
168 frame.IsWebRemoteFrame()); | 167 frame.IsWebRemoteFrame()); |
169 | 168 |
170 } // namespace blink | 169 } // namespace blink |
171 | 170 |
172 #endif // WebRemoteFrameImpl_h | 171 #endif // WebRemoteFrameImpl_h |
OLD | NEW |