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

Unified Diff: chrome/browser/ui/views/accelerator_table.h

Issue 10177002: Do not include Ctrl+N and Ctrl+Shift+N in chrome/browser/ui/views/accelerator_table.cc when USE_ASH (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/accelerators/accelerator_table.h ('k') | chrome/browser/ui/views/accelerator_table.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/accelerator_table.h
diff --git a/chrome/browser/ui/views/accelerator_table.h b/chrome/browser/ui/views/accelerator_table.h
index f717e5b1902a3c246e2261d85d7f3474c15319fa..d65fd8bd7b8a5cb60aeb87f36e317ce880ee45d3 100644
--- a/chrome/browser/ui/views/accelerator_table.h
+++ b/chrome/browser/ui/views/accelerator_table.h
@@ -6,26 +6,27 @@
#define CHROME_BROWSER_UI_VIEWS_ACCELERATOR_TABLE_H_
#pragma once
-#include <stdio.h>
+#include <stddef.h>
#include "ui/base/keycodes/keyboard_codes.h"
// This contains the list of accelerators for the Aura implementation.
namespace browser {
- struct AcceleratorMapping {
- ui::KeyboardCode keycode;
- bool shift_pressed;
- bool ctrl_pressed;
- bool alt_pressed;
- int command_id;
- };
+struct AcceleratorMapping {
+ ui::KeyboardCode keycode;
+ bool shift_pressed;
+ bool ctrl_pressed;
+ bool alt_pressed;
+ int command_id;
+};
- // The list of accelerators.
- extern const AcceleratorMapping kAcceleratorMap[];
+// The list of accelerators.
+extern const AcceleratorMapping kAcceleratorMap[];
- // The numbers of elements in kAcceleratorMap.
- extern const size_t kAcceleratorMapLength;
-}
+// The numbers of elements in kAcceleratorMap.
+extern const size_t kAcceleratorMapLength;
+
+} // namespace browser
#endif // CHROME_BROWSER_UI_VIEWS_ACCELERATOR_TABLE_H_
« no previous file with comments | « ash/accelerators/accelerator_table.h ('k') | chrome/browser/ui/views/accelerator_table.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698