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

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

Issue 11415292: [Search] No longer reverting omnibox text on instant search (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: session_types comment 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.cc
diff --git a/content/browser/web_contents/navigation_entry_impl.cc b/content/browser/web_contents/navigation_entry_impl.cc
index 53d70aaf7cbbfd868cdd20bbd1fa0b21ff0eba63..4016cb2ef5b79d3729e3f2a910ca1eb4157e8b5e 100644
--- a/content/browser/web_contents/navigation_entry_impl.cc
+++ b/content/browser/web_contents/navigation_entry_impl.cc
@@ -128,6 +128,14 @@ const string16& NavigationEntryImpl::GetTitle() const {
return title_;
}
+void NavigationEntryImpl::SetSearchTerms(const string16& search_terms) {
+ search_terms_ = search_terms;
+}
+
+const string16& NavigationEntryImpl::GetSearchTerms() const {
+ return search_terms_;
+}
+
void NavigationEntryImpl::SetContentState(const std::string& state) {
content_state_ = state;
}

Powered by Google App Engine
This is Rietveld 408576698