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

Unified Diff: app/menus/accelerator.h

Issue 3361003: Revert 58215 - Revert 58186 - Move the keyboard files from base/ to app/.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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
===================================================================
--- app/menus/accelerator.h (revision 58386)
+++ app/menus/accelerator.h (working copy)
@@ -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 @@
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 @@
return !(*this == rhs);
}
- base::KeyboardCode GetKeyCode() const {
+ app::KeyboardCode GetKeyCode() const {
return key_code_;
}
@@ -62,7 +62,7 @@
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