diff options
author | oshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-09 07:04:18 +0000 |
---|---|---|
committer | oshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-09 07:04:18 +0000 |
commit | bb0c80765c0d4285b2a80bf54d5ed2e6d2f1570a (patch) | |
tree | 7f8b1377720bcd62c20efca757edc0343b2e8b37 /ash/root_window_controller.cc | |
parent | 2ca5b5a1c132b34ee8ae90f708e5dee933a03180 (diff) | |
download | chromium_src-bb0c80765c0d4285b2a80bf54d5ed2e6d2f1570a.zip chromium_src-bb0c80765c0d4285b2a80bf54d5ed2e6d2f1570a.tar.gz chromium_src-bb0c80765c0d4285b2a80bf54d5ed2e6d2f1570a.tar.bz2 |
Decouple EventClientImpl and root window. Check containers on the same root window as focused window when testing if the focused window can receive events. This was causing lock screen to lose focus when mouse is clicked on another root window.
This Cl also adds a debug build/linux desktop only shortcut (F11) to lock/shutdown.
BUG=152982
TEST=covered by test.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=160696
Review URL: https://codereview.chromium.org/11047030
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160804 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/root_window_controller.cc')
-rw-r--r-- | ash/root_window_controller.cc | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/ash/root_window_controller.cc b/ash/root_window_controller.cc index 1f08095..b0a5b92bb 100644 --- a/ash/root_window_controller.cc +++ b/ash/root_window_controller.cc @@ -13,7 +13,6 @@ #include "ash/shell_factory.h" #include "ash/shell_window_ids.h" #include "ash/wm/base_layout_manager.h" -#include "ash/wm/event_client_impl.h" #include "ash/wm/property_util.h" #include "ash/wm/root_window_layout_manager.h" #include "ash/wm/screen_dimmer.h" @@ -144,8 +143,6 @@ namespace internal { RootWindowController::RootWindowController(aura::RootWindow* root_window) : root_window_(root_window) { SetRootWindowController(root_window, this); - - event_client_.reset(new EventClientImpl(root_window)); screen_dimmer_.reset(new ScreenDimmer(root_window)); } @@ -162,7 +159,6 @@ void RootWindowController::Shutdown() { NULL : Shell::GetPrimaryRootWindow()); } SetRootWindowController(root_window_.get(), NULL); - event_client_.reset(); screen_dimmer_.reset(); workspace_controller_.reset(); // Forget with the display ID so that display lookup |