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

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

Issue 2067013002: Removed InkDropFactory. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed views:: -> ui:: compile error. Created 4 years, 6 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/toolbar_button.cc
diff --git a/chrome/browser/ui/views/toolbar/toolbar_button.cc b/chrome/browser/ui/views/toolbar/toolbar_button.cc
index 82a4f391e2685c6854abd75b387b9c39adc7ceed..b49a042b1b3535fd5b8fc6a9d26cbba021d65ef4 100644
--- a/chrome/browser/ui/views/toolbar/toolbar_button.cc
+++ b/chrome/browser/ui/views/toolbar/toolbar_button.cc
@@ -37,11 +37,12 @@ ToolbarButton::ToolbarButton(Profile* profile,
menu_showing_(false),
y_position_on_lbuttondown_(0),
show_menu_factory_(this) {
- SetHasInkDrop(true);
set_has_ink_drop_action_on_click(true);
set_context_menu_controller(this);
- if (ui::MaterialDesignController::IsModeMaterial())
+ if (ui::MaterialDesignController::IsModeMaterial()) {
+ SetHasInkDrop(true);
SetFocusPainter(nullptr);
+ }
}
ToolbarButton::~ToolbarButton() {}
« no previous file with comments | « chrome/browser/ui/views/toolbar/toolbar_action_view.cc ('k') | ui/base/material_design/material_design_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698