OLD | NEW |
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 * | 4 * |
5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
9 * | 9 * |
10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
(...skipping 12 matching lines...) Expand all Loading... |
23 | 23 |
24 #include "core/CSSValueKeywords.h" | 24 #include "core/CSSValueKeywords.h" |
25 #include "core/css/CSSPrimitiveValue.h" | 25 #include "core/css/CSSPrimitiveValue.h" |
26 #include "core/css/CSSSelector.h" | 26 #include "core/css/CSSSelector.h" |
27 #include "core/css/CSSValueList.h" | 27 #include "core/css/CSSValueList.h" |
28 #include "wtf/text/AtomicString.h" | 28 #include "wtf/text/AtomicString.h" |
29 #include "wtf/text/WTFString.h" | 29 #include "wtf/text/WTFString.h" |
30 | 30 |
31 namespace blink { | 31 namespace blink { |
32 | 32 |
33 class CSSValue; | |
34 class QualifiedName; | 33 class QualifiedName; |
35 | 34 |
36 struct CSSParserString { | 35 struct CSSParserString { |
37 void init(const LChar* characters, unsigned length) | 36 void init(const LChar* characters, unsigned length) |
38 { | 37 { |
39 m_data.characters8 = characters; | 38 m_data.characters8 = characters; |
40 m_length = length; | 39 m_length = length; |
41 m_is8Bit = true; | 40 m_is8Bit = true; |
42 } | 41 } |
43 | 42 |
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
280 { | 279 { |
281 id = CSSValueInvalid; | 280 id = CSSValueInvalid; |
282 this->valueList = valueList.leakPtr(); | 281 this->valueList = valueList.leakPtr(); |
283 unit = ValueList; | 282 unit = ValueList; |
284 isInt = false; | 283 isInt = false; |
285 } | 284 } |
286 | 285 |
287 } | 286 } |
288 | 287 |
289 #endif | 288 #endif |
OLD | NEW |