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

Unified Diff: ui/views/animation/ink_drop_hover_unittest.cc

Issue 1682893002: Color the ink drop ripple and hover effects based on theming. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix unit tests 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
Index: ui/views/animation/ink_drop_hover_unittest.cc
diff --git a/ui/views/animation/ink_drop_hover_unittest.cc b/ui/views/animation/ink_drop_hover_unittest.cc
index 08ee8b98861d68c9bba34a83043df922be0a7842..09d576455ab00713f415b656ba12691cd695d85b 100644
--- a/ui/views/animation/ink_drop_hover_unittest.cc
+++ b/ui/views/animation/ink_drop_hover_unittest.cc
@@ -8,6 +8,7 @@
#include "base/memory/scoped_ptr.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/compositor/scoped_animation_duration_scale_mode.h"
+#include "ui/gfx/color_palette.h"
#include "ui/gfx/geometry/size.h"
namespace views {
@@ -36,7 +37,8 @@ InkDropHoverTest::InkDropHoverTest() {
InkDropHoverTest::~InkDropHoverTest() {}
scoped_ptr<InkDropHover> InkDropHoverTest::CreateInkDropHover() const {
- return make_scoped_ptr(new InkDropHover(gfx::Size(10, 10), 3));
+ return make_scoped_ptr(
+ new InkDropHover(gfx::kPlaceholderColor, gfx::Size(10, 10), 3));
}
TEST_F(InkDropHoverTest, InitialStateAfterConstruction) {

Powered by Google App Engine
This is Rietveld 408576698