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

Unified Diff: ui/views/controls/button/checkbox.cc

Issue 2911573002: Remove hover highlight on Harmony checkboxes. (Closed)
Patch Set: just return nullptr 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 | « ui/views/controls/button/checkbox.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/button/checkbox.cc
diff --git a/ui/views/controls/button/checkbox.cc b/ui/views/controls/button/checkbox.cc
index fcf0ddbaffee66a28d6f240a11314cea4370dd3b..ba29b4609edf277798a9358f4efdb7f12069de51 100644
--- a/ui/views/controls/button/checkbox.cc
+++ b/ui/views/controls/button/checkbox.cc
@@ -15,6 +15,7 @@
#include "ui/gfx/color_utils.h"
#include "ui/gfx/paint_vector_icon.h"
#include "ui/resources/grit/ui_resources.h"
+#include "ui/views/animation/ink_drop_highlight.h"
#include "ui/views/animation/ink_drop_ripple.h"
#include "ui/views/animation/square_ink_drop_ripple.h"
#include "ui/views/controls/button/label_button_border.h"
@@ -169,6 +170,11 @@ std::unique_ptr<InkDropRipple> Checkbox::CreateInkDropRipple() const {
return ripple;
}
+std::unique_ptr<views::InkDropHighlight> Checkbox::CreateInkDropHighlight()
+ const {
+ return nullptr;
sky 2017/05/26 02:28:54 Is harmony the default everywhere not? If not, won
Bret 2017/05/26 19:58:25 Harmony isn't on by default yet. Checkboxes don't
+}
+
SkColor Checkbox::GetInkDropBaseColor() const {
return GetNativeTheme()->GetSystemColor(
ui::NativeTheme::kColorId_ButtonEnabledColor);
« no previous file with comments | « ui/views/controls/button/checkbox.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698