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

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

Issue 2914043002: Changed extension buttons to use a flood-fill ripple when in the chrome menu. (Closed)
Patch Set: Created 3 years, 7 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 | « chrome/browser/ui/views/toolbar/toolbar_action_view.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/toolbar/toolbar_action_view.cc
diff --git a/chrome/browser/ui/views/toolbar/toolbar_action_view.cc b/chrome/browser/ui/views/toolbar/toolbar_action_view.cc
index b68586650e96c1f7954f8575224d85a3e9d67644..5fae9cd86e7624179ce9590fafaba50c18934e22 100644
--- a/chrome/browser/ui/views/toolbar/toolbar_action_view.cc
+++ b/chrome/browser/ui/views/toolbar/toolbar_action_view.cc
@@ -106,6 +106,10 @@ SkColor ToolbarActionView::GetInkDropBaseColor() const {
ThemeProperties::COLOR_TOOLBAR_BUTTON_ICON);
}
+bool ToolbarActionView::ShouldUseFloodFillInkDrop() const {
+ return delegate_->ShownInsideMenu();
+}
+
std::unique_ptr<views::InkDrop> ToolbarActionView::CreateInkDrop() {
std::unique_ptr<views::InkDropImpl> ink_drop =
CustomButton::CreateDefaultInkDropImpl();
« no previous file with comments | « chrome/browser/ui/views/toolbar/toolbar_action_view.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698