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/CoreExport.h" | 8 #include "core/CoreExport.h" |
9 #include "core/frame/RemoteFrame.h" | 9 #include "core/frame/RemoteFrame.h" |
10 #include "core/frame/WebRemoteFrameBase.h" | 10 #include "core/frame/WebRemoteFrameBase.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 WebSize GetScrollOffset() const override; | |
38 void SetScrollOffset(const WebSize&) override; | |
39 WebSize ContentsSize() const override; | 37 WebSize ContentsSize() const override; |
40 bool HasVisibleContent() const override; | 38 bool HasVisibleContent() const override; |
41 WebRect VisibleContentRect() const override; | 39 WebRect VisibleContentRect() const override; |
42 WebView* View() const override; | 40 WebView* View() const override; |
43 WebDocument GetDocument() const override; | 41 WebDocument GetDocument() const override; |
44 WebPerformance Performance() const override; | 42 WebPerformance Performance() const override; |
45 void StopLoading() override; | 43 void StopLoading() override; |
46 void EnableViewSourceMode(bool enable) override; | 44 void EnableViewSourceMode(bool enable) override; |
47 bool IsViewSourceModeEnabled() const override; | 45 bool IsViewSourceModeEnabled() const override; |
48 void SetReferrerForRequest(WebURLRequest&, const WebURL& referrer) override; | 46 void SetReferrerForRequest(WebURLRequest&, const WebURL& referrer) override; |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 | 121 |
124 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, | 122 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, |
125 WebFrame, | 123 WebFrame, |
126 frame, | 124 frame, |
127 frame->IsWebRemoteFrame(), | 125 frame->IsWebRemoteFrame(), |
128 frame.IsWebRemoteFrame()); | 126 frame.IsWebRemoteFrame()); |
129 | 127 |
130 } // namespace blink | 128 } // namespace blink |
131 | 129 |
132 #endif // WebRemoteFrameImpl_h | 130 #endif // WebRemoteFrameImpl_h |
OLD | NEW |