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

Unified Diff: ash/common/shelf/app_list_button.h

Issue 2509743002: Adjust MD shelf app list icon for better centering. (Closed)
Patch Set: rebase Created 4 years, 1 month 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 | « no previous file | ash/common/shelf/app_list_button.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/shelf/app_list_button.h
diff --git a/ash/common/shelf/app_list_button.h b/ash/common/shelf/app_list_button.h
index a14e04973265522b68e50d56ee1328718b2f176f..fad5bbeb9a16d254279f7c32fb6ef22bfb0c7962 100644
--- a/ash/common/shelf/app_list_button.h
+++ b/ash/common/shelf/app_list_button.h
@@ -51,11 +51,9 @@ class ASH_EXPORT AppListButton : public views::ImageButton {
// Toggles the active state for painting the background and schedules a paint.
void SetDrawBackgroundAsActive(bool draw_background_as_active);
- // Helper functions to paint the background and foreground of the AppList
+ // Helper function to paint the background and foreground of the AppList
// button in Chrome OS MD.
- void PaintBackgroundMD(gfx::Canvas* canvas);
- void PaintForegroundMD(gfx::Canvas* canvas,
- const gfx::ImageSkia& foreground_image);
+ void PaintMd(gfx::Canvas* canvas);
// Helper function to paint the AppList button in Chrome OS non-MD.
void PaintAppListButton(gfx::Canvas* canvas,
« no previous file with comments | « no previous file | ash/common/shelf/app_list_button.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698