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

Side by Side Diff: chrome/browser/views/accelerator_table_gtk.h

Issue 3165064: Move the keyboard files from base/ to app/. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: latest merge Created 10 years, 4 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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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_VIEWS_ACCELERATOR_TABLE_GTK_H_ 5 #ifndef CHROME_BROWSER_VIEWS_ACCELERATOR_TABLE_GTK_H_
6 #define CHROME_BROWSER_VIEWS_ACCELERATOR_TABLE_GTK_H_ 6 #define CHROME_BROWSER_VIEWS_ACCELERATOR_TABLE_GTK_H_
7 #pragma once 7 #pragma once
8 8
9 #include <stdio.h> 9 #include <stdio.h>
10 10
11 #include "base/keyboard_codes.h" 11 #include "app/keyboard_codes.h"
12 12
13 // This contains the list of accelerators for the Linux toolkit_view 13 // This contains the list of accelerators for the Linux toolkit_view
14 // implementation. 14 // implementation.
15 namespace browser { 15 namespace browser {
16 16
17 struct AcceleratorMapping { 17 struct AcceleratorMapping {
18 base::KeyboardCode keycode; 18 app::KeyboardCode keycode;
19 bool shift_pressed; 19 bool shift_pressed;
20 bool ctrl_pressed; 20 bool ctrl_pressed;
21 bool alt_pressed; 21 bool alt_pressed;
22 int command_id; 22 int command_id;
23 }; 23 };
24 24
25 // The list of accelerators. 25 // The list of accelerators.
26 extern const AcceleratorMapping kAcceleratorMap[]; 26 extern const AcceleratorMapping kAcceleratorMap[];
27 27
28 // The numbers of elements in kAcceleratorMap. 28 // The numbers of elements in kAcceleratorMap.
29 extern const size_t kAcceleratorMapLength; 29 extern const size_t kAcceleratorMapLength;
30 } 30 }
31 31
32 #endif // CHROME_BROWSER_VIEWS_ACCELERATOR_TABLE_GTK_H_ 32 #endif // CHROME_BROWSER_VIEWS_ACCELERATOR_TABLE_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/renderer_host/render_widget_host_unittest.cc ('k') | chrome/browser/views/accelerator_table_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698