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

Unified Diff: chrome/browser/ui/cocoa/location_bar/location_bar_view_mac_browsertest.mm

Issue 14259008: Instant Extended: Add prominent search term support (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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/cocoa/location_bar/location_bar_view_mac_browsertest.mm
diff --git a/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac_browsertest.mm b/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac_browsertest.mm
index 2cbc950b3fc5967b4ee3b35e61e056eae2cd821c..03493c170a4b6bbabbbecebf59cac439edb610e8 100644
--- a/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac_browsertest.mm
+++ b/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac_browsertest.mm
@@ -59,7 +59,7 @@ IN_PROC_BROWSER_TEST_F(LocationBarViewMacBrowserTest, SearchToken) {
EXPECT_FALSE(GetSeparatorDecoration()->IsVisible());
test_toolbar_model_.SetInputInProgress(false);
- test_toolbar_model_.set_replace_search_url_with_search_terms(true);
+ test_toolbar_model_.set_search_term_type(ToolbarModel::SEARCH_TERM_NORMAL);
GetLocationBar()->Layout();
EXPECT_TRUE(GetSearchTokenDecoration()->IsVisible());
EXPECT_TRUE(GetSeparatorDecoration()->IsVisible());

Powered by Google App Engine
This is Rietveld 408576698