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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 bool hasVisibleContent() const override; | 45 bool hasVisibleContent() const override; |
46 WebRect visibleContentRect() const override; | 46 WebRect visibleContentRect() const override; |
47 bool hasHorizontalScrollbar() const override; | 47 bool hasHorizontalScrollbar() const override; |
48 bool hasVerticalScrollbar() const override; | 48 bool hasVerticalScrollbar() const override; |
49 WebView* view() const override; | 49 WebView* view() const override; |
50 void removeChild(WebFrame*) override; | 50 void removeChild(WebFrame*) override; |
51 WebDocument document() const override; | 51 WebDocument document() const override; |
52 WebPerformance performance() const override; | 52 WebPerformance performance() const override; |
53 bool dispatchBeforeUnloadEvent() override; | 53 bool dispatchBeforeUnloadEvent() override; |
54 void dispatchUnloadEvent() override; | 54 void dispatchUnloadEvent() override; |
55 NPObject* windowObject() const override; | |
56 void bindToWindowObject(const WebString& name, NPObject*) override; | |
57 void bindToWindowObject(const WebString& name, NPObject*, void*) override; | |
58 void executeScript(const WebScriptSource&) override; | 55 void executeScript(const WebScriptSource&) override; |
59 void executeScriptInIsolatedWorld( | 56 void executeScriptInIsolatedWorld( |
60 int worldID, const WebScriptSource* sources, unsigned numSources, | 57 int worldID, const WebScriptSource* sources, unsigned numSources, |
61 int extensionGroup) override; | 58 int extensionGroup) override; |
62 void setIsolatedWorldSecurityOrigin(int worldID, const WebSecurityOrigin&) o
verride; | 59 void setIsolatedWorldSecurityOrigin(int worldID, const WebSecurityOrigin&) o
verride; |
63 void setIsolatedWorldContentSecurityPolicy(int worldID, const WebString&) ov
erride; | 60 void setIsolatedWorldContentSecurityPolicy(int worldID, const WebString&) ov
erride; |
64 void addMessageToConsole(const WebConsoleMessage&) override; | 61 void addMessageToConsole(const WebConsoleMessage&) override; |
65 void collectGarbage() override; | 62 void collectGarbage() override; |
66 bool checkIfRunInsecureContent(const WebURL&) const override; | 63 bool checkIfRunInsecureContent(const WebURL&) const override; |
67 v8::Local<v8::Value> executeScriptAndReturnValue( | 64 v8::Local<v8::Value> executeScriptAndReturnValue( |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
212 // cleared upon close(). | 209 // cleared upon close(). |
213 SelfKeepAlive<WebRemoteFrameImpl> m_selfKeepAlive; | 210 SelfKeepAlive<WebRemoteFrameImpl> m_selfKeepAlive; |
214 #endif | 211 #endif |
215 }; | 212 }; |
216 | 213 |
217 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, WebFrame, frame, frame->isWebRemoteFrame()
, frame.isWebRemoteFrame()); | 214 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, WebFrame, frame, frame->isWebRemoteFrame()
, frame.isWebRemoteFrame()); |
218 | 215 |
219 } // namespace blink | 216 } // namespace blink |
220 | 217 |
221 #endif // WebRemoteFrameImpl_h | 218 #endif // WebRemoteFrameImpl_h |
OLD | NEW |