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

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

Issue 1724963002: Color the ink drop ripple and hover effects based on theming. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sky review Created 4 years, 10 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/ink_drop_animation_unittest.cc ('k') | ui/views/animation/ink_drop_host_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/animation/ink_drop_host_view.h
diff --git a/ui/views/animation/ink_drop_host_view.h b/ui/views/animation/ink_drop_host_view.h
index c77a39f065bb6501ca9466c02420d57744a36fcf..87832b7dd0ae7e3e5758e2e37dafa9dbf468bcfc 100644
--- a/ui/views/animation/ink_drop_host_view.h
+++ b/ui/views/animation/ink_drop_host_view.h
@@ -6,6 +6,7 @@
#define UI_VIEWS_ANIMATION_INK_DROP_HOST_VIEW_H_
#include "base/memory/scoped_ptr.h"
+#include "third_party/skia/include/core/SkColor.h"
#include "ui/views/animation/ink_drop_host.h"
#include "ui/views/view.h"
@@ -30,6 +31,7 @@ class VIEWS_EXPORT InkDropHostView : public views::View, public InkDropHost {
// Overrideable methods to allow views to provide minor tweaks to the default
// ink drop.
virtual gfx::Point GetInkDropCenter() const;
+ virtual SkColor GetInkDropBaseColor() const;
private:
DISALLOW_COPY_AND_ASSIGN(InkDropHostView);
« no previous file with comments | « ui/views/animation/ink_drop_animation_unittest.cc ('k') | ui/views/animation/ink_drop_host_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698