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

Side by Side Diff: ash/wm/event_client_impl.h

Issue 11087014: Revert 160696 - Decouple EventClientImpl and root window. Check containers on the same root window … (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 2 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ash/shell.cc ('k') | ash/wm/event_client_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ASH_WM_EVENT_CLIENT_IMPL_H_ 5 #ifndef ASH_WM_EVENT_CLIENT_IMPL_H_
6 #define ASH_WM_EVENT_CLIENT_IMPL_H_ 6 #define ASH_WM_EVENT_CLIENT_IMPL_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "ui/aura/client/event_client.h" 9 #include "ui/aura/client/event_client.h"
10 10
11 namespace aura { 11 namespace aura {
12 class RootWindow; 12 class RootWindow;
13 } 13 }
14 14
15 namespace ash { 15 namespace ash {
16 namespace internal { 16 namespace internal {
17 17
18 class EventClientImpl : public aura::client::EventClient { 18 class EventClientImpl : public aura::client::EventClient {
19 public: 19 public:
20 EventClientImpl(); 20 explicit EventClientImpl(aura::RootWindow* root_window);
21 virtual ~EventClientImpl(); 21 virtual ~EventClientImpl();
22 22
23 private: 23 private:
24 // Overridden from aura::client::EventClient: 24 // Overridden from aura::client::EventClient:
25 virtual bool CanProcessEventsWithinSubtree( 25 virtual bool CanProcessEventsWithinSubtree(
26 const aura::Window* window) const OVERRIDE; 26 const aura::Window* window) const OVERRIDE;
27 27
28 aura::RootWindow* root_window_;
29
28 DISALLOW_COPY_AND_ASSIGN(EventClientImpl); 30 DISALLOW_COPY_AND_ASSIGN(EventClientImpl);
29 }; 31 };
30 32
31 } // namespace internal 33 } // namespace internal
32 } // namespace ash 34 } // namespace ash
33 35
34 #endif // ASH_WM_EVENT_CLIENT_IMPL_H_ 36 #endif // ASH_WM_EVENT_CLIENT_IMPL_H_
OLDNEW
« no previous file with comments | « ash/shell.cc ('k') | ash/wm/event_client_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698