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

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

Issue 1897073002: Add MD Ink Drop Layers to InkDropHost only when a ripple/hover is active. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added some more tests. 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
(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/test_ink_drop_hover_observer.h"
6
7 #include "ui/views/animation/ink_drop_hover.h"
8
9 namespace views {
10 namespace test {
11
12 TestInkDropHoverObserver::TestInkDropHoverObserver() {}
13
14 TestInkDropHoverObserver::~TestInkDropHoverObserver() {}
15
16 void TestInkDropHoverObserver::AnimationStarted(
17 InkDropHover::AnimationType animation_type) {
18 ObserverHelper::OnAnimationStarted(animation_type);
19 }
20
21 void TestInkDropHoverObserver::AnimationEnded(
22 InkDropHover::AnimationType animation_type,
23 InkDropAnimationEndedReason reason) {
24 ObserverHelper::OnAnimationEnded(animation_type, reason);
25 }
26
27 } // namespace test
28 } // namespace views
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698