diff options
author | kevers@chromium.org <kevers@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-31 17:07:31 +0000 |
---|---|---|
committer | kevers@chromium.org <kevers@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-31 17:07:31 +0000 |
commit | 602022b901f4a48753388b7aa339fe43ef5bff1f (patch) | |
tree | 656ca5b5a6cc218951639b8b944783ae71790c54 /ash/root_window_controller.cc | |
parent | f3a948d90a64067a81e5e640a7e2e8ae08f2731f (diff) | |
download | chromium_src-602022b901f4a48753388b7aa339fe43ef5bff1f.zip chromium_src-602022b901f4a48753388b7aa339fe43ef5bff1f.tar.gz chromium_src-602022b901f4a48753388b7aa339fe43ef5bff1f.tar.bz2 |
Prevent system modal dialog from blocking events to the virtual keyboard.
BUG=https://code.google.com/p/chrome-os-partner/issues/detail?id=27142
Review URL: https://codereview.chromium.org/216743004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@260576 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/root_window_controller.cc')
-rw-r--r-- | ash/root_window_controller.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ash/root_window_controller.cc b/ash/root_window_controller.cc index 429c9c5..caa1228 100644 --- a/ash/root_window_controller.cc +++ b/ash/root_window_controller.cc @@ -650,6 +650,12 @@ void RootWindowController::DeactivateKeyboard( } } +bool RootWindowController::IsVirtualKeyboardWindow(aura::Window* window) { + aura::Window* parent = GetContainer( + kShellWindowId_VirtualKeyboardParentContainer); + return parent ? parent->Contains(window) : false; +} + //////////////////////////////////////////////////////////////////////////////// // RootWindowController, private: |