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

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: Fixed include errir Created 7 years, 10 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/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..393b5d37613df279265c9b8aeab14ac4fcc87432 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 GetSearchTermsForCurrentUrl();
Ted C 2013/03/01 02:50:21 Hmm...I would still probably say CurrentTab instea
Yusuf 2013/03/01 18:58:20 Done.
+
+ // 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 | « no previous file | chrome/browser/ui/android/tab_model/tab_model.cc » ('j') | chrome/browser/ui/android/tab_model/tab_model.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698