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

Unified Diff: ash/shell.cc

Issue 216743004: Prevent system modal dialog from blocking events to the virtual keyboard. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move VK window test to root window controller. Created 6 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/root_window_controller_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell.cc
diff --git a/ash/shell.cc b/ash/shell.cc
index 4c12d322a5359dd7e30e1f257cfeeea142a2d0c2..8a33c470e6841f89d6ad7aa8a129dfa06b03b2a9 100644
--- a/ash/shell.cc
+++ b/ash/shell.cc
@@ -1086,6 +1086,12 @@ bool Shell::CanWindowReceiveEvents(aura::Window* window) {
if (layout_manager && layout_manager->CanWindowReceiveEvents(window))
return true;
}
+
+ // Allow events to fall through to the virtual keyboard even if displaying
+ // a system modal dialog.
+ if (GetPrimaryRootWindowController()->IsVirtualKeyboardWindow(window))
oshima 2014/03/28 21:49:56 can you move this to the loop above? I think it's
kevers 2014/03/31 17:21:17 Done.
+ return true;
+
return false;
}
« no previous file with comments | « ash/root_window_controller_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698