| 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 11 matching lines...) Expand all Loading... |
| 22 | 22 |
| 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 String quoteCSSString(const String&); | |
| 33 String quoteCSSStringIfNeeded(const String&); | 32 String quoteCSSStringIfNeeded(const String&); |
| 34 String quoteCSSURLIfNeeded(const String&); | 33 String quoteCSSURLIfNeeded(const String&); |
| 35 | 34 |
| 36 // Common serializing methods. See: http://dev.w3.org/csswg/cssom/#common-serial
izing-idioms | 35 // Common serializing methods. See: http://dev.w3.org/csswg/cssom/#common-serial
izing-idioms |
| 37 void serializeIdentifier(const String& identifier, StringBuilder& appendTo); | 36 void serializeIdentifier(const String& identifier, StringBuilder& appendTo); |
| 38 void serializeString(const String&, StringBuilder& appendTo); | 37 void serializeString(const String&, StringBuilder& appendTo); |
| 38 String serializeString(const String&); |
| 39 | 39 |
| 40 | 40 |
| 41 } // namespace blink | 41 } // namespace blink |
| 42 | 42 |
| 43 #endif // CSSMarkup_h | 43 #endif // CSSMarkup_h |
| OLD | NEW |