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

Unified Diff: cc/animation/timing_function.h

Issue 13065006: cc: Add DISALLOW_COPY_AND_ASSIGN where appropriate. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add operator= for DrawingState back as well Created 7 years, 9 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
« no previous file with comments | « cc/animation/scrollbar_animation_controller_linear_fade.h ('k') | cc/animation/transform_operations.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/animation/timing_function.h
diff --git a/cc/animation/timing_function.h b/cc/animation/timing_function.h
index 30cbd0d73bb96843d4c58a07799a1140afe7162e..b1080e6cf1b1629edf9d52c210f009bbc9007b4a 100644
--- a/cc/animation/timing_function.h
+++ b/cc/animation/timing_function.h
@@ -21,6 +21,9 @@ class CC_EXPORT TimingFunction : public FloatAnimationCurve {
protected:
TimingFunction();
+
+ private:
+ DISALLOW_ASSIGN(TimingFunction);
};
class CC_EXPORT CubicBezierTimingFunction : public TimingFunction {
@@ -40,26 +43,41 @@ class CC_EXPORT CubicBezierTimingFunction : public TimingFunction {
SkScalar y1_;
SkScalar x2_;
SkScalar y2_;
+
+ private:
+ DISALLOW_ASSIGN(CubicBezierTimingFunction);
};
class CC_EXPORT EaseTimingFunction {
public:
static scoped_ptr<TimingFunction> Create();
+
+ private:
+ DISALLOW_IMPLICIT_CONSTRUCTORS(EaseTimingFunction);
};
class CC_EXPORT EaseInTimingFunction {
public:
static scoped_ptr<TimingFunction> Create();
+
+ private:
+ DISALLOW_IMPLICIT_CONSTRUCTORS(EaseInTimingFunction);
};
class CC_EXPORT EaseOutTimingFunction {
public:
static scoped_ptr<TimingFunction> Create();
+
+ private:
+ DISALLOW_IMPLICIT_CONSTRUCTORS(EaseOutTimingFunction);
};
class CC_EXPORT EaseInOutTimingFunction {
public:
static scoped_ptr<TimingFunction> Create();
+
+ private:
+ DISALLOW_IMPLICIT_CONSTRUCTORS(EaseInOutTimingFunction);
};
} // namespace cc
« no previous file with comments | « cc/animation/scrollbar_animation_controller_linear_fade.h ('k') | cc/animation/transform_operations.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698