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

Side by Side Diff: chrome/browser/ui/cocoa/accelerators_cocoa.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, 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
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 CHROME_BROWSER_UI_COCOA_ACCELERATORS_COCOA_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_ACCELERATORS_COCOA_H_
6 #define CHROME_BROWSER_UI_COCOA_ACCELERATORS_COCOA_H_ 6 #define CHROME_BROWSER_UI_COCOA_ACCELERATORS_COCOA_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 10
11 #include "ui/base/models/accelerator_cocoa.h" 11 #include "ui/base/accelerators/accelerator_cocoa.h"
12 12
13 template <typename T> struct DefaultSingletonTraits; 13 template <typename T> struct DefaultSingletonTraits;
14 14
15 // This class maintains a map of command_ids to AcceleratorCocoa objects (see 15 // This class maintains a map of command_ids to AcceleratorCocoa objects (see
16 // chrome/app/chrome_command_ids.h). Currently, this only lists the commands 16 // chrome/app/chrome_command_ids.h). Currently, this only lists the commands
17 // that are used in the Wrench menu. 17 // that are used in the Wrench menu.
18 // 18 //
19 // It is recommended that this class be used as a singleton so that the key map 19 // It is recommended that this class be used as a singleton so that the key map
20 // isn't created multiple places. 20 // isn't created multiple places.
21 // 21 //
(...skipping 17 matching lines...) Expand all
39 39
40 AcceleratorsCocoa(); 40 AcceleratorsCocoa();
41 ~AcceleratorsCocoa(); 41 ~AcceleratorsCocoa();
42 42
43 AcceleratorCocoaMap accelerators_; 43 AcceleratorCocoaMap accelerators_;
44 44
45 DISALLOW_COPY_AND_ASSIGN(AcceleratorsCocoa); 45 DISALLOW_COPY_AND_ASSIGN(AcceleratorsCocoa);
46 }; 46 };
47 47
48 #endif // CHROME_BROWSER_UI_COCOA_ACCELERATORS_COCOA_H_ 48 #endif // CHROME_BROWSER_UI_COCOA_ACCELERATORS_COCOA_H_
OLDNEW
« no previous file with comments | « chrome/browser/external_tab_container_win.h ('k') | chrome/browser/ui/cocoa/accelerators_cocoa_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698