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

Unified Diff: chrome/browser/instant/instant_browsertest.cc

Issue 6246001: Move app/key* to ui/base/keycodes/* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 11 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 | « chrome/browser/gtk/browser_window_gtk.cc ('k') | chrome/browser/renderer_host/render_widget_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/instant/instant_browsertest.cc
===================================================================
--- chrome/browser/instant/instant_browsertest.cc (revision 71220)
+++ chrome/browser/instant/instant_browsertest.cc (working copy)
@@ -111,7 +111,7 @@
NotificationType::INSTANT_CONTROLLER_SHOWN);
}
- void SendKey(app::KeyboardCode key) {
+ void SendKey(ui::KeyboardCode key) {
ASSERT_TRUE(ui_test_utils::SendKeyPressSync(
browser(), key, false, false, false, false));
}
@@ -480,7 +480,7 @@
ASSERT_NO_FATAL_FAILURE(SetupPreview());
ASSERT_NO_FATAL_FAILURE(SetLocationBarText(L"abc"));
- ASSERT_NO_FATAL_FAILURE(SendKey(app::VKEY_RETURN));
+ ASSERT_NO_FATAL_FAILURE(SendKey(ui::VKEY_RETURN));
// Check that the preview contents have been committed.
ASSERT_FALSE(browser()->instant()->GetPreviewContents());
@@ -534,7 +534,7 @@
ASSERT_NO_FATAL_FAILURE(SetLocationBarText(L"abc"));
// Pressing tab to convert instant suggest into inline autocomplete.
- ASSERT_NO_FATAL_FAILURE(SendKey(app::VKEY_TAB));
+ ASSERT_NO_FATAL_FAILURE(SendKey(ui::VKEY_TAB));
ASSERT_EQ(L"abcdef", location_bar_->location_entry()->GetText());
@@ -542,7 +542,7 @@
GetSearchStateAsString(preview_));
// Pressing tab again to accept the current instant preview.
- ASSERT_NO_FATAL_FAILURE(SendKey(app::VKEY_TAB));
+ ASSERT_NO_FATAL_FAILURE(SendKey(ui::VKEY_TAB));
// Check that the preview contents have been committed.
ASSERT_FALSE(browser()->instant()->GetPreviewContents());
« no previous file with comments | « chrome/browser/gtk/browser_window_gtk.cc ('k') | chrome/browser/renderer_host/render_widget_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698