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

Side by Side Diff: sky/engine/core/css/CSSProperty.h

Issue 723253004: Remove tons of OILPAN. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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
« no previous file with comments | « sky/engine/core/css/CSSPrimitiveValue.cpp ('k') | sky/engine/core/css/CSSPropertySourceData.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * (C) 1999-2003 Lars Knoll (knoll@kde.org) 2 * (C) 1999-2003 Lars Knoll (knoll@kde.org)
3 * Copyright (C) 2004, 2005, 2006 Apple Computer, Inc. 3 * Copyright (C) 2004, 2005, 2006 Apple Computer, Inc.
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 75
76 CSSValue* value() const { return m_value.get(); } 76 CSSValue* value() const { return m_value.get(); }
77 77
78 void wrapValueInCommaSeparatedList(); 78 void wrapValueInCommaSeparatedList();
79 79
80 static CSSPropertyID resolveDirectionAwareProperty(CSSPropertyID, TextDirect ion); 80 static CSSPropertyID resolveDirectionAwareProperty(CSSPropertyID, TextDirect ion);
81 static bool isAffectedByAllProperty(CSSPropertyID); 81 static bool isAffectedByAllProperty(CSSPropertyID);
82 82
83 const StylePropertyMetadata& metadata() const { return m_metadata; } 83 const StylePropertyMetadata& metadata() const { return m_metadata; }
84 84
85 void trace(Visitor* visitor) { visitor->trace(m_value); }
86
87 private: 85 private:
88 StylePropertyMetadata m_metadata; 86 StylePropertyMetadata m_metadata;
89 RefPtr<CSSValue> m_value; 87 RefPtr<CSSValue> m_value;
90 }; 88 };
91 89
92 inline CSSPropertyID prefixingVariantForPropertyId(CSSPropertyID propId) 90 inline CSSPropertyID prefixingVariantForPropertyId(CSSPropertyID propId)
93 { 91 {
94 if (RuntimeEnabledFeatures::cssAnimationUnprefixedEnabled()) { 92 if (RuntimeEnabledFeatures::cssAnimationUnprefixedEnabled()) {
95 switch (propId) { 93 switch (propId) {
96 case CSSPropertyAnimation: 94 case CSSPropertyAnimation:
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 default: 156 default:
159 return propId; 157 return propId;
160 } 158 }
161 } 159 }
162 160
163 } // namespace blink 161 } // namespace blink
164 162
165 WTF_ALLOW_MOVE_AND_INIT_WITH_MEM_FUNCTIONS(blink::CSSProperty); 163 WTF_ALLOW_MOVE_AND_INIT_WITH_MEM_FUNCTIONS(blink::CSSProperty);
166 164
167 #endif // CSSProperty_h 165 #endif // CSSProperty_h
OLDNEW
« no previous file with comments | « sky/engine/core/css/CSSPrimitiveValue.cpp ('k') | sky/engine/core/css/CSSPropertySourceData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698