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

Side by Side Diff: ui/app_list/app_list_model_observer.h

Issue 907833002: Hide experimental app list Google logo and custom launcher page when search engine is not Google. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@update_app_list_bg_color
Patch Set: address comment, add service dependency Created 5 years, 10 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 unified diff | Download patch
« no previous file with comments | « ui/app_list/app_list_model.cc ('k') | ui/app_list/views/app_list_main_view.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_APP_LIST_APP_LIST_MODEL_OBSERVER_H_ 5 #ifndef UI_APP_LIST_APP_LIST_MODEL_OBSERVER_H_
6 #define UI_APP_LIST_APP_LIST_MODEL_OBSERVER_H_ 6 #define UI_APP_LIST_APP_LIST_MODEL_OBSERVER_H_
7 7
8 #include "ui/app_list/app_list_export.h" 8 #include "ui/app_list/app_list_export.h"
9 #include "ui/app_list/app_list_model.h" 9 #include "ui/app_list/app_list_model.h"
10 10
(...skipping 18 matching lines...) Expand all
29 29
30 // Triggered just after an item is deleted from the model. 30 // Triggered just after an item is deleted from the model.
31 virtual void OnAppListItemDeleted() {} 31 virtual void OnAppListItemDeleted() {}
32 32
33 // Triggered after |item| has moved, changed folders, or changed properties. 33 // Triggered after |item| has moved, changed folders, or changed properties.
34 virtual void OnAppListItemUpdated(AppListItem* item) {} 34 virtual void OnAppListItemUpdated(AppListItem* item) {}
35 35
36 // Triggered when the custom launcher page enabled state is changed. 36 // Triggered when the custom launcher page enabled state is changed.
37 virtual void OnCustomLauncherPageEnabledStateChanged(bool enabled) {} 37 virtual void OnCustomLauncherPageEnabledStateChanged(bool enabled) {}
38 38
39 // Triggered when the search engine is changed to and from Google.
40 virtual void OnSearchEngineIsGoogleChanged(bool is_google) {}
41
39 protected: 42 protected:
40 virtual ~AppListModelObserver() {} 43 virtual ~AppListModelObserver() {}
41 }; 44 };
42 45
43 } // namespace app_list 46 } // namespace app_list
44 47
45 #endif // UI_APP_LIST_APP_LIST_MODEL_OBSERVER_H_ 48 #endif // UI_APP_LIST_APP_LIST_MODEL_OBSERVER_H_
OLDNEW
« no previous file with comments | « ui/app_list/app_list_model.cc ('k') | ui/app_list/views/app_list_main_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698