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) 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 * |
(...skipping 989 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1000 if (LIKELY(!hasEscape)) | 1000 if (LIKELY(!hasEscape)) |
1001 m_token = TOPRIGHTCORNER_SYM; | 1001 m_token = TOPRIGHTCORNER_SYM; |
1002 } | 1002 } |
1003 CASE("viewport") { | 1003 CASE("viewport") { |
1004 m_token = VIEWPORT_RULE_SYM; | 1004 m_token = VIEWPORT_RULE_SYM; |
1005 } | 1005 } |
1006 CASE("-internal-rule") { | 1006 CASE("-internal-rule") { |
1007 if (LIKELY(!hasEscape && m_internal)) | 1007 if (LIKELY(!hasEscape && m_internal)) |
1008 m_token = INTERNAL_RULE_SYM; | 1008 m_token = INTERNAL_RULE_SYM; |
1009 } | 1009 } |
1010 CASE("-webkit-region") { | |
1011 if (LIKELY(!hasEscape)) | |
1012 m_token = WEBKIT_REGION_RULE_SYM; | |
1013 } | |
1014 CASE("-internal-decls") { | 1010 CASE("-internal-decls") { |
1015 if (LIKELY(!hasEscape && m_internal)) | 1011 if (LIKELY(!hasEscape && m_internal)) |
1016 m_token = INTERNAL_DECLS_SYM; | 1012 m_token = INTERNAL_DECLS_SYM; |
1017 } | 1013 } |
1018 CASE("-internal-value") { | 1014 CASE("-internal-value") { |
1019 if (LIKELY(!hasEscape && m_internal)) | 1015 if (LIKELY(!hasEscape && m_internal)) |
1020 m_token = INTERNAL_VALUE_SYM; | 1016 m_token = INTERNAL_VALUE_SYM; |
1021 } | 1017 } |
1022 CASE("-webkit-keyframes") { | 1018 CASE("-webkit-keyframes") { |
1023 m_token = WEBKIT_KEYFRAMES_SYM; | 1019 m_token = WEBKIT_KEYFRAMES_SYM; |
(...skipping 506 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1530 m_dataStart16[length - 1] = 0; | 1526 m_dataStart16[length - 1] = 0; |
1531 | 1527 |
1532 m_is8BitSource = false; | 1528 m_is8BitSource = false; |
1533 m_currentCharacter8 = 0; | 1529 m_currentCharacter8 = 0; |
1534 m_currentCharacter16 = m_dataStart16.get(); | 1530 m_currentCharacter16 = m_dataStart16.get(); |
1535 setTokenStart<UChar>(m_currentCharacter16); | 1531 setTokenStart<UChar>(m_currentCharacter16); |
1536 m_lexFunc = &CSSTokenizer::realLex<UChar>; | 1532 m_lexFunc = &CSSTokenizer::realLex<UChar>; |
1537 } | 1533 } |
1538 | 1534 |
1539 } // namespace WebCore | 1535 } // namespace WebCore |
OLD | NEW |