| Index: chrome/browser/views/bookmark_bar_view_test.cc
|
| diff --git a/chrome/browser/views/bookmark_bar_view_test.cc b/chrome/browser/views/bookmark_bar_view_test.cc
|
| index d3884dd44027113611077a7e1419ae8089d2624f..9b7b5122aaa9df4565d8af93823cc9fc3a465bc1 100644
|
| --- a/chrome/browser/views/bookmark_bar_view_test.cc
|
| +++ b/chrome/browser/views/bookmark_bar_view_test.cc
|
| @@ -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 "base/keyboard_codes.h"
|
| +#include "app/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 @@ class BookmarkBarViewTest10 : public BookmarkBarViewEventTestBase {
|
|
|
| // Send a down event, which should select the first item.
|
| ui_controls::SendKeyPressNotifyWhenDone(
|
| - NULL, base::VKEY_DOWN, false, false, false, false,
|
| + NULL, app::VKEY_DOWN, false, false, false, false,
|
| CreateEventTask(this, &BookmarkBarViewTest10::Step3));
|
| }
|
|
|
| @@ -886,7 +886,7 @@ class BookmarkBarViewTest10 : public BookmarkBarViewEventTestBase {
|
|
|
| // Send a key down event, which should select the next item.
|
| ui_controls::SendKeyPressNotifyWhenDone(
|
| - NULL, base::VKEY_DOWN, false, false, false, false,
|
| + NULL, app::VKEY_DOWN, false, false, false, false,
|
| CreateEventTask(this, &BookmarkBarViewTest10::Step4));
|
| }
|
|
|
| @@ -899,7 +899,7 @@ class BookmarkBarViewTest10 : public BookmarkBarViewEventTestBase {
|
|
|
| // Send a right arrow to force the menu to open.
|
| ui_controls::SendKeyPressNotifyWhenDone(
|
| - NULL, base::VKEY_RIGHT, false, false, false, false,
|
| + NULL, app::VKEY_RIGHT, false, false, false, false,
|
| CreateEventTask(this, &BookmarkBarViewTest10::Step5));
|
| }
|
|
|
| @@ -915,7 +915,7 @@ class BookmarkBarViewTest10 : public BookmarkBarViewEventTestBase {
|
|
|
| // Send a left arrow to close the submenu.
|
| ui_controls::SendKeyPressNotifyWhenDone(
|
| - NULL, base::VKEY_LEFT, false, false, false, false,
|
| + NULL, app::VKEY_LEFT, false, false, false, false,
|
| CreateEventTask(this, &BookmarkBarViewTest10::Step6));
|
| }
|
|
|
| @@ -930,7 +930,7 @@ class BookmarkBarViewTest10 : public BookmarkBarViewEventTestBase {
|
|
|
| // Send a down arrow to wrap back to f1a
|
| ui_controls::SendKeyPressNotifyWhenDone(
|
| - NULL, base::VKEY_DOWN, false, false, false, false,
|
| + NULL, app::VKEY_DOWN, false, false, false, false,
|
| CreateEventTask(this, &BookmarkBarViewTest10::Step7));
|
| }
|
|
|
| @@ -943,7 +943,7 @@ class BookmarkBarViewTest10 : public BookmarkBarViewEventTestBase {
|
|
|
| // Send enter, which should select the item.
|
| ui_controls::SendKeyPressNotifyWhenDone(
|
| - NULL, base::VKEY_RETURN, false, false, false, false,
|
| + NULL, app::VKEY_RETURN, false, false, false, false,
|
| CreateEventTask(this, &BookmarkBarViewTest10::Step8));
|
| }
|
|
|
| @@ -998,7 +998,7 @@ class BookmarkBarViewTest11 : public BookmarkBarViewEventTestBase {
|
| void Step3() {
|
| // Send escape so that the context menu hides.
|
| ui_controls::SendKeyPressNotifyWhenDone(
|
| - NULL, base::VKEY_ESCAPE, false, false, false, false,
|
| + NULL, app::VKEY_ESCAPE, false, false, false, false,
|
| CreateEventTask(this, &BookmarkBarViewTest11::Step4));
|
| }
|
|
|
| @@ -1087,7 +1087,7 @@ class BookmarkBarViewTest12 : public BookmarkBarViewEventTestBase {
|
|
|
| void Step4() {
|
| // Press tab to give focus to the cancel button.
|
| - ui_controls::SendKeyPress(NULL, base::VKEY_TAB, false, false, false, false);
|
| + ui_controls::SendKeyPress(NULL, app::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 @@ class BookmarkBarViewTest12 : public BookmarkBarViewEventTestBase {
|
| void Step5() {
|
| // And press enter so that the cancel button is selected.
|
| ui_controls::SendKeyPressNotifyWhenDone(
|
| - NULL, base::VKEY_RETURN, false, false, false, false,
|
| + NULL, app::VKEY_RETURN, false, false, false, false,
|
| CreateEventTask(this, &BookmarkBarViewTest12::Step6));
|
| }
|
|
|
| @@ -1226,7 +1226,7 @@ class BookmarkBarViewTest14 : public BookmarkBarViewEventTestBase {
|
|
|
| // Send escape so that the context menu hides.
|
| ui_controls::SendKeyPressNotifyWhenDone(
|
| - NULL, base::VKEY_ESCAPE, false, false, false, false,
|
| + NULL, app::VKEY_ESCAPE, false, false, false, false,
|
| CreateEventTask(this, &BookmarkBarViewTest14::Step3));
|
| }
|
|
|
|
|