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

Unified Diff: ash/common/system/tray/system_menu_button.cc

Issue 2401623003: Remove ink drop highlight for Ash MD SystemMenuButton (Closed)
Patch Set: Created 4 years, 2 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/tray/system_menu_button.cc
diff --git a/ash/common/system/tray/system_menu_button.cc b/ash/common/system/tray/system_menu_button.cc
index 9955698c478fd3bf0711955916c2aaf0fd4eca72..3ac437d6e40a3cf517917011f5d41a760a5b0095 100644
--- a/ash/common/system/tray/system_menu_button.cc
+++ b/ash/common/system/tray/system_menu_button.cc
@@ -38,7 +38,7 @@ SystemMenuButton::SystemMenuButton(views::ButtonListener* listener,
SetInkDropMode(InkDropMode::ON_NO_GESTURE_HANDLER);
set_has_ink_drop_action_on_click(true);
- set_ink_drop_base_color(kMenuIconColor);
+ set_ink_drop_base_color(SK_ColorBLACK);
}
SystemMenuButton::~SystemMenuButton() {}
@@ -52,10 +52,7 @@ std::unique_ptr<views::InkDropRipple> SystemMenuButton::CreateInkDropRipple()
std::unique_ptr<views::InkDropHighlight>
SystemMenuButton::CreateInkDropHighlight() const {
- gfx::Size size = GetLocalBounds().size();
- return base::MakeUnique<views::InkDropHighlight>(
- size, kInkDropSmallCornerRadius,
- gfx::RectF(gfx::SizeF(size)).CenterPoint(), kMenuIconColor);
+ return nullptr;
}
bool SystemMenuButton::ShouldShowInkDropForFocus() const {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698