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

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

Issue 884123006: Merge CSSMarkup and CSSOMUtils (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 10 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 | « Source/core/core.gypi ('k') | Source/core/css/CSSMarkup.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 * 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.
11 * 11 *
12 * This library is distributed in the hope that it will be useful, 12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Library General Public License for more details. 15 * Library General Public License for more details.
16 * 16 *
17 * You should have received a copy of the GNU Library General Public License 17 * You should have received a copy of the GNU Library General Public License
18 * along with this library; see the file COPYING.LIB. If not, write to 18 * along with this library; see the file COPYING.LIB. If not, write to
19 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 19 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20 * Boston, MA 02110-1301, USA. 20 * Boston, MA 02110-1301, USA.
21 */ 21 */
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 // FIXME: This file has a similar purpose to
30 // CSSOMUtils.h. Perhaps the two should be combined?
31 29
32 namespace blink { 30 namespace blink {
33 31
34 String quoteCSSString(const String&); 32 String quoteCSSString(const String&);
35 String quoteCSSStringIfNeeded(const String&); 33 String quoteCSSStringIfNeeded(const String&);
36 String quoteCSSURLIfNeeded(const String&); 34 String quoteCSSURLIfNeeded(const String&);
37 35
36 // Common serializing methods. See: http://dev.w3.org/csswg/cssom/#common-serial izing-idioms
37 void serializeIdentifier(const String& identifier, StringBuilder& appendTo);
38 void serializeString(const String&, StringBuilder& appendTo);
39
40
38 } // namespace blink 41 } // namespace blink
39 42
40 #endif // CSSMarkup_h 43 #endif // CSSMarkup_h
OLDNEW
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/css/CSSMarkup.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698