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

Side by Side Diff: third_party/WebKit/Source/core/css/CSSMarkup.cpp

Issue 2813863003: Rewrite references to "wtf/" to "platform/wtf/" in core/css and core/style. (Closed)
Patch Set: Rebase. Created 3 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2003 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 2003 Lars Knoll (knoll@kde.org)
3 * Copyright (C) 2005 Allan Sandfeld Jensen (kde@carewolf.com) 3 * Copyright (C) 2005 Allan Sandfeld Jensen (kde@carewolf.com)
4 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. 4 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc.
5 * All rights reserved. 5 * All rights reserved.
6 * Copyright (C) 2007 Nicholas Shanks <webkit@nickshanks.com> 6 * Copyright (C) 2007 Nicholas Shanks <webkit@nickshanks.com>
7 * Copyright (C) 2008 Eric Seidel <eric@webkit.org> 7 * Copyright (C) 2008 Eric Seidel <eric@webkit.org>
8 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. 8 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved.
9 * (http://www.torchmobile.com/) 9 * (http://www.torchmobile.com/)
10 * Copyright (C) 2012 Adobe Systems Incorporated. All rights reserved. 10 * Copyright (C) 2012 Adobe Systems Incorporated. All rights reserved.
(...skipping 11 matching lines...) Expand all
22 * 22 *
23 * You should have received a copy of the GNU Library General Public License 23 * You should have received a copy of the GNU Library General Public License
24 * along with this library; see the file COPYING.LIB. If not, write to 24 * along with this library; see the file COPYING.LIB. If not, write to
25 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 25 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
26 * Boston, MA 02110-1301, USA. 26 * Boston, MA 02110-1301, USA.
27 */ 27 */
28 28
29 #include "core/css/CSSMarkup.h" 29 #include "core/css/CSSMarkup.h"
30 30
31 #include "core/css/parser/CSSParserIdioms.h" 31 #include "core/css/parser/CSSParserIdioms.h"
32 #include "wtf/HexNumber.h" 32 #include "platform/wtf/HexNumber.h"
33 #include "wtf/text/StringBuffer.h" 33 #include "platform/wtf/text/StringBuffer.h"
34 #include "wtf/text/StringBuilder.h" 34 #include "platform/wtf/text/StringBuilder.h"
35 35
36 namespace blink { 36 namespace blink {
37 37
38 template <typename CharacterType> 38 template <typename CharacterType>
39 static inline bool IsCSSTokenizerIdentifier(const CharacterType* characters, 39 static inline bool IsCSSTokenizerIdentifier(const CharacterType* characters,
40 unsigned length) { 40 unsigned length) {
41 const CharacterType* end = characters + length; 41 const CharacterType* end = characters + length;
42 42
43 // -? 43 // -?
44 if (characters != end && characters[0] == '-') 44 if (characters != end && characters[0] == '-')
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 148
149 String SerializeURI(const String& string) { 149 String SerializeURI(const String& string) {
150 return "url(" + SerializeString(string) + ")"; 150 return "url(" + SerializeString(string) + ")";
151 } 151 }
152 152
153 String SerializeFontFamily(const String& string) { 153 String SerializeFontFamily(const String& string) {
154 return IsCSSTokenizerIdentifier(string) ? string : SerializeString(string); 154 return IsCSSTokenizerIdentifier(string) ? string : SerializeString(string);
155 } 155 }
156 156
157 } // namespace blink 157 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSMarkup.h ('k') | third_party/WebKit/Source/core/css/CSSMatrix.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698