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

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: Fixed InkDropHoverTests to use proper expectation comparisons. 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
« no previous file with comments | « ui/views/animation/test/test_ink_drop_hover_observer.h ('k') | ui/views/views.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 void TestInkDropHoverObserver::AnimationStarted(
15 InkDropHover::AnimationType animation_type) {
16 ObserverHelper::OnAnimationStarted(animation_type);
17 }
18
19 void TestInkDropHoverObserver::AnimationEnded(
20 InkDropHover::AnimationType animation_type,
21 InkDropAnimationEndedReason reason) {
22 ObserverHelper::OnAnimationEnded(animation_type, reason);
23 }
24
25 } // namespace test
26 } // namespace views
OLDNEW
« no previous file with comments | « ui/views/animation/test/test_ink_drop_hover_observer.h ('k') | ui/views/views.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698