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

Unified Diff: app/menus/accelerator.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « app/keyboard_codes_win.h ('k') | app/menus/accelerator_cocoa.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: app/menus/accelerator.h
diff --git a/app/menus/accelerator.h b/app/menus/accelerator.h
index 06adb99ddc9b03e97c224028ad5f16ca084456f4..399569b768901081388d842a65a14b94c80a7dd0 100644
--- a/app/menus/accelerator.h
+++ b/app/menus/accelerator.h
@@ -6,7 +6,7 @@
#define APP_MENUS_ACCELERATOR_H_
#pragma once
-#include "base/keyboard_codes.h"
+#include "app/keyboard_codes.h"
namespace menus {
@@ -15,9 +15,9 @@ namespace menus {
class Accelerator {
public:
- Accelerator() : key_code_(base::VKEY_UNKNOWN), modifiers_(0) {}
+ Accelerator() : key_code_(app::VKEY_UNKNOWN), modifiers_(0) {}
- Accelerator(base::KeyboardCode keycode, int modifiers)
+ Accelerator(app::KeyboardCode keycode, int modifiers)
: key_code_(keycode),
modifiers_(modifiers) {}
@@ -52,7 +52,7 @@ class Accelerator {
return !(*this == rhs);
}
- base::KeyboardCode GetKeyCode() const {
+ app::KeyboardCode GetKeyCode() const {
return key_code_;
}
@@ -62,7 +62,7 @@ class Accelerator {
protected:
// The keycode (VK_...).
- base::KeyboardCode key_code_;
+ app::KeyboardCode key_code_;
// The state of the Shift/Ctrl/Alt keys (platform-dependent).
int modifiers_;
« no previous file with comments | « app/keyboard_codes_win.h ('k') | app/menus/accelerator_cocoa.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698