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

Side by Side Diff: cc/animation/scrollbar_animation_controller.h

Issue 660333004: cc cleanup: Update paths to geometry headers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 6 years, 2 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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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 CC_ANIMATION_SCROLLBAR_ANIMATION_CONTROLLER_H_ 5 #ifndef CC_ANIMATION_SCROLLBAR_ANIMATION_CONTROLLER_H_
6 #define CC_ANIMATION_SCROLLBAR_ANIMATION_CONTROLLER_H_ 6 #define CC_ANIMATION_SCROLLBAR_ANIMATION_CONTROLLER_H_
7 7
8 #include "base/cancelable_callback.h" 8 #include "base/cancelable_callback.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "base/time/time.h" 10 #include "base/time/time.h"
11 #include "cc/base/cc_export.h" 11 #include "cc/base/cc_export.h"
12 #include "ui/gfx/vector2d_f.h" 12 #include "ui/gfx/geometry/vector2d_f.h"
13 13
14 namespace cc { 14 namespace cc {
15 15
16 class CC_EXPORT ScrollbarAnimationControllerClient { 16 class CC_EXPORT ScrollbarAnimationControllerClient {
17 public: 17 public:
18 virtual ~ScrollbarAnimationControllerClient() {} 18 virtual ~ScrollbarAnimationControllerClient() {}
19 19
20 virtual void PostDelayedScrollbarFade(const base::Closure& start_fade, 20 virtual void PostDelayedScrollbarFade(const base::Closure& start_fade,
21 base::TimeDelta delay) = 0; 21 base::TimeDelta delay) = 0;
22 virtual void SetNeedsScrollbarAnimationFrame() = 0; 22 virtual void SetNeedsScrollbarAnimationFrame() = 0;
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 bool currently_scrolling_; 65 bool currently_scrolling_;
66 bool scroll_gesture_has_scrolled_; 66 bool scroll_gesture_has_scrolled_;
67 base::CancelableClosure delayed_scrollbar_fade_; 67 base::CancelableClosure delayed_scrollbar_fade_;
68 68
69 base::WeakPtrFactory<ScrollbarAnimationController> weak_factory_; 69 base::WeakPtrFactory<ScrollbarAnimationController> weak_factory_;
70 }; 70 };
71 71
72 } // namespace cc 72 } // namespace cc
73 73
74 #endif // CC_ANIMATION_SCROLLBAR_ANIMATION_CONTROLLER_H_ 74 #endif // CC_ANIMATION_SCROLLBAR_ANIMATION_CONTROLLER_H_
OLDNEW
« no previous file with comments | « cc/animation/layer_animation_controller_unittest.cc ('k') | cc/animation/transform_operation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698