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

Unified Diff: chrome/browser/views/find_bar_host_interactive_uitest.cc

Issue 3337006: Revert 58388 - Revert 58215 - Revert 58186 - Move the keyboard files from bas... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 4 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/views/find_bar_host.cc ('k') | chrome/browser/views/find_bar_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/find_bar_host_interactive_uitest.cc
===================================================================
--- chrome/browser/views/find_bar_host_interactive_uitest.cc (revision 58389)
+++ chrome/browser/views/find_bar_host_interactive_uitest.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/message_loop.h"
#include "base/string_util.h"
#include "base/utf_string_conversions.h"
@@ -121,7 +121,7 @@
// This used to crash until bug 1303709 was fixed.
ASSERT_TRUE(ui_test_utils::SendKeyPressSync(
- browser()->window()->GetNativeHandle(), app::VKEY_ESCAPE,
+ browser()->window()->GetNativeHandle(), base::VKEY_ESCAPE,
false, false, false, false));
}
@@ -187,21 +187,21 @@
// Search for "a".
ASSERT_TRUE(ui_test_utils::SendKeyPressSync(
- window, app::VKEY_A, false, false, false, false)); // No modifiers
+ window, base::VKEY_A, false, false, false, false)); // No modifiers
// We should find "a" here.
EXPECT_EQ(ASCIIToUTF16("a"), GetFindBarText());
// Delete "a".
ASSERT_TRUE(ui_test_utils::SendKeyPressSync(
- window, app::VKEY_BACK, false, false, false, false)); // No modifiers.
+ window, base::VKEY_BACK, false, false, false, false)); // No modifiers.
// Validate we have cleared the text.
EXPECT_EQ(string16(), GetFindBarText());
// Close the Find box.
ASSERT_TRUE(ui_test_utils::SendKeyPressSync(
- window, app::VKEY_ESCAPE, false, false, false, false)); // No modifiers.
+ window, base::VKEY_ESCAPE, false, false, false, false)); // No modifiers.
// Show the Find bar.
browser()->GetFindBarController()->Show();
@@ -212,11 +212,11 @@
// Close the Find box.
ASSERT_TRUE(ui_test_utils::SendKeyPressSync(
- window, app::VKEY_ESCAPE, false, false, false, false)); // No modifiers.
+ window, base::VKEY_ESCAPE, false, false, false, false)); // No modifiers.
// Press F3 to trigger FindNext.
ASSERT_TRUE(ui_test_utils::SendKeyPressSync(
- window, app::VKEY_F3, false, false, false, false)); // No modifiers.
+ window, base::VKEY_F3, false, false, false, false)); // No modifiers.
// After the Find box has been reopened, it should still have no prepopulate
// value.
« no previous file with comments | « chrome/browser/views/find_bar_host.cc ('k') | chrome/browser/views/find_bar_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698