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

Unified Diff: chrome/browser/ui/toolbar/test_toolbar_model.cc

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/toolbar/test_toolbar_model.cc
diff --git a/chrome/browser/ui/toolbar/test_toolbar_model.cc b/chrome/browser/ui/toolbar/test_toolbar_model.cc
index 3b452a76f2335d4190e64f77443b0a82029b5f25..e55996b1fd043deab2bbacd7f198dded43eed2c2 100644
--- a/chrome/browser/ui/toolbar/test_toolbar_model.cc
+++ b/chrome/browser/ui/toolbar/test_toolbar_model.cc
@@ -8,7 +8,7 @@
TestToolbarModel::TestToolbarModel()
: ToolbarModel(),
- should_replace_url_(false),
+ search_term_type_(SEARCH_TERM_NONE),
security_level_(NONE),
icon_(IDR_LOCATION_BAR_HTTP),
should_display_url_(true),
@@ -29,8 +29,11 @@ GURL TestToolbarModel::GetURL() const {
return url_;
}
-bool TestToolbarModel::WouldReplaceSearchURLWithSearchTerms() const {
- return should_replace_url_;
+ToolbarModel::SearchTermType TestToolbarModel::GetSearchTermType() const {
+ return search_term_type_;
+}
+
+void TestToolbarModel::SetIsProminentSearchTermUISupported(bool value) {
}
ToolbarModel::SecurityLevel TestToolbarModel::GetSecurityLevel() const {

Powered by Google App Engine
This is Rietveld 408576698