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 28 matching lines...) Expand all Loading... |
39 WebSize contentsSize() const override; | 39 WebSize contentsSize() const override; |
40 bool hasVisibleContent() const override; | 40 bool hasVisibleContent() const override; |
41 WebRect visibleContentRect() const override; | 41 WebRect visibleContentRect() const override; |
42 bool hasHorizontalScrollbar() const override; | 42 bool hasHorizontalScrollbar() const override; |
43 bool hasVerticalScrollbar() const override; | 43 bool hasVerticalScrollbar() const override; |
44 WebView* view() const override; | 44 WebView* view() const override; |
45 WebDocument document() const override; | 45 WebDocument document() const override; |
46 WebPerformance performance() const override; | 46 WebPerformance performance() const override; |
47 bool dispatchBeforeUnloadEvent() override; | 47 bool dispatchBeforeUnloadEvent() override; |
48 void dispatchUnloadEvent() override; | 48 void dispatchUnloadEvent() override; |
49 NPObject* windowObject() const override; | |
50 void bindToWindowObject(const WebString& name, NPObject*) override; | |
51 void bindToWindowObject(const WebString& name, NPObject*, void*) override; | |
52 void executeScript(const WebScriptSource&) override; | 49 void executeScript(const WebScriptSource&) override; |
53 void executeScriptInIsolatedWorld( | 50 void executeScriptInIsolatedWorld( |
54 int worldID, const WebScriptSource* sources, unsigned numSources, | 51 int worldID, const WebScriptSource* sources, unsigned numSources, |
55 int extensionGroup) override; | 52 int extensionGroup) override; |
56 void setIsolatedWorldSecurityOrigin(int worldID, const WebSecurityOrigin&) o
verride; | 53 void setIsolatedWorldSecurityOrigin(int worldID, const WebSecurityOrigin&) o
verride; |
57 void setIsolatedWorldContentSecurityPolicy(int worldID, const WebString&) ov
erride; | 54 void setIsolatedWorldContentSecurityPolicy(int worldID, const WebString&) ov
erride; |
58 void addMessageToConsole(const WebConsoleMessage&) override; | 55 void addMessageToConsole(const WebConsoleMessage&) override; |
59 void collectGarbage() override; | 56 void collectGarbage() override; |
60 v8::Local<v8::Value> executeScriptAndReturnValue( | 57 v8::Local<v8::Value> executeScriptAndReturnValue( |
61 const WebScriptSource&) override; | 58 const WebScriptSource&) override; |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
191 // cleared upon close(). | 188 // cleared upon close(). |
192 SelfKeepAlive<WebRemoteFrameImpl> m_selfKeepAlive; | 189 SelfKeepAlive<WebRemoteFrameImpl> m_selfKeepAlive; |
193 #endif | 190 #endif |
194 }; | 191 }; |
195 | 192 |
196 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, WebFrame, frame, frame->isWebRemoteFrame()
, frame.isWebRemoteFrame()); | 193 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, WebFrame, frame, frame->isWebRemoteFrame()
, frame.isWebRemoteFrame()); |
197 | 194 |
198 } // namespace blink | 195 } // namespace blink |
199 | 196 |
200 #endif // WebRemoteFrameImpl_h | 197 #endif // WebRemoteFrameImpl_h |
OLD | NEW |