OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2003 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 2003 Lars Knoll (knoll@kde.org) |
3 * Copyright (C) 2004, 2005, 2006, 2008, 2009, 2010 Apple Inc. All rights reserv
ed. | 3 * Copyright (C) 2004, 2005, 2006, 2008, 2009, 2010 Apple Inc. All rights reserv
ed. |
4 * Copyright (C) 2008 Eric Seidel <eric@webkit.org> | 4 * Copyright (C) 2008 Eric Seidel <eric@webkit.org> |
5 * Copyright (C) 2009 - 2010 Torch Mobile (Beijing) Co. Ltd. All rights reserve
d. | 5 * Copyright (C) 2009 - 2010 Torch Mobile (Beijing) Co. Ltd. All rights reserve
d. |
6 * | 6 * |
7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
(...skipping 12 matching lines...) Expand all Loading... |
23 #ifndef CSSMarkup_h | 23 #ifndef CSSMarkup_h |
24 #define CSSMarkup_h | 24 #define CSSMarkup_h |
25 | 25 |
26 #include "wtf/text/WTFString.h" | 26 #include "wtf/text/WTFString.h" |
27 | 27 |
28 // Helper functions for converting from CSSValues to text. | 28 // Helper functions for converting from CSSValues to text. |
29 | 29 |
30 namespace blink { | 30 namespace blink { |
31 | 31 |
32 // Common serializing methods. See: http://dev.w3.org/csswg/cssom/#common-serial
izing-idioms | 32 // Common serializing methods. See: http://dev.w3.org/csswg/cssom/#common-serial
izing-idioms |
33 void serializeIdentifier(const String& identifier, StringBuilder& appendTo); | 33 void serializeIdentifier(const String& identifier, StringBuilder& appendTo, bool
skipStartChecks = false); |
34 void serializeString(const String&, StringBuilder& appendTo); | 34 void serializeString(const String&, StringBuilder& appendTo); |
35 String serializeString(const String&); | 35 String serializeString(const String&); |
36 String serializeURI(const String&); | 36 String serializeURI(const String&); |
37 String serializeFontFamily(const String&); | 37 String serializeFontFamily(const String&); |
38 | 38 |
39 } // namespace blink | 39 } // namespace blink |
40 | 40 |
41 #endif // CSSMarkup_h | 41 #endif // CSSMarkup_h |
OLD | NEW |