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

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: 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
« no previous file with comments | « chrome/browser/ui/toolbar/test_toolbar_model.h ('k') | chrome/browser/ui/toolbar/toolbar_model.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..c87dbf504228039d56c325c66ce9cff9ef2a4062 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_terms_type_(NO_SEARCH_TERMS),
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::SearchTermsType TestToolbarModel::GetSearchTermsType() const {
+ return search_terms_type_;
+}
+
+void TestToolbarModel::SetSupportsExtractionOfURLLikeSearchTerms(bool value) {
}
ToolbarModel::SecurityLevel TestToolbarModel::GetSecurityLevel() const {
« no previous file with comments | « chrome/browser/ui/toolbar/test_toolbar_model.h ('k') | chrome/browser/ui/toolbar/toolbar_model.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698