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

Side by Side Diff: ash/aura/key_event_watcher_aura.h

Issue 2734733002: Revert "chromeos: Move files in //ash/common to //ash, part 3" (Closed)
Patch Set: Created 3 years, 9 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
« no previous file with comments | « ash/aura/aura_layout_manager_adapter.cc ('k') | ash/aura/pointer_watcher_adapter_unittest.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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_AURA_KEY_EVENT_WATCHER_AURA_H_ 5 #ifndef ASH_AURA_KEY_EVENT_WATCHER_AURA_H_
6 #define ASH_AURA_KEY_EVENT_WATCHER_AURA_H_ 6 #define ASH_AURA_KEY_EVENT_WATCHER_AURA_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "ash/ash_export.h" 10 #include "ash/ash_export.h"
11 #include "ash/key_event_watcher.h" 11 #include "ash/common/key_event_watcher.h"
12 #include "ui/events/event_handler.h" 12 #include "ui/events/event_handler.h"
13 13
14 namespace ui { 14 namespace ui {
15 class KeyEvent; 15 class KeyEvent;
16 } 16 }
17 17
18 namespace ash { 18 namespace ash {
19 19
20 // An EventHandler based KeyEventWatcher implementation. 20 // An EventHandler based KeyEventWatcher implementation.
21 class ASH_EXPORT KeyEventWatcherAura : public KeyEventWatcher, 21 class ASH_EXPORT KeyEventWatcherAura : public KeyEventWatcher,
22 public ui::EventHandler { 22 public ui::EventHandler {
23 public: 23 public:
24 KeyEventWatcherAura(); 24 KeyEventWatcherAura();
25 ~KeyEventWatcherAura() override; 25 ~KeyEventWatcherAura() override;
26 26
27 // ui::EventHandler: 27 // ui::EventHandler:
28 void OnKeyEvent(ui::KeyEvent* event) override; 28 void OnKeyEvent(ui::KeyEvent* event) override;
29 29
30 private: 30 private:
31 DISALLOW_COPY_AND_ASSIGN(KeyEventWatcherAura); 31 DISALLOW_COPY_AND_ASSIGN(KeyEventWatcherAura);
32 }; 32 };
33 33
34 } // namespace ash 34 } // namespace ash
35 35
36 #endif // ASH_AURA_KEY_EVENT_WATCHER_AURA_H_ 36 #endif // ASH_AURA_KEY_EVENT_WATCHER_AURA_H_
OLDNEW
« no previous file with comments | « ash/aura/aura_layout_manager_adapter.cc ('k') | ash/aura/pointer_watcher_adapter_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698