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

Side by Side Diff: ui/base/accelerators/accelerator_manager.h

Issue 10917075: events: Move some files into ui/base/events/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 3 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
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 UI_BASE_ACCELERATORS_ACCELERATOR_MANAGER_H_ 5 #ifndef UI_BASE_ACCELERATORS_ACCELERATOR_MANAGER_H_
6 #define UI_BASE_ACCELERATORS_ACCELERATOR_MANAGER_H_ 6 #define UI_BASE_ACCELERATORS_ACCELERATOR_MANAGER_H_
7 7
8 #include <list> 8 #include <list>
9 #include <map> 9 #include <map>
10 #include <utility> 10 #include <utility>
11 11
12 #include "base/basictypes.h" 12 #include "base/basictypes.h"
13 #include "ui/base/accelerators/accelerator.h" 13 #include "ui/base/accelerators/accelerator.h"
14 #include "ui/base/events.h" 14 #include "ui/base/events/event_constants.h"
15 #include "ui/base/ui_export.h" 15 #include "ui/base/ui_export.h"
16 16
17 namespace ui { 17 namespace ui {
18 18
19 // The AcceleratorManger is used to handle keyboard accelerators. 19 // The AcceleratorManger is used to handle keyboard accelerators.
20 class UI_EXPORT AcceleratorManager { 20 class UI_EXPORT AcceleratorManager {
21 public: 21 public:
22 enum HandlerPriority { 22 enum HandlerPriority {
23 kNormalPriority, 23 kNormalPriority,
24 kHighPriority, 24 kHighPriority,
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 84
85 // An event passed to Process() last time. 85 // An event passed to Process() last time.
86 EventType last_event_type_; 86 EventType last_event_type_;
87 87
88 DISALLOW_COPY_AND_ASSIGN(AcceleratorManager); 88 DISALLOW_COPY_AND_ASSIGN(AcceleratorManager);
89 }; 89 };
90 90
91 } // namespace ui 91 } // namespace ui
92 92
93 #endif // UI_BASE_ACCELERATORS_ACCELERATOR_MANAGER_H_ 93 #endif // UI_BASE_ACCELERATORS_ACCELERATOR_MANAGER_H_
OLDNEW
« no previous file with comments | « ui/base/accelerators/accelerator.h ('k') | ui/base/accelerators/accelerator_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698