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

Side by Side Diff: third_party/WebKit/Source/core/animation/animatable/AnimatableRepeatable.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 19 matching lines...) Expand all
30 30
31 #ifndef AnimatableRepeatable_h 31 #ifndef AnimatableRepeatable_h
32 #define AnimatableRepeatable_h 32 #define AnimatableRepeatable_h
33 33
34 #include "core/CoreExport.h" 34 #include "core/CoreExport.h"
35 #include "core/animation/animatable/AnimatableValue.h" 35 #include "core/animation/animatable/AnimatableValue.h"
36 #include "wtf/Vector.h" 36 #include "wtf/Vector.h"
37 37
38 namespace blink { 38 namespace blink {
39 39
40 // This class represents collections of values that animate in a repeated fashio n as described by the CSS Transitions spec: 40 // This class represents collections of values that animate in a repeated
41 // fashion as described by the CSS Transitions spec:
41 // http://www.w3.org/TR/css3-transitions/#animtype-repeatable-list 42 // http://www.w3.org/TR/css3-transitions/#animtype-repeatable-list
42 class CORE_EXPORT AnimatableRepeatable : public AnimatableValue { 43 class CORE_EXPORT AnimatableRepeatable : public AnimatableValue {
43 public: 44 public:
44 ~AnimatableRepeatable() override {} 45 ~AnimatableRepeatable() override {}
45 46
46 // This will consume the vector passed into it. 47 // This will consume the vector passed into it.
47 static PassRefPtr<AnimatableRepeatable> create( 48 static PassRefPtr<AnimatableRepeatable> create(
48 Vector<RefPtr<AnimatableValue>>& values) { 49 Vector<RefPtr<AnimatableValue>>& values) {
49 return adoptRef(new AnimatableRepeatable(values)); 50 return adoptRef(new AnimatableRepeatable(values));
50 } 51 }
(...skipping 27 matching lines...) Expand all
78 79
79 DEFINE_TYPE_CASTS(AnimatableRepeatable, 80 DEFINE_TYPE_CASTS(AnimatableRepeatable,
80 AnimatableValue, 81 AnimatableValue,
81 value, 82 value,
82 (value->isRepeatable() || value->isStrokeDasharrayList()), 83 (value->isRepeatable() || value->isStrokeDasharrayList()),
83 (value.isRepeatable() || value.isStrokeDasharrayList())); 84 (value.isRepeatable() || value.isStrokeDasharrayList()));
84 85
85 } // namespace blink 86 } // namespace blink
86 87
87 #endif // AnimatableRepeatable_h 88 #endif // AnimatableRepeatable_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698