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

Unified Diff: ui/app_list/app_list_item.h

Issue 1154323002: Use app list item shadow for app list folders. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fix_arrow_keys_crash
Patch Set: fix mac compile Created 5 years, 6 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/app_list_folder_item.cc ('k') | ui/app_list/app_list_item.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/app_list_item.h
diff --git a/ui/app_list/app_list_item.h b/ui/app_list/app_list_item.h
index ab5632fef2fdc0b9d271dcd87426edb9cd36b53a..fafa90c9d55cdc44f4213bf00e7aae75041531d0 100644
--- a/ui/app_list/app_list_item.h
+++ b/ui/app_list/app_list_item.h
@@ -33,9 +33,8 @@ class APP_LIST_EXPORT AppListItem {
explicit AppListItem(const std::string& id);
virtual ~AppListItem();
- void SetIcon(const gfx::ImageSkia& icon, bool has_shadow);
+ void SetIcon(const gfx::ImageSkia& icon);
const gfx::ImageSkia& icon() const { return icon_; }
- bool has_shadow() const { return has_shadow_; }
const std::string& GetDisplayName() const {
return short_name_.empty() ? name_ : short_name_;
@@ -121,7 +120,6 @@ class APP_LIST_EXPORT AppListItem {
std::string folder_id_; // Id of containing folder; empty if top level item.
syncer::StringOrdinal position_;
gfx::ImageSkia icon_;
- bool has_shadow_;
// The full name of an item. Used for display if |short_name_| is empty.
std::string name_;
« no previous file with comments | « ui/app_list/app_list_folder_item.cc ('k') | ui/app_list/app_list_item.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698