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

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

Issue 2883033003: Propagate inert state to OOPIFs when a modal dialog is active (Closed)
Patch Set: Set Frame's inert bit on style calculation Created 3 years, 6 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 #include "web/RemoteFrameClientImpl.h" 5 #include "web/RemoteFrameClientImpl.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include "core/events/KeyboardEvent.h" 8 #include "core/events/KeyboardEvent.h"
9 #include "core/events/MouseEvent.h" 9 #include "core/events/MouseEvent.h"
10 #include "core/events/WebInputEventConversion.h" 10 #include "core/events/WebInputEventConversion.h"
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 void RemoteFrameClientImpl::AdvanceFocus(WebFocusType type, 152 void RemoteFrameClientImpl::AdvanceFocus(WebFocusType type,
153 LocalFrame* source) { 153 LocalFrame* source) {
154 web_frame_->Client()->AdvanceFocus(type, 154 web_frame_->Client()->AdvanceFocus(type,
155 WebLocalFrameBase::FromFrame(source)); 155 WebLocalFrameBase::FromFrame(source));
156 } 156 }
157 157
158 void RemoteFrameClientImpl::VisibilityChanged(bool visible) { 158 void RemoteFrameClientImpl::VisibilityChanged(bool visible) {
159 web_frame_->Client()->VisibilityChanged(visible); 159 web_frame_->Client()->VisibilityChanged(visible);
160 } 160 }
161 161
162 void RemoteFrameClientImpl::SetIsInert(bool inert) {
163 web_frame_->Client()->SetIsInert(inert);
164 }
165
162 } // namespace blink 166 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698