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

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

Issue 8695005: Move accelerator related files to ui/base/accelerators (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years 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 | « ui/base/accelerators/accelerator_gtk.h ('k') | ui/base/accelerators/accelerator_manager.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_ACCELERATOR_MANAGER_H_ 5 #ifndef UI_BASE_ACCELERATORS_ACCELERATOR_MANAGER_H_
6 #define UI_BASE_ACCELERATOR_MANAGER_H_ 6 #define UI_BASE_ACCELERATORS_ACCELERATOR_MANAGER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <list> 9 #include <list>
10 #include <map> 10 #include <map>
11 11
12 #include "base/basictypes.h" 12 #include "base/basictypes.h"
13 #include "ui/base/models/accelerator.h" 13 #include "ui/base/accelerators/accelerator.h"
14 #include "ui/base/ui_export.h" 14 #include "ui/base/ui_export.h"
15 15
16 namespace ui { 16 namespace ui {
17 17
18 // The AcceleratorManger is used to handle keyboard accelerators. 18 // The AcceleratorManger is used to handle keyboard accelerators.
19 class UI_EXPORT AcceleratorManager { 19 class UI_EXPORT AcceleratorManager {
20 public: 20 public:
21 AcceleratorManager(); 21 AcceleratorManager();
22 ~AcceleratorManager(); 22 ~AcceleratorManager();
23 23
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 // The accelerators and associated targets. 55 // The accelerators and associated targets.
56 typedef std::list<AcceleratorTarget*> AcceleratorTargetList; 56 typedef std::list<AcceleratorTarget*> AcceleratorTargetList;
57 typedef std::map<Accelerator, AcceleratorTargetList> AcceleratorMap; 57 typedef std::map<Accelerator, AcceleratorTargetList> AcceleratorMap;
58 AcceleratorMap accelerators_; 58 AcceleratorMap accelerators_;
59 59
60 DISALLOW_COPY_AND_ASSIGN(AcceleratorManager); 60 DISALLOW_COPY_AND_ASSIGN(AcceleratorManager);
61 }; 61 };
62 62
63 } // namespace ui 63 } // namespace ui
64 64
65 #endif // UI_BASE_ACCELERATOR_MANAGER_H_ 65 #endif // UI_BASE_ACCELERATORS_ACCELERATOR_MANAGER_H_
OLDNEW
« no previous file with comments | « ui/base/accelerators/accelerator_gtk.h ('k') | ui/base/accelerators/accelerator_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698