| 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/CoreExport.h" | 8 #include "core/CoreExport.h" |
| 9 #include "core/frame/RemoteFrame.h" | 9 #include "core/frame/RemoteFrame.h" |
| 10 #include "core/frame/WebRemoteFrameBase.h" | 10 #include "core/frame/WebRemoteFrameBase.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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 | 159 |
| 161 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, | 160 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, |
| 162 WebFrame, | 161 WebFrame, |
| 163 frame, | 162 frame, |
| 164 frame->IsWebRemoteFrame(), | 163 frame->IsWebRemoteFrame(), |
| 165 frame.IsWebRemoteFrame()); | 164 frame.IsWebRemoteFrame()); |
| 166 | 165 |
| 167 } // namespace blink | 166 } // namespace blink |
| 168 | 167 |
| 169 #endif // WebRemoteFrameImpl_h | 168 #endif // WebRemoteFrameImpl_h |
| OLD | NEW |