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

Unified Diff: ui/app_list/search_box_model.cc

Issue 12789010: [win] Change app launcher profile indicator to be a menu. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Clang fail Created 7 years, 9 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 | « ui/app_list/search_box_model.h ('k') | ui/app_list/search_box_model_observer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/search_box_model.cc
diff --git a/ui/app_list/search_box_model.cc b/ui/app_list/search_box_model.cc
index 198b46642d071631ed4cdcc224ced4af602f5d54..c88508674eef11f36b3b79d980733efcfee1d540 100644
--- a/ui/app_list/search_box_model.cc
+++ b/ui/app_list/search_box_model.cc
@@ -8,8 +8,7 @@
namespace app_list {
-SearchBoxModel::SearchBoxModel()
- : user_icon_enabled_(false) {
+SearchBoxModel::SearchBoxModel() {
}
SearchBoxModel::~SearchBoxModel() {
@@ -20,23 +19,6 @@ void SearchBoxModel::SetIcon(const gfx::ImageSkia& icon) {
FOR_EACH_OBSERVER(SearchBoxModelObserver, observers_, IconChanged());
}
-void SearchBoxModel::SetUserIcon(const gfx::ImageSkia& icon) {
- user_icon_ = icon;
- FOR_EACH_OBSERVER(SearchBoxModelObserver, observers_, UserIconChanged());
-}
-
-void SearchBoxModel::SetUserIconTooltip(const string16& tooltip_text) {
- user_icon_tooltip_ = tooltip_text;
- FOR_EACH_OBSERVER(SearchBoxModelObserver, observers_,
- UserIconTooltipChanged());
-}
-
-void SearchBoxModel::SetUserIconEnabled(bool user_icon_enabled) {
- user_icon_enabled_ = user_icon_enabled;
- FOR_EACH_OBSERVER(SearchBoxModelObserver, observers_,
- UserIconEnabledChanged());
-}
-
void SearchBoxModel::SetHintText(const string16& hint_text) {
if (hint_text_ == hint_text)
return;
« no previous file with comments | « ui/app_list/search_box_model.h ('k') | ui/app_list/search_box_model_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698