| 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 "platform/heap/SelfKeepAlive.h" | 9 #include "platform/heap/SelfKeepAlive.h" |
| 10 #include "public/platform/WebInsecureRequestPolicy.h" | 10 #include "public/platform/WebInsecureRequestPolicy.h" |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 WebRect visibleContentRect() const override; | 49 WebRect visibleContentRect() const override; |
| 50 bool hasHorizontalScrollbar() const override; | 50 bool hasHorizontalScrollbar() const override; |
| 51 bool hasVerticalScrollbar() const override; | 51 bool hasVerticalScrollbar() const override; |
| 52 WebView* view() const override; | 52 WebView* view() const override; |
| 53 WebDocument document() const override; | 53 WebDocument document() const override; |
| 54 WebPerformance performance() const override; | 54 WebPerformance performance() const override; |
| 55 void dispatchUnloadEvent() override; | 55 void dispatchUnloadEvent() override; |
| 56 void executeScript(const WebScriptSource&) override; | 56 void executeScript(const WebScriptSource&) override; |
| 57 void executeScriptInIsolatedWorld(int worldID, | 57 void executeScriptInIsolatedWorld(int worldID, |
| 58 const WebScriptSource* sources, | 58 const WebScriptSource* sources, |
| 59 unsigned numSources, | 59 unsigned numSources) override; |
| 60 int extensionGroup) override; | |
| 61 void setIsolatedWorldSecurityOrigin(int worldID, | 60 void setIsolatedWorldSecurityOrigin(int worldID, |
| 62 const WebSecurityOrigin&) override; | 61 const WebSecurityOrigin&) override; |
| 63 void setIsolatedWorldContentSecurityPolicy(int worldID, | 62 void setIsolatedWorldContentSecurityPolicy(int worldID, |
| 64 const WebString&) override; | 63 const WebString&) override; |
| 65 void collectGarbage() override; | 64 void collectGarbage() override; |
| 66 v8::Local<v8::Value> executeScriptAndReturnValue( | 65 v8::Local<v8::Value> executeScriptAndReturnValue( |
| 67 const WebScriptSource&) override; | 66 const WebScriptSource&) override; |
| 68 void executeScriptInIsolatedWorld( | 67 void executeScriptInIsolatedWorld( |
| 69 int worldID, | 68 int worldID, |
| 70 const WebScriptSource* sourcesIn, | 69 const WebScriptSource* sourcesIn, |
| 71 unsigned numSources, | 70 unsigned numSources, |
| 72 int extensionGroup, | |
| 73 WebVector<v8::Local<v8::Value>>* results) override; | 71 WebVector<v8::Local<v8::Value>>* results) override; |
| 74 v8::Local<v8::Value> callFunctionEvenIfScriptDisabled( | 72 v8::Local<v8::Value> callFunctionEvenIfScriptDisabled( |
| 75 v8::Local<v8::Function>, | 73 v8::Local<v8::Function>, |
| 76 v8::Local<v8::Value>, | 74 v8::Local<v8::Value>, |
| 77 int argc, | 75 int argc, |
| 78 v8::Local<v8::Value> argv[]) override; | 76 v8::Local<v8::Value> argv[]) override; |
| 79 v8::Local<v8::Context> mainWorldScriptContext() const override; | 77 v8::Local<v8::Context> mainWorldScriptContext() const override; |
| 80 v8::Local<v8::Context> deprecatedMainWorldScriptContext() const override; | 78 v8::Local<v8::Context> deprecatedMainWorldScriptContext() const override; |
| 81 void reload(WebFrameLoadType) override; | 79 void reload(WebFrameLoadType) override; |
| 82 void reloadWithOverrideURL(const WebURL& overrideUrl, | 80 void reloadWithOverrideURL(const WebURL& overrideUrl, |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 189 | 187 |
| 190 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, | 188 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, |
| 191 WebFrame, | 189 WebFrame, |
| 192 frame, | 190 frame, |
| 193 frame->isWebRemoteFrame(), | 191 frame->isWebRemoteFrame(), |
| 194 frame.isWebRemoteFrame()); | 192 frame.isWebRemoteFrame()); |
| 195 | 193 |
| 196 } // namespace blink | 194 } // namespace blink |
| 197 | 195 |
| 198 #endif // WebRemoteFrameImpl_h | 196 #endif // WebRemoteFrameImpl_h |
| OLD | NEW |