Rename vector icon header files.
[chromium-blink-merge.git] / chrome / browser / search / instant_service_observer.h
blobd38337d52062e150754796b9f5318d5d545b3cd6
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_SEARCH_INSTANT_SERVICE_OBSERVER_H_
6 #define CHROME_BROWSER_SEARCH_INSTANT_SERVICE_OBSERVER_H_
8 #include <vector>
10 struct InstantMostVisitedItem;
11 struct ThemeBackgroundInfo;
13 // InstantServiceObserver defines the observer interface for InstantService.
14 class InstantServiceObserver {
15 public:
16 // Indicates that the user's custom theme has changed in some way.
17 virtual void ThemeInfoChanged(const ThemeBackgroundInfo&);
19 // Indicates that the most visited items has changed.
20 virtual void MostVisitedItemsChanged(
21 const std::vector<InstantMostVisitedItem>&);
23 // Indicates that the default search provider changed. Parameter indicates
24 // whether the Google base URL changed (such as when the user migrates from
25 // one google.<TLD> to another TLD).
26 virtual void DefaultSearchProviderChanged(
27 bool google_base_url_domain_changed);
29 // Indicates that the omnibox start margin has changed.
30 virtual void OmniboxStartMarginChanged(int omnibox_start_margin);
32 protected:
33 virtual ~InstantServiceObserver() {}
36 #endif // CHROME_BROWSER_SEARCH_INSTANT_SERVICE_OBSERVER_H_