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

Unified Diff: ui/views/animation/test/test_ink_drop_host.cc

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/square_ink_drop_animation_unittest.cc ('k') | ui/views/controls/button/custom_button.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/animation/test/test_ink_drop_host.cc
diff --git a/ui/views/animation/test/test_ink_drop_host.cc b/ui/views/animation/test/test_ink_drop_host.cc
index c8572f3d856302df7cce5ecb40a05a0b3f62e1a7..5b46b0da280527e5f37fce203d3894c117154b66 100644
--- a/ui/views/animation/test/test_ink_drop_host.cc
+++ b/ui/views/animation/test/test_ink_drop_host.cc
@@ -24,12 +24,14 @@ void TestInkDropHost::RemoveInkDropLayer(ui::Layer* ink_drop_layer) {
scoped_ptr<InkDropAnimation> TestInkDropHost::CreateInkDropAnimation() const {
gfx::Size size(10, 10);
- return make_scoped_ptr(new SquareInkDropAnimation(size, 5, size, 5));
+ return make_scoped_ptr(new SquareInkDropAnimation(
+ size, 5, size, 5, gfx::Point(), SK_ColorBLACK));
}
scoped_ptr<InkDropHover> TestInkDropHost::CreateInkDropHover() const {
return should_show_hover_
- ? make_scoped_ptr(new InkDropHover(gfx::Size(10, 10), 4))
+ ? make_scoped_ptr(new InkDropHover(gfx::Size(10, 10), 4,
+ gfx::Point(), SK_ColorBLACK))
: nullptr;
}
« no previous file with comments | « ui/views/animation/square_ink_drop_animation_unittest.cc ('k') | ui/views/controls/button/custom_button.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698