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

Side by Side Diff: third_party/WebKit/Source/core/html/parser/HTMLParserIdioms.h

Issue 2812013004: Rewrite references to "wtf/" to "platform/wtf/" in core/{dom,html,xml}. (Closed)
Patch Set: 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) 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2010 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 10 matching lines...) Expand all
21 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 21 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
22 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 22 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
23 */ 23 */
24 24
25 #ifndef HTMLParserIdioms_h 25 #ifndef HTMLParserIdioms_h
26 #define HTMLParserIdioms_h 26 #define HTMLParserIdioms_h
27 27
28 #include "core/CoreExport.h" 28 #include "core/CoreExport.h"
29 #include "core/dom/QualifiedName.h" 29 #include "core/dom/QualifiedName.h"
30 #include "platform/Decimal.h" 30 #include "platform/Decimal.h"
31 #include "wtf/Forward.h" 31 #include "platform/wtf/Forward.h"
32 #include "wtf/text/WTFString.h" 32 #include "platform/wtf/text/WTFString.h"
33 33
34 namespace WTF { 34 namespace WTF {
35 class TextEncoding; 35 class TextEncoding;
36 } 36 }
37 37
38 namespace blink { 38 namespace blink {
39 39
40 // Strip leading and trailing whitespace as defined by the HTML specification. 40 // Strip leading and trailing whitespace as defined by the HTML specification.
41 String StripLeadingAndTrailingHTMLSpaces(const String&); 41 String StripLeadingAndTrailingHTMLSpaces(const String&);
42 42
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 inline static String AttemptStaticStringCreation(const String str) { 128 inline static String AttemptStaticStringCreation(const String str) {
129 if (!str.Is8Bit()) 129 if (!str.Is8Bit())
130 return AttemptStaticStringCreation(str.Characters16(), str.length(), 130 return AttemptStaticStringCreation(str.Characters16(), str.length(),
131 kForce16Bit); 131 kForce16Bit);
132 return AttemptStaticStringCreation(str.Characters8(), str.length()); 132 return AttemptStaticStringCreation(str.Characters8(), str.length());
133 } 133 }
134 134
135 } // namespace blink 135 } // namespace blink
136 136
137 #endif // HTMLParserIdioms_h 137 #endif // HTMLParserIdioms_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698