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

Side by Side Diff: chrome/browser/ui/views/accelerator_table.h

Issue 1336993002: Straighten up includes of host_desktop.h/host_desktop_type.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@host_desktop_type
Patch Set: Build fixes for Windows and Mac Created 5 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
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 CHROME_BROWSER_UI_VIEWS_ACCELERATOR_TABLE_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_ACCELERATOR_TABLE_H_
6 #define CHROME_BROWSER_UI_VIEWS_ACCELERATOR_TABLE_H_ 6 #define CHROME_BROWSER_UI_VIEWS_ACCELERATOR_TABLE_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "chrome/browser/ui/host_desktop.h"
11 #include "chrome/browser/ui/views/chrome_views_export.h" 10 #include "chrome/browser/ui/views/chrome_views_export.h"
12 #include "ui/events/keycodes/keyboard_codes.h" 11 #include "ui/events/keycodes/keyboard_codes.h"
12 #include "ui/gfx/host_desktop_type.h"
13 13
14 namespace ui { 14 namespace ui {
15 class Accelerator; 15 class Accelerator;
16 } 16 }
17 17
18 // This contains the list of accelerators for the Aura implementation. 18 // This contains the list of accelerators for the Aura implementation.
19 namespace chrome { 19 namespace chrome {
20 20
21 struct AcceleratorMapping { 21 struct AcceleratorMapping {
22 ui::KeyboardCode keycode; 22 ui::KeyboardCode keycode;
(...skipping 17 matching lines...) Expand all
40 // Returns true if the command id has an associated standard 40 // Returns true if the command id has an associated standard
41 // accelerator like cut, copy and paste. If the return is true the 41 // accelerator like cut, copy and paste. If the return is true the
42 // accelerator is returned via the second argument. 42 // accelerator is returned via the second argument.
43 CHROME_VIEWS_EXPORT bool GetStandardAcceleratorForCommandId( 43 CHROME_VIEWS_EXPORT bool GetStandardAcceleratorForCommandId(
44 int command_id, 44 int command_id,
45 ui::Accelerator* accelerator); 45 ui::Accelerator* accelerator);
46 46
47 } // namespace chrome 47 } // namespace chrome
48 48
49 #endif // CHROME_BROWSER_UI_VIEWS_ACCELERATOR_TABLE_H_ 49 #endif // CHROME_BROWSER_UI_VIEWS_ACCELERATOR_TABLE_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc ('k') | chrome/browser/ui/views/accelerator_utils_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698