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

Unified Diff: ash/root_window_controller.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 check into loop. 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.h ('k') | ash/root_window_controller_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/root_window_controller.cc
diff --git a/ash/root_window_controller.cc b/ash/root_window_controller.cc
index 3b1fbce32464198103344831a8c90055172747f7..93fb912ab537dc206c6b4124e0372ab9a7b4e68c 100644
--- a/ash/root_window_controller.cc
+++ b/ash/root_window_controller.cc
@@ -652,6 +652,12 @@ void RootWindowController::DeactivateKeyboard(
}
}
+bool RootWindowController::IsVirtualKeyboardWindow(aura::Window* window) {
+ aura::Window* parent = GetContainer(
+ kShellWindowId_VirtualKeyboardParentContainer);
+ return parent ? parent->Contains(window) : false;
+}
+
////////////////////////////////////////////////////////////////////////////////
// RootWindowController, private:
« no previous file with comments | « ash/root_window_controller.h ('k') | ash/root_window_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698