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 "public/web/WebRemoteFrame.h" | 9 #include "public/web/WebRemoteFrame.h" |
10 #include "public/web/WebRemoteFrameClient.h" | 10 #include "public/web/WebRemoteFrameClient.h" |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 WebPerformance performance() const override; | 47 WebPerformance performance() const override; |
48 bool dispatchBeforeUnloadEvent() override; | 48 bool dispatchBeforeUnloadEvent() override; |
49 void dispatchUnloadEvent() override; | 49 void dispatchUnloadEvent() override; |
50 void executeScript(const WebScriptSource&) override; | 50 void executeScript(const WebScriptSource&) override; |
51 void executeScriptInIsolatedWorld( | 51 void executeScriptInIsolatedWorld( |
52 int worldID, const WebScriptSource* sources, unsigned numSources, | 52 int worldID, const WebScriptSource* sources, unsigned numSources, |
53 int extensionGroup) override; | 53 int extensionGroup) override; |
54 void setIsolatedWorldSecurityOrigin(int worldID, const WebSecurityOrigin&) o
verride; | 54 void setIsolatedWorldSecurityOrigin(int worldID, const WebSecurityOrigin&) o
verride; |
55 void setIsolatedWorldContentSecurityPolicy(int worldID, const WebString&) ov
erride; | 55 void setIsolatedWorldContentSecurityPolicy(int worldID, const WebString&) ov
erride; |
56 void addMessageToConsole(const WebConsoleMessage&) override; | 56 void addMessageToConsole(const WebConsoleMessage&) override; |
| 57 void addSecurityMessageToConsole(const WebConsoleMessage&) override; |
57 void collectGarbage() override; | 58 void collectGarbage() override; |
58 v8::Local<v8::Value> executeScriptAndReturnValue( | 59 v8::Local<v8::Value> executeScriptAndReturnValue( |
59 const WebScriptSource&) override; | 60 const WebScriptSource&) override; |
60 void executeScriptInIsolatedWorld( | 61 void executeScriptInIsolatedWorld( |
61 int worldID, const WebScriptSource* sourcesIn, unsigned numSources, | 62 int worldID, const WebScriptSource* sourcesIn, unsigned numSources, |
62 int extensionGroup, WebVector<v8::Local<v8::Value>>* results) override; | 63 int extensionGroup, WebVector<v8::Local<v8::Value>>* results) override; |
63 v8::Local<v8::Value> callFunctionEvenIfScriptDisabled( | 64 v8::Local<v8::Value> callFunctionEvenIfScriptDisabled( |
64 v8::Local<v8::Function>, | 65 v8::Local<v8::Function>, |
65 v8::Local<v8::Value>, | 66 v8::Local<v8::Value>, |
66 int argc, | 67 int argc, |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
184 // Accomplish that by keeping a self-referential Persistent<>. It is | 185 // Accomplish that by keeping a self-referential Persistent<>. It is |
185 // cleared upon close(). | 186 // cleared upon close(). |
186 SelfKeepAlive<WebRemoteFrameImpl> m_selfKeepAlive; | 187 SelfKeepAlive<WebRemoteFrameImpl> m_selfKeepAlive; |
187 }; | 188 }; |
188 | 189 |
189 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, WebFrame, frame, frame->isWebRemoteFrame()
, frame.isWebRemoteFrame()); | 190 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, WebFrame, frame, frame->isWebRemoteFrame()
, frame.isWebRemoteFrame()); |
190 | 191 |
191 } // namespace blink | 192 } // namespace blink |
192 | 193 |
193 #endif // WebRemoteFrameImpl_h | 194 #endif // WebRemoteFrameImpl_h |
OLD | NEW |