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

Side by Side Diff: ui/views/animation/test/ink_drop_animation_test_api.cc

Issue 1951593002: Add MD Ink Drop to host only when a ripple/hover is active. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2704
Patch Set: Replaced unique_ptr with scoped_ptr. Created 4 years, 7 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ui/views/animation/test/ink_drop_animation_test_api.h" 5 #include "ui/views/animation/test/ink_drop_animation_test_api.h"
6 6
7 #include "base/time/time.h"
8 #include "ui/compositor/layer.h"
9 #include "ui/compositor/layer_animator.h"
10 #include "ui/compositor/test/layer_animator_test_controller.h"
11 #include "ui/views/animation/ink_drop_animation.h"
12
13 namespace views { 7 namespace views {
14 namespace test { 8 namespace test {
15 9
16 InkDropAnimationTestApi::InkDropAnimationTestApi( 10 InkDropAnimationTestApi::InkDropAnimationTestApi(
17 InkDropAnimation* ink_drop_animation) 11 InkDropAnimation* ink_drop_animation)
18 : ui::test::MultiLayerAnimatorTestController(this), 12 : ui::test::MultiLayerAnimatorTestController(this),
19 ink_drop_animation_(ink_drop_animation) {} 13 ink_drop_animation_(ink_drop_animation) {}
20 14
21 InkDropAnimationTestApi::~InkDropAnimationTestApi() {} 15 InkDropAnimationTestApi::~InkDropAnimationTestApi() {}
22 16
23 std::vector<ui::LayerAnimator*> InkDropAnimationTestApi::GetLayerAnimators() { 17 std::vector<ui::LayerAnimator*> InkDropAnimationTestApi::GetLayerAnimators() {
24 return std::vector<ui::LayerAnimator*>(); 18 return std::vector<ui::LayerAnimator*>();
25 } 19 }
26 20
27 } // namespace test 21 } // namespace test
28 } // namespace views 22 } // namespace views
OLDNEW
« no previous file with comments | « ui/views/animation/test/ink_drop_animation_test_api.h ('k') | ui/views/animation/test/test_ink_drop_animation_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698