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

Side by Side Diff: Source/core/css/CSSProperty.h

Issue 1100563002: Remove font-variant CSSValueList conversion code (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 8 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
« no previous file with comments | « no previous file | Source/core/css/CSSProperty.cpp » ('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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 { 69 {
70 } 70 }
71 71
72 CSSPropertyID id() const { return static_cast<CSSPropertyID>(m_metadata.m_pr opertyID); } 72 CSSPropertyID id() const { return static_cast<CSSPropertyID>(m_metadata.m_pr opertyID); }
73 bool isSetFromShorthand() const { return m_metadata.m_isSetFromShorthand; }; 73 bool isSetFromShorthand() const { return m_metadata.m_isSetFromShorthand; };
74 CSSPropertyID shorthandID() const { return m_metadata.shorthandID(); }; 74 CSSPropertyID shorthandID() const { return m_metadata.shorthandID(); };
75 bool isImportant() const { return m_metadata.m_important; } 75 bool isImportant() const { return m_metadata.m_important; }
76 76
77 CSSValue* value() const { return m_value.get(); } 77 CSSValue* value() const { return m_value.get(); }
78 78
79 void wrapValueInCommaSeparatedList();
80
81 static CSSPropertyID resolveDirectionAwareProperty(CSSPropertyID, TextDirect ion, WritingMode); 79 static CSSPropertyID resolveDirectionAwareProperty(CSSPropertyID, TextDirect ion, WritingMode);
82 static bool isAffectedByAllProperty(CSSPropertyID); 80 static bool isAffectedByAllProperty(CSSPropertyID);
83 81
84 const StylePropertyMetadata& metadata() const { return m_metadata; } 82 const StylePropertyMetadata& metadata() const { return m_metadata; }
85 83
86 DEFINE_INLINE_TRACE() { visitor->trace(m_value); } 84 DEFINE_INLINE_TRACE() { visitor->trace(m_value); }
87 85
88 private: 86 private:
89 StylePropertyMetadata m_metadata; 87 StylePropertyMetadata m_metadata;
90 RefPtrWillBeMember<CSSValue> m_value; 88 RefPtrWillBeMember<CSSValue> m_value;
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 default: 157 default:
160 return propId; 158 return propId;
161 } 159 }
162 } 160 }
163 161
164 } // namespace blink 162 } // namespace blink
165 163
166 WTF_ALLOW_MOVE_AND_INIT_WITH_MEM_FUNCTIONS(blink::CSSProperty); 164 WTF_ALLOW_MOVE_AND_INIT_WITH_MEM_FUNCTIONS(blink::CSSProperty);
167 165
168 #endif // CSSProperty_h 166 #endif // CSSProperty_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/css/CSSProperty.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698