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

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

Issue 1390113006: Added material design mouse hover feedback support. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Moved MouseEntered/Exit() to hover handling in to the ButtonInkDropDelegate. Created 4 years, 11 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
1 // Copyright 2015 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_VIEWS_ANIMATION_INK_DROP_ANIMATION_H_ 5 #ifndef UI_VIEWS_ANIMATION_INK_DROP_ANIMATION_H_
6 #define UI_VIEWS_ANIMATION_INK_DROP_ANIMATION_H_ 6 #define UI_VIEWS_ANIMATION_INK_DROP_ANIMATION_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/observer_list.h" 10 #include "base/observer_list.h"
11 #include "base/time/time.h" 11 #include "base/time/time.h"
12 #include "ui/compositor/layer_animator.h" 12 #include "ui/compositor/layer_animator.h"
13 #include "ui/gfx/geometry/size.h" 13 #include "ui/gfx/geometry/size.h"
14 #include "ui/gfx/geometry/size_f.h"
15 #include "ui/gfx/transform.h" 14 #include "ui/gfx/transform.h"
16 #include "ui/views/animation/ink_drop_state.h" 15 #include "ui/views/animation/ink_drop_state.h"
17 #include "ui/views/views_export.h" 16 #include "ui/views/views_export.h"
18 17
19 namespace ui { 18 namespace ui {
20 class CallbackLayerAnimationObserver; 19 class CallbackLayerAnimationObserver;
21 class Layer; 20 class Layer;
22 class LayerAnimationObserver; 21 class LayerAnimationObserver;
23 class LayerDelegate; 22 class LayerDelegate;
24 } // namespace ui 23 } // namespace ui
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 181
183 // List of observers to notify when animations have finished. 182 // List of observers to notify when animations have finished.
184 base::ObserverList<InkDropAnimationObserver> observers_; 183 base::ObserverList<InkDropAnimationObserver> observers_;
185 184
186 DISALLOW_COPY_AND_ASSIGN(InkDropAnimation); 185 DISALLOW_COPY_AND_ASSIGN(InkDropAnimation);
187 }; 186 };
188 187
189 } // namespace views 188 } // namespace views
190 189
191 #endif // UI_VIEWS_ANIMATION_INK_DROP_ANIMATION_H_ 190 #endif // UI_VIEWS_ANIMATION_INK_DROP_ANIMATION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698