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

Unified Diff: content/browser/web_contents/navigation_entry_impl.h

Issue 11415292: [Search] No longer reverting omnibox text on instant search (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: More tests Created 8 years 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: content/browser/web_contents/navigation_entry_impl.h
diff --git a/content/browser/web_contents/navigation_entry_impl.h b/content/browser/web_contents/navigation_entry_impl.h
index ba13c147fd44b14eed9b8cae8fc866075ec15c24..794dfdabd362d698bbc7fdb1b47b4f8729998da8 100644
--- a/content/browser/web_contents/navigation_entry_impl.h
+++ b/content/browser/web_contents/navigation_entry_impl.h
@@ -43,6 +43,8 @@ class CONTENT_EXPORT NavigationEntryImpl
virtual const GURL& GetVirtualURL() const OVERRIDE;
virtual void SetTitle(const string16& title) OVERRIDE;
virtual const string16& GetTitle() const OVERRIDE;
+ virtual void SetSearchTerms(const string16& search_terms) OVERRIDE;
+ virtual const string16& GetSearchTerms() const OVERRIDE;
virtual void SetContentState(const std::string& state) OVERRIDE;
virtual const std::string& GetContentState() const OVERRIDE;
virtual void SetPageID(int page_id) OVERRIDE;
@@ -184,6 +186,7 @@ class CONTENT_EXPORT NavigationEntryImpl
GURL virtual_url_;
bool update_virtual_url_with_url_;
string16 title_;
+ string16 search_terms_;
FaviconStatus favicon_;
std::string content_state_;
int32 page_id_;

Powered by Google App Engine
This is Rietveld 408576698