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/test/empty_ink_drop_ripple_test_api.cc

Issue 2340993002: Tweaks to "Allow InkDropRipple to co-exist with highlight or not exist at all." (Closed)
Patch Set: Fixed InkDropImplTest.HighlightCanExistWithoutRipple. Created 4 years, 3 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/test/empty_ink_drop_ripple_test_api.cc
diff --git a/ui/views/animation/test/empty_ink_drop_ripple_test_api.cc b/ui/views/animation/test/empty_ink_drop_ripple_test_api.cc
new file mode 100644
index 0000000000000000000000000000000000000000..cfba6a3ac21478484fdb4bab88560857361ebb23
--- /dev/null
+++ b/ui/views/animation/test/empty_ink_drop_ripple_test_api.cc
@@ -0,0 +1,25 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "ui/views/animation/test/empty_ink_drop_ripple_test_api.h"
+
+namespace views {
+namespace test {
+
+EmptyInkDropRippleTestApi::EmptyInkDropRippleTestApi(
+ EmptyInkDropRipple* ink_drop_ripple)
+ : InkDropRippleTestApi(ink_drop_ripple) {}
+
+EmptyInkDropRippleTestApi::~EmptyInkDropRippleTestApi() {}
+
+float EmptyInkDropRippleTestApi::GetCurrentOpacity() const {
+ return 0;
+}
+
+std::vector<ui::LayerAnimator*> EmptyInkDropRippleTestApi::GetLayerAnimators() {
+ return std::vector<ui::LayerAnimator*>();
+}
+
+} // namespace test
+} // namespace views

Powered by Google App Engine
This is Rietveld 408576698