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

Unified Diff: chrome/browser/ui/views/toolbar/app_menu_button.cc

Issue 1752553002: [MD] Fix some ink drop colors (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/toolbar/app_menu_button.cc
diff --git a/chrome/browser/ui/views/toolbar/app_menu_button.cc b/chrome/browser/ui/views/toolbar/app_menu_button.cc
index 48e20fce6ebe08bff38f0b187f24605cff04a17b..12c0e38dfdc7ac277baa9d7eda618c0c97d26bf7 100644
--- a/chrome/browser/ui/views/toolbar/app_menu_button.cc
+++ b/chrome/browser/ui/views/toolbar/app_menu_button.cc
@@ -188,17 +188,6 @@ void AppMenuButton::SetTrailingMargin(int margin) {
InvalidateLayout();
}
-void AppMenuButton::AddInkDropLayer(ui::Layer* ink_drop_layer) {
Evan Stade 2016/03/01 00:23:37 these are no longer necessary because MenuButton i
- image()->SetPaintToLayer(true);
- image()->SetFillsBoundsOpaquely(false);
- views::MenuButton::AddInkDropLayer(ink_drop_layer);
-}
-
-void AppMenuButton::RemoveInkDropLayer(ui::Layer* ink_drop_layer) {
- views::MenuButton::RemoveInkDropLayer(ink_drop_layer);
- image()->SetPaintToLayer(false);
-}
-
gfx::Point AppMenuButton::GetInkDropCenter() const {
// ToolbarView extends the bounds of the app button to the right in maximized
// mode. So instead of using the center point of local bounds, we use the

Powered by Google App Engine
This is Rietveld 408576698