summaryrefslogtreecommitdiffstats
path: root/ash/wm/event_client_impl.h
diff options
context:
space:
mode:
authoroshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-08 20:41:53 +0000
committeroshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-08 20:41:53 +0000
commit42287229bf3253f25c6fc454074374747eb8f3ca (patch)
treed9bbae5a2b87d50fb0924f730be82d9021104677 /ash/wm/event_client_impl.h
parent428f54490f93b494c6221f7211717f3341c7df6b (diff)
downloadchromium_src-42287229bf3253f25c6fc454074374747eb8f3ca.zip
chromium_src-42287229bf3253f25c6fc454074374747eb8f3ca.tar.gz
chromium_src-42287229bf3253f25c6fc454074374747eb8f3ca.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. Review URL: https://chromiumcodereview.appspot.com/11047030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160696 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/wm/event_client_impl.h')
-rw-r--r--ash/wm/event_client_impl.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/ash/wm/event_client_impl.h b/ash/wm/event_client_impl.h
index cf689ed..3702709 100644
--- a/ash/wm/event_client_impl.h
+++ b/ash/wm/event_client_impl.h
@@ -17,7 +17,7 @@ namespace internal {
class EventClientImpl : public aura::client::EventClient {
public:
- explicit EventClientImpl(aura::RootWindow* root_window);
+ EventClientImpl();
virtual ~EventClientImpl();
private:
@@ -25,8 +25,6 @@ class EventClientImpl : public aura::client::EventClient {
virtual bool CanProcessEventsWithinSubtree(
const aura::Window* window) const OVERRIDE;
- aura::RootWindow* root_window_;
-
DISALLOW_COPY_AND_ASSIGN(EventClientImpl);
};