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

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

Issue 8341050: Aura: Support non-global keyboard shortcuts. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Restore native_widget_aura change 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
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_UI_VIEWS_ACCELERATOR_TABLE_LINUX_H_
6 #define CHROME_BROWSER_UI_VIEWS_ACCELERATOR_TABLE_LINUX_H_
7 #pragma once
8
9 #include <stdio.h>
10
11 #include "ui/base/keycodes/keyboard_codes.h"
12
13 // This contains the list of accelerators for the Linux toolkit_view
14 // implementation.
15 namespace browser {
16
17 struct AcceleratorMapping {
18 ui::KeyboardCode keycode;
19 bool shift_pressed;
20 bool ctrl_pressed;
21 bool alt_pressed;
22 int command_id;
23 };
24
25 // The list of accelerators.
26 extern const AcceleratorMapping kAcceleratorMap[];
27
28 // The numbers of elements in kAcceleratorMap.
29 extern const size_t kAcceleratorMapLength;
30 }
31
32 #endif // CHROME_BROWSER_UI_VIEWS_ACCELERATOR_TABLE_LINUX_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/accelerator_table.cc ('k') | chrome/browser/ui/views/accelerator_table_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698