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

Side by Side Diff: ui/views/animation/empty_ink_drop_ripple.h

Issue 2250783002: Allow InkDropRipple to co-exist with highlight (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: git cl try Created 4 years, 4 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 #ifndef UI_VIEWS_ANIMATION_EMPTY_INK_DROP_RIPPLE_H_
6 #define UI_VIEWS_ANIMATION_EMPTY_INK_DROP_RIPPLE_H_
7
8 #include "ui/views/animation/ink_drop_ripple.h"
9
10 namespace views {
11
12 class VIEWS_EXPORT EmptyInkDropRipple : public InkDropRipple {
bruthig 2016/08/25 17:45:29 Some docs would be nice or perhaps a more descript
Evan Stade 2016/08/26 23:36:15 Done.
13 public:
14 EmptyInkDropRipple();
15 ~EmptyInkDropRipple() override;
16
17 // InkDropRipple:
18 void AnimateToState(InkDropState ink_drop_state) override;
19 void SnapToActivated() override;
20 ui::Layer* GetRootLayer() override;
21 bool OverridesHighlight() const override;
22
23 protected:
24 // InkDropRipple:
25 void AnimateStateChange(InkDropState old_ink_drop_state,
26 InkDropState new_ink_drop_state,
27 ui::LayerAnimationObserver* observer) override;
28 void SetStateToHidden() override;
29 void AbortAllAnimations() override;
30
31 private:
32 DISALLOW_COPY_AND_ASSIGN(EmptyInkDropRipple);
33 };
34
35 } // namespace views
36
37 #endif // UI_VIEWS_ANIMATION_EMPTY_INK_DROP_RIPPLE_H_
OLDNEW
« no previous file with comments | « no previous file | ui/views/animation/empty_ink_drop_ripple.cc » ('j') | ui/views/animation/ink_drop_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698