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

Side by Side Diff: third_party/WebKit/Source/core/animation/ImageSlicePropertyFunctions.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 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 ImageSlicePropertyFunctions_h 5 #ifndef ImageSlicePropertyFunctions_h
6 #define ImageSlicePropertyFunctions_h 6 #define ImageSlicePropertyFunctions_h
7 7
8 #include "core/CSSPropertyNames.h" 8 #include "core/CSSPropertyNames.h"
9 #include "core/style/ComputedStyle.h" 9 #include "core/style/ComputedStyle.h"
10 10
11 namespace blink { 11 namespace blink {
12 12
13 // This struct doesn't retain ownership of the slices, treat it like a reference . 13 // This struct doesn't retain ownership of the slices, treat it like a
14 // reference.
14 struct ImageSlice { 15 struct ImageSlice {
15 ImageSlice(const LengthBox& slices, bool fill) : slices(slices), fill(fill) {} 16 ImageSlice(const LengthBox& slices, bool fill) : slices(slices), fill(fill) {}
16 17
17 const LengthBox& slices; 18 const LengthBox& slices;
18 bool fill; 19 bool fill;
19 }; 20 };
20 21
21 class ImageSlicePropertyFunctions { 22 class ImageSlicePropertyFunctions {
22 public: 23 public:
23 static ImageSlice getInitialImageSlice(CSSPropertyID property) { 24 static ImageSlice getInitialImageSlice(CSSPropertyID property) {
(...skipping 29 matching lines...) Expand all
53 break; 54 break;
54 default: 55 default:
55 NOTREACHED(); 56 NOTREACHED();
56 } 57 }
57 } 58 }
58 }; 59 };
59 60
60 } // namespace blink 61 } // namespace blink
61 62
62 #endif // ImageSlicePropertyFunctions_h 63 #endif // ImageSlicePropertyFunctions_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/animation/ElementAnimations.cpp ('k') | third_party/WebKit/Source/core/animation/InertEffect.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698