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 16 matching lines...) Expand all Loading... |
27 public: | 27 public: |
28 static WebRemoteFrameImpl* Create(WebTreeScopeType, | 28 static WebRemoteFrameImpl* Create(WebTreeScopeType, |
29 WebRemoteFrameClient*, | 29 WebRemoteFrameClient*, |
30 WebFrame* opener = nullptr); | 30 WebFrame* opener = nullptr); |
31 ~WebRemoteFrameImpl() override; | 31 ~WebRemoteFrameImpl() override; |
32 | 32 |
33 // WebFrame methods: | 33 // WebFrame methods: |
34 void Close() override; | 34 void Close() override; |
35 WebString AssignedName() const override; | 35 WebString AssignedName() const override; |
36 void SetName(const WebString&) override; | 36 void SetName(const WebString&) override; |
37 WebVector<WebIconURL> IconURLs(int icon_types_mask) const override; | |
38 void SetSharedWorkerRepositoryClient( | 37 void SetSharedWorkerRepositoryClient( |
39 WebSharedWorkerRepositoryClient*) override; | 38 WebSharedWorkerRepositoryClient*) override; |
40 void SetCanHaveScrollbars(bool) override; | 39 void SetCanHaveScrollbars(bool) override; |
41 WebSize GetScrollOffset() const override; | 40 WebSize GetScrollOffset() const override; |
42 void SetScrollOffset(const WebSize&) override; | 41 void SetScrollOffset(const WebSize&) override; |
43 WebSize ContentsSize() const override; | 42 WebSize ContentsSize() const override; |
44 bool HasVisibleContent() const override; | 43 bool HasVisibleContent() const override; |
45 WebRect VisibleContentRect() const override; | 44 WebRect VisibleContentRect() const override; |
46 bool HasHorizontalScrollbar() const override; | 45 bool HasHorizontalScrollbar() const override; |
47 bool HasVerticalScrollbar() const override; | 46 bool HasVerticalScrollbar() const override; |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
176 | 175 |
177 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, | 176 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, |
178 WebFrame, | 177 WebFrame, |
179 frame, | 178 frame, |
180 frame->IsWebRemoteFrame(), | 179 frame->IsWebRemoteFrame(), |
181 frame.IsWebRemoteFrame()); | 180 frame.IsWebRemoteFrame()); |
182 | 181 |
183 } // namespace blink | 182 } // namespace blink |
184 | 183 |
185 #endif // WebRemoteFrameImpl_h | 184 #endif // WebRemoteFrameImpl_h |
OLD | NEW |