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

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: Fixed InstantNTPPrerendererTest Created 7 years, 3 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
« no previous file with comments | « chrome/browser/search/instant_service.cc ('k') | chrome/browser/search/instant_service_observer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..7d88b1acd2b41420b9a7a4ea3fd4f32c542994da 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 default search provider changed.
+ 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() {}
« no previous file with comments | « chrome/browser/search/instant_service.cc ('k') | chrome/browser/search/instant_service_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698