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

Side by Side Diff: cc/CCTimeSource.h

Issue 11028021: cc: Improve frame/commit accounting (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 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 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 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 CCTimeSource_h 5 #ifndef CCTimeSource_h
6 #define CCTimeSource_h 6 #define CCTimeSource_h
7 7
8 #include "base/time.h" 8 #include "base/time.h"
9 #include <wtf/RefCounted.h> 9 #include <wtf/RefCounted.h>
10 10
(...skipping 16 matching lines...) Expand all
27 // timer, or it will keep on ticking! 27 // timer, or it will keep on ticking!
28 class CCTimeSource : public RefCounted<CCTimeSource> { 28 class CCTimeSource : public RefCounted<CCTimeSource> {
29 public: 29 public:
30 virtual ~CCTimeSource() { } 30 virtual ~CCTimeSource() { }
31 virtual void setClient(CCTimeSourceClient*) = 0; 31 virtual void setClient(CCTimeSourceClient*) = 0;
32 virtual void setActive(bool) = 0; 32 virtual void setActive(bool) = 0;
33 virtual bool active() const = 0; 33 virtual bool active() const = 0;
34 virtual void setTimebaseAndInterval(base::TimeTicks timebase, base::TimeDelt a interval) = 0; 34 virtual void setTimebaseAndInterval(base::TimeTicks timebase, base::TimeDelt a interval) = 0;
35 virtual base::TimeTicks lastTickTime() = 0; 35 virtual base::TimeTicks lastTickTime() = 0;
36 virtual base::TimeTicks nextTickTime() = 0; 36 virtual base::TimeTicks nextTickTime() = 0;
37 virtual base::TimeDelta interval() = 0;
37 }; 38 };
38 39
39 } 40 }
40 #endif // CCSmoothedTimer_h 41 #endif // CCSmoothedTimer_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698