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

Unified Diff: chrome/browser/ui/omnibox/action_box_browsertest.cc

Issue 12377065: Consolidate VIEW_ID_LOCATION_BAR into VIEW_ID_OMNIBOX. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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
Index: chrome/browser/ui/omnibox/action_box_browsertest.cc
diff --git a/chrome/browser/ui/omnibox/action_box_browsertest.cc b/chrome/browser/ui/omnibox/action_box_browsertest.cc
index aa3f3c44e6bdfeac3cdbf9b018070c8aba5d1c85..9bbe16e09016d254633c62f574d3479fee7c36ae 100644
--- a/chrome/browser/ui/omnibox/action_box_browsertest.cc
+++ b/chrome/browser/ui/omnibox/action_box_browsertest.cc
@@ -36,13 +36,7 @@ class ActionBoxTest : public InProcessBrowserTest,
ASSERT_TRUE(ui_test_utils::BringBrowserWindowToFront(browser()));
ASSERT_NO_FATAL_FAILURE(SetupComponents());
chrome::FocusLocationBar(browser());
- // Use Textfield's view id on pure views. See crbug.com/71144.
- ViewID location_bar_focus_view_id = VIEW_ID_LOCATION_BAR;
-#if defined(USE_AURA)
- location_bar_focus_view_id = VIEW_ID_OMNIBOX;
-#endif
- ASSERT_TRUE(ui_test_utils::IsViewFocused(browser(),
- location_bar_focus_view_id));
+ ASSERT_TRUE(ui_test_utils::IsViewFocused(browser(), VIEW_ID_OMNIBOX));
}
virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE {
« no previous file with comments | « chrome/browser/ui/gtk/view_id_util_browsertest.cc ('k') | chrome/browser/ui/omnibox/omnibox_view_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698