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

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: Rebase only Created 3 years, 7 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 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 void RemoteFrameClientImpl::AdvanceFocus(WebFocusType type, 148 void RemoteFrameClientImpl::AdvanceFocus(WebFocusType type,
149 LocalFrame* source) { 149 LocalFrame* source) {
150 web_frame_->Client()->AdvanceFocus(type, 150 web_frame_->Client()->AdvanceFocus(type,
151 WebLocalFrameBase::FromFrame(source)); 151 WebLocalFrameBase::FromFrame(source));
152 } 152 }
153 153
154 void RemoteFrameClientImpl::VisibilityChanged(bool visible) { 154 void RemoteFrameClientImpl::VisibilityChanged(bool visible) {
155 web_frame_->Client()->VisibilityChanged(visible); 155 web_frame_->Client()->VisibilityChanged(visible);
156 } 156 }
157 157
158 void RemoteFrameClientImpl::SetIsInert(bool inert) {
159 web_frame_->Client()->SetIsInert(inert);
160 }
161
158 } // namespace blink 162 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698