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

Side by Side Diff: ui/views/animation/empty_ink_drop_ripple.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 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/empty_ink_drop_ripple.h"
6
7 namespace views {
8
9 EmptyInkDropRipple::EmptyInkDropRipple() {}
10
11 EmptyInkDropRipple::~EmptyInkDropRipple() {}
12
13 ui::Layer* EmptyInkDropRipple::GetRootLayer() {
14 return nullptr;
15 }
16
17 bool EmptyInkDropRipple::OverridesHighlight() const {
18 return false;
19 }
20
21 void EmptyInkDropRipple::AnimateStateChange(
22 InkDropState old_ink_drop_state,
23 InkDropState new_ink_drop_state,
24 ui::LayerAnimationObserver* observer) {}
25
26 void EmptyInkDropRipple::SetStateToHidden() {}
27
28 void EmptyInkDropRipple::AbortAllAnimations() {}
29
30 } // namespace views
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698