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

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

Issue 1060583011: Make quoteCSSString an internal helper (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Patch for landing 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/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.
(...skipping 11 matching lines...) Expand all
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
OLDNEW
« no previous file with comments | « no previous file | Source/core/css/CSSMarkup.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698