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

Side by Side Diff: third_party/WebKit/Source/core/css/CSSContentDistributionValue.h

Issue 2750843002: [css-align] Adapt content-alignment properties to the new baseline syntax (Closed)
Patch Set: Don't use raw pointers attributes on a GC managed class. Created 3 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2014 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 CSSContentDistributionValue_h 5 #ifndef CSSContentDistributionValue_h
6 #define CSSContentDistributionValue_h 6 #define CSSContentDistributionValue_h
7 7
8 #include "core/css/CSSIdentifierValue.h" 8 #include "core/css/CSSIdentifierValue.h"
9 #include "core/css/CSSValue.h" 9 #include "core/css/CSSValue.h"
10 #include "core/css/CSSValuePair.h"
10 #include "wtf/RefPtr.h" 11 #include "wtf/RefPtr.h"
11 12
12 namespace blink { 13 namespace blink {
13 14
14 class CSSContentDistributionValue : public CSSValue { 15 class CSSContentDistributionValue : public CSSValue {
15 public: 16 public:
16 static CSSContentDistributionValue* create(CSSValueID distribution, 17 static CSSContentDistributionValue* create(CSSValueID distribution,
17 CSSValueID position, 18 CSSValueID position,
18 CSSValueID overflow) { 19 CSSValueID overflow) {
19 return new CSSContentDistributionValue(distribution, position, overflow); 20 return new CSSContentDistributionValue(distribution, position, overflow);
(...skipping 30 matching lines...) Expand all
50 CSSValueID m_position; 51 CSSValueID m_position;
51 CSSValueID m_overflow; 52 CSSValueID m_overflow;
52 }; 53 };
53 54
54 DEFINE_CSS_VALUE_TYPE_CASTS(CSSContentDistributionValue, 55 DEFINE_CSS_VALUE_TYPE_CASTS(CSSContentDistributionValue,
55 isContentDistributionValue()); 56 isContentDistributionValue());
56 57
57 } // namespace blink 58 } // namespace blink
58 59
59 #endif // CSSContentDistributionValue_h 60 #endif // CSSContentDistributionValue_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698