| OLD | NEW |
| 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, 2007, 2008, 2009, 2010, 2012 Apple Inc. All | 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All |
| 4 * rights reserved. | 4 * rights reserved. |
| 5 * Copyright (C) 2011 Research In Motion Limited. All rights reserved. | 5 * Copyright (C) 2011 Research In Motion Limited. All rights reserved. |
| 6 * Copyright (C) 2013 Intel Corporation. All rights reserved. | 6 * Copyright (C) 2013 Intel Corporation. All rights reserved. |
| 7 * | 7 * |
| 8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
| 9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
| 10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 explicit StylePropertySerializer(const StylePropertySet&); | 40 explicit StylePropertySerializer(const StylePropertySet&); |
| 41 | 41 |
| 42 String AsText() const; | 42 String AsText() const; |
| 43 String GetPropertyValue(CSSPropertyID) const; | 43 String GetPropertyValue(CSSPropertyID) const; |
| 44 | 44 |
| 45 private: | 45 private: |
| 46 String GetCommonValue(const StylePropertyShorthand&) const; | 46 String GetCommonValue(const StylePropertyShorthand&) const; |
| 47 String GetAlignmentShorthandValue(const StylePropertyShorthand&) const; | 47 String GetAlignmentShorthandValue(const StylePropertyShorthand&) const; |
| 48 String BorderPropertyValue() const; | 48 String BorderPropertyValue() const; |
| 49 String GetLayeredShorthandValue(const StylePropertyShorthand&) const; | 49 String GetLayeredShorthandValue(const StylePropertyShorthand&) const; |
| 50 String Get2Values(const StylePropertyShorthand&) const; |
| 50 String Get4Values(const StylePropertyShorthand&) const; | 51 String Get4Values(const StylePropertyShorthand&) const; |
| 51 String BorderSpacingValue(const StylePropertyShorthand&) const; | 52 String BorderSpacingValue(const StylePropertyShorthand&) const; |
| 52 String GetShorthandValue(const StylePropertyShorthand&, | 53 String GetShorthandValue(const StylePropertyShorthand&, |
| 53 String separator = " ") const; | 54 String separator = " ") const; |
| 54 String FontValue() const; | 55 String FontValue() const; |
| 55 String FontVariantValue() const; | 56 String FontVariantValue() const; |
| 56 void AppendFontLonghandValueIfNotNormal(CSSPropertyID, | 57 void AppendFontLonghandValueIfNotNormal(CSSPropertyID, |
| 57 StringBuilder& result) const; | 58 StringBuilder& result) const; |
| 58 String OffsetValue() const; | 59 String OffsetValue() const; |
| 59 String BackgroundRepeatPropertyValue() const; | 60 String BackgroundRepeatPropertyValue() const; |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 138 std::bitset<numCSSProperties> longhand_property_used_; | 139 std::bitset<numCSSProperties> longhand_property_used_; |
| 139 bool need_to_expand_all_; | 140 bool need_to_expand_all_; |
| 140 }; | 141 }; |
| 141 | 142 |
| 142 const StylePropertySetForSerializer property_set_; | 143 const StylePropertySetForSerializer property_set_; |
| 143 }; | 144 }; |
| 144 | 145 |
| 145 } // namespace blink | 146 } // namespace blink |
| 146 | 147 |
| 147 #endif // StylePropertySerializer_h | 148 #endif // StylePropertySerializer_h |
| OLD | NEW |