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

Unified Diff: chrome/browser/ui/search/search_tab_helper.h

Issue 10908226: Introduces a search term extraction mechanism working for arbitrary search providers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed keyword_table_unittest Created 8 years, 3 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/search/search_tab_helper.h
diff --git a/chrome/browser/ui/search/search_tab_helper.h b/chrome/browser/ui/search/search_tab_helper.h
index cae2906287f87feb1e6fda2a8274b60d7d9a29eb..06617a1ede5b26f02247104f4041827f9a8016c6 100644
--- a/chrome/browser/ui/search/search_tab_helper.h
+++ b/chrome/browser/ui/search/search_tab_helper.h
@@ -97,6 +97,9 @@ class SearchTabHelper : public content::WebContentsObserver,
// and used for the mode change on the |model_|.
void UpdateModelBasedOnURL(const GURL& url, NTPLoadState state, bool animate);
+ // Checks if a search term can be extracted from the provided URL.
+ bool CanExtractSearchTerms(const GURL& url);
+
// Returns the web contents associated with the tab that owns this helper.
const content::WebContents* web_contents() const;

Powered by Google App Engine
This is Rietveld 408576698