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

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

Issue 1414663011: Notifying the Out of Process Renderer about Visibility Change of a Remote Frame (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased & Added Blink Unit Tests Created 5 years 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 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 void RemoteFrameClientImpl::frameRectsChanged(const IntRect& frameRect) 191 void RemoteFrameClientImpl::frameRectsChanged(const IntRect& frameRect)
192 { 192 {
193 m_webFrame->client()->frameRectsChanged(frameRect); 193 m_webFrame->client()->frameRectsChanged(frameRect);
194 } 194 }
195 195
196 void RemoteFrameClientImpl::advanceFocus(WebFocusType type, LocalFrame* source) 196 void RemoteFrameClientImpl::advanceFocus(WebFocusType type, LocalFrame* source)
197 { 197 {
198 m_webFrame->client()->advanceFocus(type, WebLocalFrameImpl::fromFrame(source )); 198 m_webFrame->client()->advanceFocus(type, WebLocalFrameImpl::fromFrame(source ));
199 } 199 }
200 200
201 void RemoteFrameClientImpl::visibilityChanged(bool visible)
202 {
203 m_webFrame->client()->visibilityChanged(visible);
204 }
dcheng 2016/01/06 18:43:58 Nit: newline
EhsanK 2016/01/08 22:05:37 Done.
201 } // namespace blink 205 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698