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

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

Issue 11314013: Register a separate default ui::EventTarget for Aura (Ash) to ensure that it does not interfere wit… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 1 month 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 EventClientImpl();
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 virtual ui::EventTarget* GetToplevelEventTarget() OVERRIDE;
27 28
28 DISALLOW_COPY_AND_ASSIGN(EventClientImpl); 29 DISALLOW_COPY_AND_ASSIGN(EventClientImpl);
29 }; 30 };
30 31
31 } // namespace internal 32 } // namespace internal
32 } // namespace ash 33 } // namespace ash
33 34
34 #endif // ASH_WM_EVENT_CLIENT_IMPL_H_ 35 #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