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

Unified Diff: views/controls/button/menu_button.cc

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 | « views/controls/button/custom_button.cc ('k') | views/controls/button/native_button.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/controls/button/menu_button.cc
diff --git a/views/controls/button/menu_button.cc b/views/controls/button/menu_button.cc
index f09b2d493f0ee6ef4101f19f6f5a87c1c75091cf..4973ea234415a029acd6e85640f57e4b8dc2be7a 100644
--- a/views/controls/button/menu_button.cc
+++ b/views/controls/button/menu_button.cc
@@ -219,10 +219,10 @@ void MenuButton::OnMouseReleased(const MouseEvent& e,
}
bool MenuButton::OnKeyPressed(const KeyEvent& e) {
- if (e.GetKeyCode() == base::VKEY_SPACE ||
- e.GetKeyCode() == base::VKEY_RETURN ||
- e.GetKeyCode() == base::VKEY_UP ||
- e.GetKeyCode() == base::VKEY_DOWN) {
+ if (e.GetKeyCode() == app::VKEY_SPACE ||
+ e.GetKeyCode() == app::VKEY_RETURN ||
+ e.GetKeyCode() == app::VKEY_UP ||
+ e.GetKeyCode() == app::VKEY_DOWN) {
bool result = Activate();
if (GetFocusManager()->GetFocusedView() == NULL)
RequestFocus();
« no previous file with comments | « views/controls/button/custom_button.cc ('k') | views/controls/button/native_button.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698