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

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: fix tests 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..59d0b8b559dfb979729061e3fcf7d6dc5935aee5 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_terms_type(ToolbarModel::NORMAL_SEARCH_TERMS);
GetLocationBar()->Layout();
EXPECT_TRUE(GetSearchTokenDecoration()->IsVisible());
EXPECT_TRUE(GetSeparatorDecoration()->IsVisible());
« no previous file with comments | « chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm ('k') | chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698