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

Unified Diff: chrome/browser/search/instant_service_observer.h

Issue 20388003: Reload Instant NTP and Instant-process tabs on search url change (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased and addressed comments Created 7 years, 4 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/search/instant_service_observer.h
diff --git a/chrome/browser/search/instant_service_observer.h b/chrome/browser/search/instant_service_observer.h
index c282c937e3ca0b3b475a3f4e4df9c61897419bf1..5c4ca0c92bc0b8d6d0e42ceca0ef486c262d86b7 100644
--- a/chrome/browser/search/instant_service_observer.h
+++ b/chrome/browser/search/instant_service_observer.h
@@ -14,11 +14,19 @@ struct ThemeBackgroundInfo;
class InstantServiceObserver {
public:
// Indicates that the user's custom theme has changed in some way.
- virtual void ThemeInfoChanged(const ThemeBackgroundInfo&) = 0;
+ virtual void ThemeInfoChanged(const ThemeBackgroundInfo&);
// Indicates that the most visited items has changed.
virtual void MostVisitedItemsChanged(
- const std::vector<InstantMostVisitedItem>&) = 0;
+ const std::vector<InstantMostVisitedItem>&);
+
+ // Indicates that the search provider setting was changed.
samarth 2013/08/14 00:24:14 nit: Indicates that the default search provider ch
Anuj 2013/08/14 06:38:57 Done.
+ virtual void DefaultSearchProviderChanged();
+
+ // Indicates that the Google URL has changed as a result of searchdomaincheck.
+ // Note that the search domain change triggers a yellow infobar at the top of
+ // the page, and the actual change is triggered after the user accepts.
+ virtual void GoogleURLUpdated();
protected:
virtual ~InstantServiceObserver() {}

Powered by Google App Engine
This is Rietveld 408576698