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

Unified Diff: chrome/browser/global_keyboard_shortcuts_mac.mm

Issue 5243003: Style fixes; commenting. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/global_keyboard_shortcuts_mac.mm
===================================================================
--- chrome/browser/global_keyboard_shortcuts_mac.mm (revision 66766)
+++ chrome/browser/global_keyboard_shortcuts_mac.mm (working copy)
@@ -17,11 +17,13 @@
// we differentiate between shortcuts that are checked before any other view
// gets the chance to handle them (WindowKeyboardShortcut) or after all views
// had a chance but did not handle the keypress event
-// (DelayedWindowKeyboardShortcut)
+// (DelayedWindowKeyboardShortcut).
-const KeyboardShortcutData* GetWindowKeyboardShortcutTable
- (size_t* num_entries) {
+const KeyboardShortcutData* GetWindowKeyboardShortcutTable(
+ size_t* num_entries) {
static const KeyboardShortcutData keyboard_shortcuts[] = {
+ //cmd shift cntrl option
+ //--- ----- ----- ------
// '{' / '}' characters should be matched earlier than virtual key code
// (therefore we can match alt-8 as '{' on german keyboards).
{true, false, false, false, 0, '}', IDC_SELECT_NEXT_TAB},
@@ -56,9 +58,11 @@
return keyboard_shortcuts;
}
-const KeyboardShortcutData* GetDelayedWindowKeyboardShortcutTable
- (size_t* num_entries) {
+const KeyboardShortcutData* GetDelayedWindowKeyboardShortcutTable(
+ size_t* num_entries) {
static const KeyboardShortcutData keyboard_shortcuts[] = {
+ //cmd shift cntrl option
+ //--- ----- ----- ------
{false, false, false, false, kVK_Escape, 0, IDC_STOP},
};
@@ -67,9 +71,11 @@
return keyboard_shortcuts;
}
-const KeyboardShortcutData* GetBrowserKeyboardShortcutTable
- (size_t* num_entries) {
+const KeyboardShortcutData* GetBrowserKeyboardShortcutTable(
+ size_t* num_entries) {
static const KeyboardShortcutData keyboard_shortcuts[] = {
+ //cmd shift cntrl option
+ //--- ----- ----- ------
{true, false, false, false, kVK_LeftArrow, 0, IDC_BACK},
{true, false, false, false, kVK_RightArrow, 0, IDC_FORWARD},
{false, false, false, false, kVK_Delete, 0, IDC_BACK},
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698