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

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

Issue 2034963002: Rename InkDropHover to InkDropHighlight (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: relative patchset Created 4 years, 6 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
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "ui/views/animation/test/ink_drop_hover_test_api.h"
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_hover.h"
12
13 namespace views {
14 namespace test {
15
16 InkDropHoverTestApi::InkDropHoverTestApi(InkDropHover* ink_drop_hover)
17 : ui::test::MultiLayerAnimatorTestController(this),
18 ink_drop_hover_(ink_drop_hover) {}
19
20 InkDropHoverTestApi::~InkDropHoverTestApi() {}
21
22 std::vector<ui::LayerAnimator*> InkDropHoverTestApi::GetLayerAnimators() {
23 std::vector<ui::LayerAnimator*> animators;
24 animators.push_back(ink_drop_hover()->layer_->GetAnimator());
25 return animators;
26 }
27
28 } // namespace test
29 } // namespace views
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698