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/FrameOwner.h" | 8 #include "core/frame/FrameOwner.h" |
9 #include "core/frame/RemoteFrame.h" | 9 #include "core/frame/RemoteFrame.h" |
10 #include "public/web/WebRemoteFrame.h" | 10 #include "public/web/WebRemoteFrame.h" |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 void bindToWindowObject(const WebString& name, NPObject*) override; | 56 void bindToWindowObject(const WebString& name, NPObject*) override; |
57 void bindToWindowObject(const WebString& name, NPObject*, void*) override; | 57 void bindToWindowObject(const WebString& name, NPObject*, void*) override; |
58 void executeScript(const WebScriptSource&) override; | 58 void executeScript(const WebScriptSource&) override; |
59 void executeScriptInIsolatedWorld( | 59 void executeScriptInIsolatedWorld( |
60 int worldID, const WebScriptSource* sources, unsigned numSources, | 60 int worldID, const WebScriptSource* sources, unsigned numSources, |
61 int extensionGroup) override; | 61 int extensionGroup) override; |
62 void setIsolatedWorldSecurityOrigin(int worldID, const WebSecurityOrigin&) o
verride; | 62 void setIsolatedWorldSecurityOrigin(int worldID, const WebSecurityOrigin&) o
verride; |
63 void setIsolatedWorldContentSecurityPolicy(int worldID, const WebString&) ov
erride; | 63 void setIsolatedWorldContentSecurityPolicy(int worldID, const WebString&) ov
erride; |
64 void addMessageToConsole(const WebConsoleMessage&) override; | 64 void addMessageToConsole(const WebConsoleMessage&) override; |
65 void collectGarbage() override; | 65 void collectGarbage() override; |
66 bool checkIfRunInsecureContent(const WebURL&) const override; | |
67 v8::Local<v8::Value> executeScriptAndReturnValue( | 66 v8::Local<v8::Value> executeScriptAndReturnValue( |
68 const WebScriptSource&) override; | 67 const WebScriptSource&) override; |
69 void executeScriptInIsolatedWorld( | 68 void executeScriptInIsolatedWorld( |
70 int worldID, const WebScriptSource* sourcesIn, unsigned numSources, | 69 int worldID, const WebScriptSource* sourcesIn, unsigned numSources, |
71 int extensionGroup, WebVector<v8::Local<v8::Value>>* results) override; | 70 int extensionGroup, WebVector<v8::Local<v8::Value>>* results) override; |
72 v8::Local<v8::Value> callFunctionEvenIfScriptDisabled( | 71 v8::Local<v8::Value> callFunctionEvenIfScriptDisabled( |
73 v8::Local<v8::Function>, | 72 v8::Local<v8::Function>, |
74 v8::Local<v8::Value>, | 73 v8::Local<v8::Value>, |
75 int argc, | 74 int argc, |
76 v8::Local<v8::Value> argv[]) override; | 75 v8::Local<v8::Value> argv[]) override; |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
212 // cleared upon close(). | 211 // cleared upon close(). |
213 SelfKeepAlive<WebRemoteFrameImpl> m_selfKeepAlive; | 212 SelfKeepAlive<WebRemoteFrameImpl> m_selfKeepAlive; |
214 #endif | 213 #endif |
215 }; | 214 }; |
216 | 215 |
217 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, WebFrame, frame, frame->isWebRemoteFrame()
, frame.isWebRemoteFrame()); | 216 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, WebFrame, frame, frame->isWebRemoteFrame()
, frame.isWebRemoteFrame()); |
218 | 217 |
219 } // namespace blink | 218 } // namespace blink |
220 | 219 |
221 #endif // WebRemoteFrameImpl_h | 220 #endif // WebRemoteFrameImpl_h |
OLD | NEW |