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

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

Issue 1286693004: Extracted InkDropAnimator class from InkDropAnimationController. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge branch 'master' Created 5 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
« no previous file with comments | « ui/views/animation/ink_drop_animation_controller_impl.cc ('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 2015 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_INK_DROP_STATE_H_
6 #define UI_VIEWS_ANIMATION_INK_DROP_STATE_H_
7
8 namespace views {
9
10 // The different states that the ink drop animation can be animated to.
11 enum class InkDropState {
12 // The ink drop is not visible.
13 HIDDEN,
14 // The view is being interacted with but the action to be triggered has not
15 // yet been determined.
16 ACTION_PENDING,
17 // The quick action for the view has been triggered. e.g. A tap gesture to
18 // click a button.
19 QUICK_ACTION,
20 // The slow action for the view has been triggered. e.g. A long press to bring
21 // up a menu.
22 SLOW_ACTION,
23 // An active state for a view that is no longer being interacted with. e.g. A
24 // pressed button that is showing a menu.
25 ACTIVATED
26 };
27
28 } // namespace views
29
30 #endif // UI_VIEWS_ANIMATION_INK_DROP_STATE_H_
OLDNEW
« no previous file with comments | « ui/views/animation/ink_drop_animation_controller_impl.cc ('k') | ui/views/views.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698