Index: chrome/browser/ui/views/browser_keyboard_accessibility_test_win.cc |
=================================================================== |
--- chrome/browser/ui/views/browser_keyboard_accessibility_test_win.cc (revision 71220) |
+++ chrome/browser/ui/views/browser_keyboard_accessibility_test_win.cc (working copy) |
@@ -2,12 +2,12 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#include "app/keyboard_codes.h" |
#include "chrome/browser/automation/ui_controls.h" |
#include "chrome/browser/ui/views/chrome_views_delegate.h" |
#include "chrome/browser/ui/views/frame/browser_view.h" |
#include "chrome/test/in_process_browser_test.h" |
#include "chrome/test/ui_test_utils.h" |
+#include "ui/base/keycodes/keyboard_codes.h" |
#include "views/view.h" |
#include "views/accessibility/view_accessibility.h" |
#include "views/widget/widget.h" |
@@ -119,7 +119,7 @@ |
// TODO(phajdan.jr): remove logging after fixing http://crbug.com/50663. |
LOG(ERROR) << "Sending TAB key event..."; |
ui_controls::SendKeyPressNotifyWhenDone(current_view_native_window(), |
- app::VKEY_TAB, |
+ ui::VKEY_TAB, |
true, false, false, false, |
new MessageLoop::QuitTask()); |
set_waiting(true); |
@@ -153,7 +153,7 @@ |
DISABLED_TabInToolbar) { |
gfx::NativeWindow native_window = browser()->window()->GetNativeHandle(); |
ui_controls::SendKeyPressNotifyWhenDone(native_window, |
- app::VKEY_T, |
+ ui::VKEY_T, |
false, true, true, false, |
new MessageLoop::QuitTask()); |
set_waiting(true); |
@@ -197,7 +197,7 @@ |
do { |
// TODO(phajdan.jr): remove logging after fixing http://crbug.com/50663. |
LOG(ERROR) << "Sending TAB key event."; |
- ui_controls::SendKeyPressNotifyWhenDone(hwnd, app::VKEY_TAB, |
+ ui_controls::SendKeyPressNotifyWhenDone(hwnd, ui::VKEY_TAB, |
false, !forward_tab, false, false, new MessageLoop::QuitTask()); |
set_waiting(true); |
ui_test_utils::RunMessageLoop(); |