diff options
Diffstat (limited to 'views/controls/button/native_button.cc')
-rw-r--r-- | views/controls/button/native_button.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/views/controls/button/native_button.cc b/views/controls/button/native_button.cc index 84eee12..650bf0f 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 "ui/base/keycodes/keyboard_codes.h" #include "views/controls/native/native_view_host.h" #if defined(OS_WIN) @@ -88,9 +88,9 @@ void NativeButton::SetIsDefault(bool is_default) { if (is_default == is_default_) return; if (is_default) - AddAccelerator(Accelerator(app::VKEY_RETURN, false, false, false)); + AddAccelerator(Accelerator(ui::VKEY_RETURN, false, false, false)); else - RemoveAccelerator(Accelerator(app::VKEY_RETURN, false, false, false)); + RemoveAccelerator(Accelerator(ui::VKEY_RETURN, false, false, false)); SetAppearsAsDefault(is_default); } |