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

Side by Side Diff: third_party/WebKit/Source/web/RemoteFrameClientImpl.cpp

Issue 2445193005: Route setHasReceivedUserGesture() state for RemoteFrames (Closed)
Patch Set: Created 4 years, 1 month 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 #include "web/RemoteFrameClientImpl.h" 5 #include "web/RemoteFrameClientImpl.h"
6 6
7 #include "core/events/KeyboardEvent.h" 7 #include "core/events/KeyboardEvent.h"
8 #include "core/events/MouseEvent.h" 8 #include "core/events/MouseEvent.h"
9 #include "core/events/WheelEvent.h" 9 #include "core/events/WheelEvent.h"
10 #include "core/frame/RemoteFrame.h" 10 #include "core/frame/RemoteFrame.h"
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 void RemoteFrameClientImpl::advanceFocus(WebFocusType type, 185 void RemoteFrameClientImpl::advanceFocus(WebFocusType type,
186 LocalFrame* source) { 186 LocalFrame* source) {
187 m_webFrame->client()->advanceFocus(type, 187 m_webFrame->client()->advanceFocus(type,
188 WebLocalFrameImpl::fromFrame(source)); 188 WebLocalFrameImpl::fromFrame(source));
189 } 189 }
190 190
191 void RemoteFrameClientImpl::visibilityChanged(bool visible) { 191 void RemoteFrameClientImpl::visibilityChanged(bool visible) {
192 m_webFrame->client()->visibilityChanged(visible); 192 m_webFrame->client()->visibilityChanged(visible);
193 } 193 }
194 194
195 void RemoteFrameClientImpl::setHasReceivedUserGesture() {
196 m_webFrame->client()->setHasReceivedUserGesture();
197 }
198
195 } // namespace blink 199 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698