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 "public/platform/WebInsecureRequestPolicy.h" | 10 #include "public/platform/WebInsecureRequestPolicy.h" |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
156 void setReplicatedPotentiallyTrustworthyUniqueOrigin(bool) const override; | 156 void setReplicatedPotentiallyTrustworthyUniqueOrigin(bool) const override; |
157 void dispatchLoadEventOnFrameOwner() const override; | 157 void dispatchLoadEventOnFrameOwner() const override; |
158 | 158 |
159 void didStartLoading() override; | 159 void didStartLoading() override; |
160 void didStopLoading() override; | 160 void didStopLoading() override; |
161 | 161 |
162 bool isIgnoredForHitTest() const override; | 162 bool isIgnoredForHitTest() const override; |
163 | 163 |
164 void willEnterFullscreen() override; | 164 void willEnterFullscreen() override; |
165 | 165 |
| 166 void setHasReceivedUserGesture() override; |
| 167 |
166 DECLARE_TRACE(); | 168 DECLARE_TRACE(); |
167 | 169 |
168 private: | 170 private: |
169 WebRemoteFrameImpl(WebTreeScopeType, WebRemoteFrameClient*); | 171 WebRemoteFrameImpl(WebTreeScopeType, WebRemoteFrameClient*); |
170 | 172 |
171 // Inherited from WebFrame, but intentionally hidden: it never makes sense | 173 // Inherited from WebFrame, but intentionally hidden: it never makes sense |
172 // to call these on a WebRemoteFrameImpl. | 174 // to call these on a WebRemoteFrameImpl. |
173 bool isWebLocalFrame() const override; | 175 bool isWebLocalFrame() const override; |
174 WebLocalFrame* toWebLocalFrame() override; | 176 WebLocalFrame* toWebLocalFrame() override; |
175 bool isWebRemoteFrame() const override; | 177 bool isWebRemoteFrame() const override; |
(...skipping 11 matching lines...) Expand all Loading... |
187 | 189 |
188 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, | 190 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, |
189 WebFrame, | 191 WebFrame, |
190 frame, | 192 frame, |
191 frame->isWebRemoteFrame(), | 193 frame->isWebRemoteFrame(), |
192 frame.isWebRemoteFrame()); | 194 frame.isWebRemoteFrame()); |
193 | 195 |
194 } // namespace blink | 196 } // namespace blink |
195 | 197 |
196 #endif // WebRemoteFrameImpl_h | 198 #endif // WebRemoteFrameImpl_h |
OLD | NEW |