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

Side by Side Diff: ash/key_event_watcher.h

Issue 2734653002: chromeos: Move files in //ash/common to //ash (Closed)
Patch Set: fix a11y tests, fix docs 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/ime_control_delegate.h ('k') | ash/key_event_watcher.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_COMMON_KEY_EVENT_WATCHER_H_ 5 #ifndef ASH_KEY_EVENT_WATCHER_H_
6 #define ASH_COMMON_KEY_EVENT_WATCHER_H_ 6 #define ASH_KEY_EVENT_WATCHER_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 "base/callback.h" 11 #include "base/callback.h"
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "ui/base/accelerators/accelerator.h" 13 #include "ui/base/accelerators/accelerator.h"
14 14
15 namespace ui { 15 namespace ui {
16 class KeyEvent; 16 class KeyEvent;
(...skipping 22 matching lines...) Expand all
39 bool HandleKeyEvent(const ui::KeyEvent& event); 39 bool HandleKeyEvent(const ui::KeyEvent& event);
40 40
41 private: 41 private:
42 std::map<ui::Accelerator, KeyEventCallback> callback_map_; 42 std::map<ui::Accelerator, KeyEventCallback> callback_map_;
43 43
44 DISALLOW_COPY_AND_ASSIGN(KeyEventWatcher); 44 DISALLOW_COPY_AND_ASSIGN(KeyEventWatcher);
45 }; 45 };
46 46
47 } // namespace ash 47 } // namespace ash
48 48
49 #endif // ASH_COMMON_KEY_EVENT_WATCHER_H_ 49 #endif // ASH_KEY_EVENT_WATCHER_H_
OLDNEW
« no previous file with comments | « ash/ime_control_delegate.h ('k') | ash/key_event_watcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698