summaryrefslogtreecommitdiffstats
path: root/views/accelerator.cc
diff options
context:
space:
mode:
authorbryeung@chromium.org <bryeung@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-03 00:38:27 +0000
committerbryeung@chromium.org <bryeung@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-03 00:38:27 +0000
commit7f05552488f8f9ea5000512fd1972894aee7ee82 (patch)
tree0e2ed5a562335907e44307a1d99e9c6ab8d8a3ec /views/accelerator.cc
parent9d7e8fd4a448491817b816585d6f375d71c0a97a (diff)
downloadchromium_src-7f05552488f8f9ea5000512fd1972894aee7ee82.zip
chromium_src-7f05552488f8f9ea5000512fd1972894aee7ee82.tar.gz
chromium_src-7f05552488f8f9ea5000512fd1972894aee7ee82.tar.bz2
Re-lands 58186:
Original message: """ 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=phajdan.jr@chromium.org Review URL: http://codereview.chromium.org/3354005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58438 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: