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

Side by Side Diff: third_party/WebKit/Source/core/animation/InertEffect.h

Issue 2384263003: Reflow comments in core/animation and subdirs (Closed)
Patch Set: Created 4 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 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 21 matching lines...) Expand all
32 #define InertEffect_h 32 #define InertEffect_h
33 33
34 #include "core/CoreExport.h" 34 #include "core/CoreExport.h"
35 #include "core/animation/AnimationEffectReadOnly.h" 35 #include "core/animation/AnimationEffectReadOnly.h"
36 #include "core/animation/EffectModel.h" 36 #include "core/animation/EffectModel.h"
37 #include "wtf/RefPtr.h" 37 #include "wtf/RefPtr.h"
38 38
39 namespace blink { 39 namespace blink {
40 40
41 // Lightweight subset of KeyframeEffect. 41 // Lightweight subset of KeyframeEffect.
42 // Used to transport data for deferred KeyframeEffect construction and one off I nterpolation sampling. 42 // Used to transport data for deferred KeyframeEffect construction and one off
43 // Interpolation sampling.
43 class CORE_EXPORT InertEffect final : public AnimationEffectReadOnly { 44 class CORE_EXPORT InertEffect final : public AnimationEffectReadOnly {
44 public: 45 public:
45 static InertEffect* create(EffectModel*, 46 static InertEffect* create(EffectModel*,
46 const Timing&, 47 const Timing&,
47 bool paused, 48 bool paused,
48 double inheritedTime); 49 double inheritedTime);
49 void sample(Vector<RefPtr<Interpolation>>&) const; 50 void sample(Vector<RefPtr<Interpolation>>&) const;
50 EffectModel* model() const { return m_model.get(); } 51 EffectModel* model() const { return m_model.get(); }
51 bool paused() const { return m_paused; } 52 bool paused() const { return m_paused; }
52 53
(...skipping 16 matching lines...) Expand all
69 70
70 DEFINE_TYPE_CASTS(InertEffect, 71 DEFINE_TYPE_CASTS(InertEffect,
71 AnimationEffectReadOnly, 72 AnimationEffectReadOnly,
72 animationEffect, 73 animationEffect,
73 animationEffect->isInertEffect(), 74 animationEffect->isInertEffect(),
74 animationEffect.isInertEffect()); 75 animationEffect.isInertEffect());
75 76
76 } // namespace blink 77 } // namespace blink
77 78
78 #endif 79 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698