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

Side by Side Diff: third_party/WebKit/Source/core/css/DOMWindowCSS.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) 2012 Motorola Mobility Inc. All rights reserved. 2 * Copyright (C) 2012 Motorola Mobility 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above 10 * 2. Redistributions in binary form must reproduce the above
(...skipping 15 matching lines...) Expand all
26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
27 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28 */ 28 */
29 29
30 #include "core/css/DOMWindowCSS.h" 30 #include "core/css/DOMWindowCSS.h"
31 31
32 #include "core/css/CSSMarkup.h" 32 #include "core/css/CSSMarkup.h"
33 #include "core/css/CSSPropertyMetadata.h" 33 #include "core/css/CSSPropertyMetadata.h"
34 #include "core/css/StylePropertySet.h" 34 #include "core/css/StylePropertySet.h"
35 #include "core/css/parser/CSSParser.h" 35 #include "core/css/parser/CSSParser.h"
36 #include "wtf/text/StringBuilder.h" 36 #include "platform/wtf/text/StringBuilder.h"
37 #include "wtf/text/WTFString.h" 37 #include "platform/wtf/text/WTFString.h"
38 38
39 namespace blink { 39 namespace blink {
40 40
41 bool DOMWindowCSS::supports(const String& property, const String& value) { 41 bool DOMWindowCSS::supports(const String& property, const String& value) {
42 CSSPropertyID unresolved_property = unresolvedCSSPropertyID(property); 42 CSSPropertyID unresolved_property = unresolvedCSSPropertyID(property);
43 if (unresolved_property == CSSPropertyInvalid) 43 if (unresolved_property == CSSPropertyInvalid)
44 return false; 44 return false;
45 if (unresolved_property == CSSPropertyVariable) { 45 if (unresolved_property == CSSPropertyVariable) {
46 MutableStylePropertySet* dummy_style = 46 MutableStylePropertySet* dummy_style =
47 MutableStylePropertySet::Create(kHTMLStandardMode); 47 MutableStylePropertySet::Create(kHTMLStandardMode);
(...skipping 17 matching lines...) Expand all
65 return CSSParser::ParseSupportsCondition(condition_text); 65 return CSSParser::ParseSupportsCondition(condition_text);
66 } 66 }
67 67
68 String DOMWindowCSS::escape(const String& ident) { 68 String DOMWindowCSS::escape(const String& ident) {
69 StringBuilder builder; 69 StringBuilder builder;
70 SerializeIdentifier(ident, builder); 70 SerializeIdentifier(ident, builder);
71 return builder.ToString(); 71 return builder.ToString();
72 } 72 }
73 73
74 } // namespace blink 74 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/css/DOMWindowCSS.h ('k') | third_party/WebKit/Source/core/css/DocumentFontFaceSet.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698