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

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

Issue 2509743002: Adjust MD shelf app list icon for better centering. (Closed)
Patch Set: 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') | ash/common/shelf/app_list_button.cc » ('J')
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 31e50005ec2d72a113fe759983548a2d4f70fb38..0c7b553d67f37916777231ef4f206e6e208867e6 100644
--- a/ash/common/shelf/app_list_button.h
+++ b/ash/common/shelf/app_list_button.h
@@ -50,11 +50,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') | ash/common/shelf/app_list_button.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698