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 19 matching lines...) Expand all Loading... |
30 static WebRemoteFrameImpl* CreateMainFrame(WebView*, | 30 static WebRemoteFrameImpl* CreateMainFrame(WebView*, |
31 WebRemoteFrameClient*, | 31 WebRemoteFrameClient*, |
32 WebFrame* opener = nullptr); | 32 WebFrame* opener = nullptr); |
33 | 33 |
34 ~WebRemoteFrameImpl() override; | 34 ~WebRemoteFrameImpl() override; |
35 | 35 |
36 // WebFrame methods: | 36 // WebFrame methods: |
37 void Close() override; | 37 void Close() override; |
38 WebString AssignedName() const override; | 38 WebString AssignedName() const override; |
39 void SetName(const WebString&) override; | 39 void SetName(const WebString&) override; |
40 WebSize ContentsSize() const override; | |
41 bool HasVisibleContent() const override; | |
42 WebRect VisibleContentRect() const override; | 40 WebRect VisibleContentRect() const override; |
43 WebView* View() const override; | 41 WebView* View() 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; |
49 WebAssociatedURLLoader* CreateAssociatedURLLoader( | 47 WebAssociatedURLLoader* CreateAssociatedURLLoader( |
50 const WebAssociatedURLLoaderOptions&) override; | 48 const WebAssociatedURLLoaderOptions&) override; |
51 unsigned UnloadListenerCount() const override; | 49 unsigned UnloadListenerCount() const override; |
(...skipping 71 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 |