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

Unified Diff: cc/time_source.h

Issue 11189043: cc: Rename cc classes and members to match filenames (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
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 side-by-side diff with in-line comments
Download patch
Index: cc/time_source.h
diff --git a/cc/time_source.h b/cc/time_source.h
index 778be8cda5a06f91b05a28006e781b102eab0e06..ae1252e487ae44dd5bbe16555983444c86a8e4fc 100644
--- a/cc/time_source.h
+++ b/cc/time_source.h
@@ -10,14 +10,14 @@
namespace cc {
-class CCThread;
+class Thread;
-class CCTimeSourceClient {
+class TimeSourceClient {
public:
virtual void onTimerTick() = 0;
protected:
- virtual ~CCTimeSourceClient() { }
+ virtual ~TimeSourceClient() { }
};
// An generic interface for getting a reliably-ticking timesource of
@@ -25,9 +25,9 @@ protected:
//
// Be sure to call setActive(false) before releasing your reference to the
// timer, or it will keep on ticking!
-class CCTimeSource : public base::RefCounted<CCTimeSource> {
+class TimeSource : public base::RefCounted<TimeSource> {
public:
- virtual void setClient(CCTimeSourceClient*) = 0;
+ virtual void setClient(TimeSourceClient*) = 0;
virtual void setActive(bool) = 0;
virtual bool active() const = 0;
virtual void setTimebaseAndInterval(base::TimeTicks timebase, base::TimeDelta interval) = 0;
@@ -35,10 +35,10 @@ public:
virtual base::TimeTicks nextTickTime() = 0;
protected:
- virtual ~CCTimeSource() { }
+ virtual ~TimeSource() { }
private:
- friend class base::RefCounted<CCTimeSource>;
+ friend class base::RefCounted<TimeSource>;
};
}
« cc/active_animation.h ('K') | « cc/tiled_layer_unittest.cc ('k') | cc/timer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698