| Index: chrome/browser/views/bookmark_bar_view_test.cc
|
| ===================================================================
|
| --- chrome/browser/views/bookmark_bar_view_test.cc (revision 58389)
|
| +++ chrome/browser/views/bookmark_bar_view_test.cc (working copy)
|
| @@ -2,7 +2,7 @@
|
| // 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 "base/keyboard_codes.h"
|
| #include "base/string_number_conversions.h"
|
| #include "base/utf_string_conversions.h"
|
| #include "chrome/browser/automation/ui_controls.h"
|
| @@ -873,7 +873,7 @@
|
|
|
| // Send a down event, which should select the first item.
|
| ui_controls::SendKeyPressNotifyWhenDone(
|
| - NULL, app::VKEY_DOWN, false, false, false, false,
|
| + NULL, base::VKEY_DOWN, false, false, false, false,
|
| CreateEventTask(this, &BookmarkBarViewTest10::Step3));
|
| }
|
|
|
| @@ -886,7 +886,7 @@
|
|
|
| // Send a key down event, which should select the next item.
|
| ui_controls::SendKeyPressNotifyWhenDone(
|
| - NULL, app::VKEY_DOWN, false, false, false, false,
|
| + NULL, base::VKEY_DOWN, false, false, false, false,
|
| CreateEventTask(this, &BookmarkBarViewTest10::Step4));
|
| }
|
|
|
| @@ -899,7 +899,7 @@
|
|
|
| // Send a right arrow to force the menu to open.
|
| ui_controls::SendKeyPressNotifyWhenDone(
|
| - NULL, app::VKEY_RIGHT, false, false, false, false,
|
| + NULL, base::VKEY_RIGHT, false, false, false, false,
|
| CreateEventTask(this, &BookmarkBarViewTest10::Step5));
|
| }
|
|
|
| @@ -915,7 +915,7 @@
|
|
|
| // Send a left arrow to close the submenu.
|
| ui_controls::SendKeyPressNotifyWhenDone(
|
| - NULL, app::VKEY_LEFT, false, false, false, false,
|
| + NULL, base::VKEY_LEFT, false, false, false, false,
|
| CreateEventTask(this, &BookmarkBarViewTest10::Step6));
|
| }
|
|
|
| @@ -930,7 +930,7 @@
|
|
|
| // Send a down arrow to wrap back to f1a
|
| ui_controls::SendKeyPressNotifyWhenDone(
|
| - NULL, app::VKEY_DOWN, false, false, false, false,
|
| + NULL, base::VKEY_DOWN, false, false, false, false,
|
| CreateEventTask(this, &BookmarkBarViewTest10::Step7));
|
| }
|
|
|
| @@ -943,7 +943,7 @@
|
|
|
| // Send enter, which should select the item.
|
| ui_controls::SendKeyPressNotifyWhenDone(
|
| - NULL, app::VKEY_RETURN, false, false, false, false,
|
| + NULL, base::VKEY_RETURN, false, false, false, false,
|
| CreateEventTask(this, &BookmarkBarViewTest10::Step8));
|
| }
|
|
|
| @@ -998,7 +998,7 @@
|
| void Step3() {
|
| // Send escape so that the context menu hides.
|
| ui_controls::SendKeyPressNotifyWhenDone(
|
| - NULL, app::VKEY_ESCAPE, false, false, false, false,
|
| + NULL, base::VKEY_ESCAPE, false, false, false, false,
|
| CreateEventTask(this, &BookmarkBarViewTest11::Step4));
|
| }
|
|
|
| @@ -1087,7 +1087,7 @@
|
|
|
| void Step4() {
|
| // Press tab to give focus to the cancel button.
|
| - ui_controls::SendKeyPress(NULL, app::VKEY_TAB, false, false, false, false);
|
| + ui_controls::SendKeyPress(NULL, base::VKEY_TAB, false, false, false, false);
|
|
|
| // For some reason return isn't processed correctly unless we delay.
|
| MessageLoop::current()->PostDelayedTask(FROM_HERE,
|
| @@ -1097,7 +1097,7 @@
|
| void Step5() {
|
| // And press enter so that the cancel button is selected.
|
| ui_controls::SendKeyPressNotifyWhenDone(
|
| - NULL, app::VKEY_RETURN, false, false, false, false,
|
| + NULL, base::VKEY_RETURN, false, false, false, false,
|
| CreateEventTask(this, &BookmarkBarViewTest12::Step6));
|
| }
|
|
|
| @@ -1226,7 +1226,7 @@
|
|
|
| // Send escape so that the context menu hides.
|
| ui_controls::SendKeyPressNotifyWhenDone(
|
| - NULL, app::VKEY_ESCAPE, false, false, false, false,
|
| + NULL, base::VKEY_ESCAPE, false, false, false, false,
|
| CreateEventTask(this, &BookmarkBarViewTest14::Step3));
|
| }
|
|
|
|
|