Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(59)

Side by Side Diff: third_party/WebKit/Source/web/WebRemoteFrameImpl.h

Issue 2625773002: Reenable framebusting (Closed)
Patch Set: Fix unit tests Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 void setReplicatedPotentiallyTrustworthyUniqueOrigin(bool) const override; 158 void setReplicatedPotentiallyTrustworthyUniqueOrigin(bool) const override;
159 void dispatchLoadEventOnFrameOwner() const override; 159 void dispatchLoadEventOnFrameOwner() const override;
160 160
161 void didStartLoading() override; 161 void didStartLoading() override;
162 void didStopLoading() override; 162 void didStopLoading() override;
163 163
164 bool isIgnoredForHitTest() const override; 164 bool isIgnoredForHitTest() const override;
165 165
166 void willEnterFullscreen() override; 166 void willEnterFullscreen() override;
167 167
168 void setHasReceivedUserGesture() override;
169
168 DECLARE_TRACE(); 170 DECLARE_TRACE();
169 171
170 private: 172 private:
171 WebRemoteFrameImpl(WebTreeScopeType, WebRemoteFrameClient*); 173 WebRemoteFrameImpl(WebTreeScopeType, WebRemoteFrameClient*);
172 174
173 // Inherited from WebFrame, but intentionally hidden: it never makes sense 175 // Inherited from WebFrame, but intentionally hidden: it never makes sense
174 // to call these on a WebRemoteFrameImpl. 176 // to call these on a WebRemoteFrameImpl.
175 bool isWebLocalFrame() const override; 177 bool isWebLocalFrame() const override;
176 WebLocalFrame* toWebLocalFrame() override; 178 WebLocalFrame* toWebLocalFrame() override;
177 bool isWebRemoteFrame() const override; 179 bool isWebRemoteFrame() const override;
(...skipping 11 matching lines...) Expand all
189 191
190 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, 192 DEFINE_TYPE_CASTS(WebRemoteFrameImpl,
191 WebFrame, 193 WebFrame,
192 frame, 194 frame,
193 frame->isWebRemoteFrame(), 195 frame->isWebRemoteFrame(),
194 frame.isWebRemoteFrame()); 196 frame.isWebRemoteFrame());
195 197
196 } // namespace blink 198 } // namespace blink
197 199
198 #endif // WebRemoteFrameImpl_h 200 #endif // WebRemoteFrameImpl_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698