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

Side by Side Diff: sky/engine/core/css/parser/CSSPropertyParser.cpp

Issue 746023002: Make absolute and sort all Sky headers (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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. All rights reserved. 4 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved.
5 * Copyright (C) 2007 Nicholas Shanks <webkit@nickshanks.com> 5 * Copyright (C) 2007 Nicholas Shanks <webkit@nickshanks.com>
6 * Copyright (C) 2008 Eric Seidel <eric@webkit.org> 6 * Copyright (C) 2008 Eric Seidel <eric@webkit.org>
7 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/) 7 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/)
8 * Copyright (C) 2012 Adobe Systems Incorporated. All rights reserved. 8 * Copyright (C) 2012 Adobe Systems Incorporated. All rights reserved.
9 * Copyright (C) 2012 Intel Corporation. All rights reserved. 9 * Copyright (C) 2012 Intel Corporation. All rights reserved.
10 * 10 *
11 * This library is free software; you can redistribute it and/or 11 * This library is free software; you can redistribute it and/or
12 * modify it under the terms of the GNU Library General Public 12 * modify it under the terms of the GNU Library General Public
13 * License as published by the Free Software Foundation; either 13 * License as published by the Free Software Foundation; either
14 * version 2 of the License, or (at your option) any later version. 14 * version 2 of the License, or (at your option) any later version.
15 * 15 *
16 * This library is distributed in the hope that it will be useful, 16 * This library is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19 * Library General Public License for more details. 19 * Library General Public License for more details.
20 * 20 *
21 * You should have received a copy of the GNU Library General Public License 21 * You should have received a copy of the GNU Library General Public License
22 * along with this library; see the file COPYING.LIB. If not, write to 22 * along with this library; see the file COPYING.LIB. If not, write to
23 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 23 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
24 * Boston, MA 02110-1301, USA. 24 * Boston, MA 02110-1301, USA.
25 */ 25 */
26 26
27 #include "config.h" 27 #include "sky/engine/config.h"
28 #include "core/css/parser/CSSPropertyParser.h" 28 #include "sky/engine/core/css/parser/CSSPropertyParser.h"
29 29
30 // FIXME: Way too many! 30 // FIXME: Way too many!
31 #include <limits.h>
31 #include "gen/sky/core/CSSValueKeywords.h" 32 #include "gen/sky/core/CSSValueKeywords.h"
32 #include "gen/sky/core/StylePropertyShorthand.h" 33 #include "gen/sky/core/StylePropertyShorthand.h"
33 #include "core/css/CSSAspectRatioValue.h"
34 #include "core/css/CSSBasicShapes.h"
35 #include "core/css/CSSBorderImage.h"
36 #include "core/css/CSSCanvasValue.h"
37 #include "core/css/CSSCrossfadeValue.h"
38 #include "core/css/CSSCursorImageValue.h"
39 #include "core/css/CSSFontFaceSrcValue.h"
40 #include "core/css/CSSFontFeatureValue.h"
41 #include "core/css/CSSFunctionValue.h"
42 #include "core/css/CSSGradientValue.h"
43 #include "core/css/CSSImageSetValue.h"
44 #include "core/css/CSSImageValue.h"
45 #include "core/css/CSSInheritedValue.h"
46 #include "core/css/CSSInitialValue.h"
47 #include "core/css/CSSKeyframeRule.h"
48 #include "core/css/CSSKeyframesRule.h"
49 #include "core/css/CSSLineBoxContainValue.h"
50 #include "core/css/CSSPrimitiveValue.h"
51 #include "core/css/CSSPropertyMetadata.h"
52 #include "core/css/CSSPropertySourceData.h"
53 #include "core/css/CSSSelector.h"
54 #include "core/css/CSSShadowValue.h"
55 #include "core/css/CSSTimingFunctionValue.h"
56 #include "core/css/CSSTransformValue.h"
57 #include "core/css/CSSUnicodeRangeValue.h"
58 #include "core/css/CSSValueList.h"
59 #include "core/css/CSSValuePool.h"
60 #include "core/css/HashTools.h"
61 #include "core/css/Pair.h"
62 #include "core/css/Rect.h"
63 #include "core/css/parser/BisonCSSParser.h"
64 #include "core/css/parser/CSSParserIdioms.h"
65 #include "core/css/parser/CSSParserValues.h"
66 #include "core/frame/UseCounter.h"
67 #include "core/html/parser/HTMLParserIdioms.h"
68 #include "platform/FloatConversion.h"
69 #include "gen/sky/platform/RuntimeEnabledFeatures.h" 34 #include "gen/sky/platform/RuntimeEnabledFeatures.h"
70 #include "wtf/BitArray.h" 35 #include "sky/engine/core/css/CSSAspectRatioValue.h"
71 #include "wtf/HexNumber.h" 36 #include "sky/engine/core/css/CSSBasicShapes.h"
72 #include "wtf/text/StringBuffer.h" 37 #include "sky/engine/core/css/CSSBorderImage.h"
73 #include "wtf/text/StringBuilder.h" 38 #include "sky/engine/core/css/CSSCanvasValue.h"
74 #include "wtf/text/StringImpl.h" 39 #include "sky/engine/core/css/CSSCrossfadeValue.h"
75 #include "wtf/text/TextEncoding.h" 40 #include "sky/engine/core/css/CSSCursorImageValue.h"
76 #include <limits.h> 41 #include "sky/engine/core/css/CSSFontFaceSrcValue.h"
42 #include "sky/engine/core/css/CSSFontFeatureValue.h"
43 #include "sky/engine/core/css/CSSFunctionValue.h"
44 #include "sky/engine/core/css/CSSGradientValue.h"
45 #include "sky/engine/core/css/CSSImageSetValue.h"
46 #include "sky/engine/core/css/CSSImageValue.h"
47 #include "sky/engine/core/css/CSSInheritedValue.h"
48 #include "sky/engine/core/css/CSSInitialValue.h"
49 #include "sky/engine/core/css/CSSKeyframeRule.h"
50 #include "sky/engine/core/css/CSSKeyframesRule.h"
51 #include "sky/engine/core/css/CSSLineBoxContainValue.h"
52 #include "sky/engine/core/css/CSSPrimitiveValue.h"
53 #include "sky/engine/core/css/CSSPropertyMetadata.h"
54 #include "sky/engine/core/css/CSSPropertySourceData.h"
55 #include "sky/engine/core/css/CSSSelector.h"
56 #include "sky/engine/core/css/CSSShadowValue.h"
57 #include "sky/engine/core/css/CSSTimingFunctionValue.h"
58 #include "sky/engine/core/css/CSSTransformValue.h"
59 #include "sky/engine/core/css/CSSUnicodeRangeValue.h"
60 #include "sky/engine/core/css/CSSValueList.h"
61 #include "sky/engine/core/css/CSSValuePool.h"
62 #include "sky/engine/core/css/HashTools.h"
63 #include "sky/engine/core/css/Pair.h"
64 #include "sky/engine/core/css/Rect.h"
65 #include "sky/engine/core/css/parser/BisonCSSParser.h"
66 #include "sky/engine/core/css/parser/CSSParserIdioms.h"
67 #include "sky/engine/core/css/parser/CSSParserValues.h"
68 #include "sky/engine/core/frame/UseCounter.h"
69 #include "sky/engine/core/html/parser/HTMLParserIdioms.h"
70 #include "sky/engine/platform/FloatConversion.h"
71 #include "sky/engine/wtf/BitArray.h"
72 #include "sky/engine/wtf/HexNumber.h"
73 #include "sky/engine/wtf/text/StringBuffer.h"
74 #include "sky/engine/wtf/text/StringBuilder.h"
75 #include "sky/engine/wtf/text/StringImpl.h"
76 #include "sky/engine/wtf/text/TextEncoding.h"
77 77
78 namespace blink { 78 namespace blink {
79 79
80 static const double MAX_SCALE = 1000000; 80 static const double MAX_SCALE = 1000000;
81 81
82 template <unsigned N> 82 template <unsigned N>
83 static bool equalIgnoringCase(const CSSParserString& a, const char (&b)[N]) 83 static bool equalIgnoringCase(const CSSParserString& a, const char (&b)[N])
84 { 84 {
85 unsigned length = N - 1; // Ignore the trailing null character 85 unsigned length = N - 1; // Ignore the trailing null character
86 if (a.length() != length) 86 if (a.length() != length)
(...skipping 6134 matching lines...) Expand 10 before | Expand all | Expand 10 after
6221 || equalIgnoringCase(token, "n") || equalIgnoringCase(token, "-n"); 6221 || equalIgnoringCase(token, "n") || equalIgnoringCase(token, "-n");
6222 } 6222 }
6223 6223
6224 bool CSSPropertyParser::isSystemColor(int id) 6224 bool CSSPropertyParser::isSystemColor(int id)
6225 { 6225 {
6226 // FIXME(sky): remove 6226 // FIXME(sky): remove
6227 return false; 6227 return false;
6228 } 6228 }
6229 6229
6230 } // namespace blink 6230 } // namespace blink
OLDNEW
« no previous file with comments | « sky/engine/core/css/parser/CSSPropertyParser.h ('k') | sky/engine/core/css/parser/CSSTokenizer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698