summaryrefslogtreecommitdiffstats
path: root/chrome/browser
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser')
-rw-r--r--chrome/browser/global_keyboard_shortcuts_mac.h2
-rw-r--r--chrome/browser/global_keyboard_shortcuts_mac.mm4
-rw-r--r--chrome/browser/global_keyboard_shortcuts_mac_unittest.cc4
3 files changed, 5 insertions, 5 deletions
diff --git a/chrome/browser/global_keyboard_shortcuts_mac.h b/chrome/browser/global_keyboard_shortcuts_mac.h
index 45d9a69..f9a287c 100644
--- a/chrome/browser/global_keyboard_shortcuts_mac.h
+++ b/chrome/browser/global_keyboard_shortcuts_mac.h
@@ -5,7 +5,7 @@
#ifndef CHROME_BROWSER_GLOBAL_KEYBOARD_SHORTCUTS_MAC_H_
#define CHROME_BROWSER_GLOBAL_KEYBOARD_SHORTCUTS_MAC_H_
-#include "base/basictypes.h";
+#include "base/basictypes.h"
struct KeyboardShortcutData {
bool command_key;
diff --git a/chrome/browser/global_keyboard_shortcuts_mac.mm b/chrome/browser/global_keyboard_shortcuts_mac.mm
index 426d379..f703232 100644
--- a/chrome/browser/global_keyboard_shortcuts_mac.mm
+++ b/chrome/browser/global_keyboard_shortcuts_mac.mm
@@ -14,9 +14,9 @@ const KeyboardShortcutData* GetKeyboardShortCutTable(size_t* num_entries) {
{true, true, false, 33 /* [ */, IDC_SELECT_PREVIOUS_TAB},
{false, false, true, 116 /* pg_up */, IDC_SELECT_PREVIOUS_TAB},
};
-
+
*num_entries = arraysize(keyboard_shortcuts);
-
+
return keyboard_shortcuts;
}
diff --git a/chrome/browser/global_keyboard_shortcuts_mac_unittest.cc b/chrome/browser/global_keyboard_shortcuts_mac_unittest.cc
index c8c22d2..0b13e00 100644
--- a/chrome/browser/global_keyboard_shortcuts_mac_unittest.cc
+++ b/chrome/browser/global_keyboard_shortcuts_mac_unittest.cc
@@ -9,13 +9,13 @@
TEST(GlobalKeyboardShortcuts, ShortCutsToCommand) {
// Test that an invalid shortcut translates into an invalid command id.
ASSERT_EQ(CommandForKeyboardShortcut(false, false, false, 0), -1);
-
+
// Check that all known keyboard shortcuts return valid results.
size_t num_shortcuts = 0;
const KeyboardShortcutData *it = GetKeyboardShortCutTable(&num_shortcuts);
ASSERT_GT(num_shortcuts, 0U);
for (size_t i = 0; i < num_shortcuts; ++i, ++it) {
- int cmd_num = CommandForKeyboardShortcut(it->command_key, it->shift_key,
+ int cmd_num = CommandForKeyboardShortcut(it->command_key, it->shift_key,
it->cntrl_key, it->vkey_code);
ASSERT_EQ(cmd_num, it->chrome_command);
}