summaryrefslogtreecommitdiffstats
path: root/views/accelerator.cc
diff options
context:
space:
mode:
authorbryeung@chromium.org <bryeung@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-02 19:22:15 +0000
committerbryeung@chromium.org <bryeung@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-02 19:22:15 +0000
commit2b7c9492e9a8794e2124da62bfce91fe3a1b2a77 (patch)
treef13a5c7961e2655f63916216223d16fa86454a3d /views/accelerator.cc
parent010e37516995713253daa8df6f7ba1c2b12ccd1d (diff)
downloadchromium_src-2b7c9492e9a8794e2124da62bfce91fe3a1b2a77.zip
chromium_src-2b7c9492e9a8794e2124da62bfce91fe3a1b2a77.tar.gz
chromium_src-2b7c9492e9a8794e2124da62bfce91fe3a1b2a77.tar.bz2
Revert 58215 - Revert 58186 - Move the keyboard files from base/ to app/.
Also moves the associated classes/enums from base:: to app::. TEST=try bots compile BUG=NONE Review URL: http://codereview.chromium.org/3165064 TBR=bryeung@chromium.org TBR=phajdan.jr@chromium.org Review URL: http://codereview.chromium.org/3361003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58388 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/accelerator.cc')
-rw-r--r--views/accelerator.cc28
1 files changed, 14 insertions, 14 deletions
diff --git a/views/accelerator.cc b/views/accelerator.cc
index 730191d..6b80cc4 100644
--- a/views/accelerator.cc
+++ b/views/accelerator.cc
@@ -22,46 +22,46 @@ namespace views {
std::wstring Accelerator::GetShortcutText() const {
int string_id = 0;
switch(key_code_) {
- case base::VKEY_TAB:
+ case app::VKEY_TAB:
string_id = IDS_APP_TAB_KEY;
break;
- case base::VKEY_RETURN:
+ case app::VKEY_RETURN:
string_id = IDS_APP_ENTER_KEY;
break;
- case base::VKEY_ESCAPE:
+ case app::VKEY_ESCAPE:
string_id = IDS_APP_ESC_KEY;
break;
- case base::VKEY_PRIOR:
+ case app::VKEY_PRIOR:
string_id = IDS_APP_PAGEUP_KEY;
break;
- case base::VKEY_NEXT:
+ case app::VKEY_NEXT:
string_id = IDS_APP_PAGEDOWN_KEY;
break;
- case base::VKEY_END:
+ case app::VKEY_END:
string_id = IDS_APP_END_KEY;
break;
- case base::VKEY_HOME:
+ case app::VKEY_HOME:
string_id = IDS_APP_HOME_KEY;
break;
- case base::VKEY_INSERT:
+ case app::VKEY_INSERT:
string_id = IDS_APP_INSERT_KEY;
break;
- case base::VKEY_DELETE:
+ case app::VKEY_DELETE:
string_id = IDS_APP_DELETE_KEY;
break;
- case base::VKEY_LEFT:
+ case app::VKEY_LEFT:
string_id = IDS_APP_LEFT_ARROW_KEY;
break;
- case base::VKEY_RIGHT:
+ case app::VKEY_RIGHT:
string_id = IDS_APP_RIGHT_ARROW_KEY;
break;
- case base::VKEY_BACK:
+ case app::VKEY_BACK:
string_id = IDS_APP_BACKSPACE_KEY;
break;
- case base::VKEY_F1:
+ case app::VKEY_F1:
string_id = IDS_APP_F1_KEY;
break;
- case base::VKEY_F11:
+ case app::VKEY_F11:
string_id = IDS_APP_F11_KEY;
break;
default: