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

Unified Diff: ui/views/animation/ink_drop_host.h

Issue 2396133005: [ash-md] Animates ToggleButton highlight to move it in sync with the thumb (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 | ui/views/animation/ink_drop_host_view.h » ('j') | ui/views/controls/button/toggle_button.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/animation/ink_drop_host.h
diff --git a/ui/views/animation/ink_drop_host.h b/ui/views/animation/ink_drop_host.h
index d6b39bf2344efd6e27223ad15265f2704ab49554..d201e1d1ca56d7e5bc2c285c41859ded6e6ee088 100644
--- a/ui/views/animation/ink_drop_host.h
+++ b/ui/views/animation/ink_drop_host.h
@@ -44,6 +44,9 @@ class VIEWS_EXPORT InkDropHost {
// Creates and returns the effect used for hover and focus.
virtual std::unique_ptr<InkDropHighlight> CreateInkDropHighlight() const = 0;
+ // Translates the root layer by |offset|.
+ virtual void OffsetInkDropRipple(const gfx::Vector2d& offset) = 0;
bruthig 2016/10/08 22:44:46 I think it would be better to move this function i
varkha 2016/10/12 00:44:59 Acknowledged.
+
private:
DISALLOW_COPY_AND_ASSIGN(InkDropHost);
};
« no previous file with comments | « no previous file | ui/views/animation/ink_drop_host_view.h » ('j') | ui/views/controls/button/toggle_button.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698