summaryrefslogtreecommitdiffstats
path: root/ash/wm/event_client_impl.h
diff options
context:
space:
mode:
authorfinnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-09 13:33:48 +0000
committerfinnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-09 13:33:48 +0000
commit100d6acd6dfb17728581bd0f88b0f65c881beab2 (patch)
treee571441c33879e57793d8e8daaecd3170fa57fbb /ash/wm/event_client_impl.h
parent899b34796c9766dcd7d3c03eb9152982a7cb64a4 (diff)
downloadchromium_src-100d6acd6dfb17728581bd0f88b0f65c881beab2.zip
chromium_src-100d6acd6dfb17728581bd0f88b0f65c881beab2.tar.gz
chromium_src-100d6acd6dfb17728581bd0f88b0f65c881beab2.tar.bz2
Revert 160804 - as it caused a ash unit test failure on Windows.
Reverting: 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 TBR=oshima@chromium.org Review URL: https://codereview.chromium.org/11093021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160832 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, 3 insertions, 1 deletions
diff --git a/ash/wm/event_client_impl.h b/ash/wm/event_client_impl.h
index 3702709..cf689ed 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:
- EventClientImpl();
+ explicit EventClientImpl(aura::RootWindow* root_window);
virtual ~EventClientImpl();
private:
@@ -25,6 +25,8 @@ class EventClientImpl : public aura::client::EventClient {
virtual bool CanProcessEventsWithinSubtree(
const aura::Window* window) const OVERRIDE;
+ aura::RootWindow* root_window_;
+
DISALLOW_COPY_AND_ASSIGN(EventClientImpl);
};