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 "platform/heap/SelfKeepAlive.h" | 9 #include "platform/heap/SelfKeepAlive.h" |
10 #include "platform/wtf/Compiler.h" | 10 #include "platform/wtf/Compiler.h" |
(...skipping 29 matching lines...) Expand all Loading... |
40 void SetSharedWorkerRepositoryClient( | 40 void SetSharedWorkerRepositoryClient( |
41 WebSharedWorkerRepositoryClient*) override; | 41 WebSharedWorkerRepositoryClient*) override; |
42 void SetCanHaveScrollbars(bool) override; | 42 void SetCanHaveScrollbars(bool) override; |
43 WebSize GetScrollOffset() const override; | 43 WebSize GetScrollOffset() const override; |
44 void SetScrollOffset(const WebSize&) override; | 44 void SetScrollOffset(const WebSize&) override; |
45 WebSize ContentsSize() const override; | 45 WebSize ContentsSize() const override; |
46 bool HasVisibleContent() const override; | 46 bool HasVisibleContent() const override; |
47 WebRect VisibleContentRect() const override; | 47 WebRect VisibleContentRect() const override; |
48 bool HasHorizontalScrollbar() const override; | 48 bool HasHorizontalScrollbar() const override; |
49 bool HasVerticalScrollbar() const override; | 49 bool HasVerticalScrollbar() const override; |
| 50 void Collapse(bool) override; |
50 WebView* View() const override; | 51 WebView* View() const override; |
51 WebDocument GetDocument() const override; | 52 WebDocument GetDocument() const override; |
52 WebPerformance Performance() const override; | 53 WebPerformance Performance() const override; |
53 void DispatchUnloadEvent() override; | 54 void DispatchUnloadEvent() override; |
54 void ExecuteScript(const WebScriptSource&) override; | 55 void ExecuteScript(const WebScriptSource&) override; |
55 void ExecuteScriptInIsolatedWorld(int world_id, | 56 void ExecuteScriptInIsolatedWorld(int world_id, |
56 const WebScriptSource* sources, | 57 const WebScriptSource* sources, |
57 unsigned num_sources) override; | 58 unsigned num_sources) override; |
58 void SetIsolatedWorldSecurityOrigin(int world_id, | 59 void SetIsolatedWorldSecurityOrigin(int world_id, |
59 const WebSecurityOrigin&) override; | 60 const WebSecurityOrigin&) override; |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 | 180 |
180 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, | 181 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, |
181 WebFrame, | 182 WebFrame, |
182 frame, | 183 frame, |
183 frame->IsWebRemoteFrame(), | 184 frame->IsWebRemoteFrame(), |
184 frame.IsWebRemoteFrame()); | 185 frame.IsWebRemoteFrame()); |
185 | 186 |
186 } // namespace blink | 187 } // namespace blink |
187 | 188 |
188 #endif // WebRemoteFrameImpl_h | 189 #endif // WebRemoteFrameImpl_h |
OLD | NEW |