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

Unified Diff: ui/views/controls/button/custom_button.h

Issue 2033553003: Add MD ink drop ripple to shelf app items (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed TODO 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
« no previous file with comments | « ui/views/animation/test/ink_drop_host_view_test_api.h ('k') | ui/views/controls/button/custom_button.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/button/custom_button.h
diff --git a/ui/views/controls/button/custom_button.h b/ui/views/controls/button/custom_button.h
index 3dbec335993d42506198439916eda6767bfbad34..a73d5008cf67e90ce6790de0f9bca7660573736c 100644
--- a/ui/views/controls/button/custom_button.h
+++ b/ui/views/controls/button/custom_button.h
@@ -17,8 +17,6 @@
namespace views {
-class InkDropDelegate;
-
// A button with custom rendering. The base of ImageButton and LabelButton.
// Note that this type of button is not focusable by default and will not be
// part of the focus chain, unless in accessibility mode. Call
@@ -184,13 +182,8 @@ class VIEWS_EXPORT CustomButton : public Button, public gfx::AnimationDelegate {
// True when a button click should trigger an animation action on
// ink_drop_delegate().
- // TODO(bruthig): Use an InkDropAction enum and drop the flag.
bool has_ink_drop_action_on_click_;
- // The animation action to trigger on ink_drop_delegate() when the button
- // is clicked.
- InkDropState ink_drop_action_on_click_;
-
// When true, the ink drop ripple and hover will be hidden prior to showing
// the context menu.
bool hide_ink_drop_when_showing_context_menu_;
« no previous file with comments | « ui/views/animation/test/ink_drop_host_view_test_api.h ('k') | ui/views/controls/button/custom_button.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698