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

Unified Diff: chrome/browser/ui/android/tab_model/tab_model.h

Issue 12387026: Expose getSearchTerms to tab_model for Android (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased again... Created 7 years, 9 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/instant/search.cc ('k') | chrome/browser/ui/android/tab_model/tab_model.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/android/tab_model/tab_model.h
diff --git a/chrome/browser/ui/android/tab_model/tab_model.h b/chrome/browser/ui/android/tab_model/tab_model.h
index dc2a00268921b58ad4b08d6db778352c4cf9e224..f19ec782ae58ef4e3ffa93656256e6b6a250b5d6 100644
--- a/chrome/browser/ui/android/tab_model/tab_model.h
+++ b/chrome/browser/ui/android/tab_model/tab_model.h
@@ -58,6 +58,12 @@ class TabModel : public content::NotificationObserver,
ToolbarModel::SecurityLevel GetSecurityLevelForCurrentTab();
+ // Returns search terms extracted from the current url if possible.
+ string16 GetSearchTermsForCurrentTab();
+
+ // Returns the parameter that is used to trigger query extraction.
+ std::string GetQueryExtractionParam();
+
protected:
// Instructs the TabModel to broadcast a notification that all tabs are now
// loaded from storage.
« no previous file with comments | « chrome/browser/instant/search.cc ('k') | chrome/browser/ui/android/tab_model/tab_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698