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 "core/frame/WebRemoteFrameBase.h" | 9 #include "core/frame/WebRemoteFrameBase.h" |
10 #include "platform/heap/SelfKeepAlive.h" | 10 #include "platform/heap/SelfKeepAlive.h" |
(...skipping 28 matching lines...) Expand all Loading... |
39 void SetScrollOffset(const WebSize&) override; | 39 void SetScrollOffset(const WebSize&) override; |
40 WebSize ContentsSize() const override; | 40 WebSize ContentsSize() const override; |
41 bool HasVisibleContent() const override; | 41 bool HasVisibleContent() const override; |
42 WebRect VisibleContentRect() const override; | 42 WebRect VisibleContentRect() const override; |
43 bool HasHorizontalScrollbar() const override; | 43 bool HasHorizontalScrollbar() const override; |
44 bool HasVerticalScrollbar() const override; | 44 bool HasVerticalScrollbar() const override; |
45 WebView* View() const override; | 45 WebView* View() const override; |
46 WebDocument GetDocument() const override; | 46 WebDocument GetDocument() const override; |
47 WebPerformance Performance() const override; | 47 WebPerformance Performance() const override; |
48 void DispatchUnloadEvent() override; | 48 void DispatchUnloadEvent() override; |
49 void ExecuteScript(const WebScriptSource&) override; | |
50 void ExecuteScriptInIsolatedWorld(int world_id, | 49 void ExecuteScriptInIsolatedWorld(int world_id, |
51 const WebScriptSource* sources, | 50 const WebScriptSource* sources, |
52 unsigned num_sources) override; | 51 unsigned num_sources) override; |
53 void SetIsolatedWorldSecurityOrigin(int world_id, | 52 void SetIsolatedWorldSecurityOrigin(int world_id, |
54 const WebSecurityOrigin&) override; | 53 const WebSecurityOrigin&) override; |
55 void SetIsolatedWorldContentSecurityPolicy(int world_id, | 54 void SetIsolatedWorldContentSecurityPolicy(int world_id, |
56 const WebString&) override; | 55 const WebString&) override; |
57 void CollectGarbage() override; | 56 void CollectGarbage() override; |
58 v8::Local<v8::Value> ExecuteScriptAndReturnValue( | 57 v8::Local<v8::Value> ExecuteScriptAndReturnValue( |
59 const WebScriptSource&) override; | 58 const WebScriptSource&) override; |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
173 | 172 |
174 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, | 173 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, |
175 WebFrame, | 174 WebFrame, |
176 frame, | 175 frame, |
177 frame->IsWebRemoteFrame(), | 176 frame->IsWebRemoteFrame(), |
178 frame.IsWebRemoteFrame()); | 177 frame.IsWebRemoteFrame()); |
179 | 178 |
180 } // namespace blink | 179 } // namespace blink |
181 | 180 |
182 #endif // WebRemoteFrameImpl_h | 181 #endif // WebRemoteFrameImpl_h |
OLD | NEW |