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

Unified Diff: chrome/browser/ui/views/search_view_controller.h

Issue 10827055: Move web_contents from SearchViewController to SearchTabHelper (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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/views/search_view_controller.h
diff --git a/chrome/browser/ui/views/search_view_controller.h b/chrome/browser/ui/views/search_view_controller.h
index 05d6e72577dd59e250d405c989ffb1a914380ed7..91cd38ae69ff3a4f9e2e347590393c5437446af1 100644
--- a/chrome/browser/ui/views/search_view_controller.h
+++ b/chrome/browser/ui/views/search_view_controller.h
@@ -102,6 +102,10 @@ class SearchViewController
// Invoked when the visibility of the omnibox popup changes.
void PopupVisibilityChanged();
+ // Load the NTP from the associated |SearchTabHelper| if in NTP mode
+ // and the current |tab_contents_| has changed.
+ void MaybeLoadNTP();
+
// Access active search model.
chrome::search::SearchModel* search_model();

Powered by Google App Engine
This is Rietveld 408576698