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 WebSize GetScrollOffset() const override; | 37 WebSize GetScrollOffset() const override; |
39 void SetScrollOffset(const WebSize&) override; | 38 void SetScrollOffset(const WebSize&) override; |
40 WebSize ContentsSize() const override; | 39 WebSize ContentsSize() const override; |
41 bool HasVisibleContent() const override; | 40 bool HasVisibleContent() const override; |
42 WebRect VisibleContentRect() const override; | 41 WebRect VisibleContentRect() const override; |
43 bool HasHorizontalScrollbar() const override; | 42 bool HasHorizontalScrollbar() const override; |
44 bool HasVerticalScrollbar() const override; | 43 bool HasVerticalScrollbar() const override; |
45 WebView* View() const override; | 44 WebView* View() const override; |
46 WebDocument GetDocument() const override; | 45 WebDocument GetDocument() const override; |
47 WebPerformance Performance() const override; | 46 WebPerformance Performance() const override; |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 | 163 |
165 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, | 164 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, |
166 WebFrame, | 165 WebFrame, |
167 frame, | 166 frame, |
168 frame->IsWebRemoteFrame(), | 167 frame->IsWebRemoteFrame(), |
169 frame.IsWebRemoteFrame()); | 168 frame.IsWebRemoteFrame()); |
170 | 169 |
171 } // namespace blink | 170 } // namespace blink |
172 | 171 |
173 #endif // WebRemoteFrameImpl_h | 172 #endif // WebRemoteFrameImpl_h |
OLD | NEW |