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

Unified Diff: views/controls/button/native_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/menu_button.cc ('k') | views/controls/combobox/combobox.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/controls/button/native_button.cc
diff --git a/views/controls/button/native_button.cc b/views/controls/button/native_button.cc
index 756cc201101c753b33787bbd41825895e9c89f32..eac4065e9947e018bb5af9f26c90f717f3d482a7 100644
--- a/views/controls/button/native_button.cc
+++ b/views/controls/button/native_button.cc
@@ -4,8 +4,8 @@
#include "views/controls/button/native_button.h"
+#include "app/keyboard_codes.h"
#include "base/i18n/rtl.h"
-#include "base/keyboard_codes.h"
#include "base/logging.h"
#include "views/controls/native/native_view_host.h"
@@ -91,9 +91,9 @@ void NativeButton::SetIsDefault(bool is_default) {
if (is_default == is_default_)
return;
if (is_default)
- AddAccelerator(Accelerator(base::VKEY_RETURN, false, false, false));
+ AddAccelerator(Accelerator(app::VKEY_RETURN, false, false, false));
else
- RemoveAccelerator(Accelerator(base::VKEY_RETURN, false, false, false));
+ RemoveAccelerator(Accelerator(app::VKEY_RETURN, false, false, false));
SetAppearsAsDefault(is_default);
}
« no previous file with comments | « views/controls/button/menu_button.cc ('k') | views/controls/combobox/combobox.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698