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

Side by Side Diff: Source/core/css/CSSTokenizer-in.cpp

Issue 143323014: *** DO NOT LAND *** Attempt to understand Regions complexity Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/css/CSSRule.idl ('k') | Source/core/css/CSSValueKeywords.in » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 *
(...skipping 995 matching lines...) Expand 10 before | Expand all | Expand 10 after
1006 if (LIKELY(!hasEscape)) 1006 if (LIKELY(!hasEscape))
1007 m_token = TOPRIGHTCORNER_SYM; 1007 m_token = TOPRIGHTCORNER_SYM;
1008 } 1008 }
1009 CASE("viewport") { 1009 CASE("viewport") {
1010 m_token = VIEWPORT_RULE_SYM; 1010 m_token = VIEWPORT_RULE_SYM;
1011 } 1011 }
1012 CASE("-internal-rule") { 1012 CASE("-internal-rule") {
1013 if (LIKELY(!hasEscape && m_internal)) 1013 if (LIKELY(!hasEscape && m_internal))
1014 m_token = INTERNAL_RULE_SYM; 1014 m_token = INTERNAL_RULE_SYM;
1015 } 1015 }
1016 CASE("-webkit-region") {
1017 if (LIKELY(!hasEscape))
1018 m_token = WEBKIT_REGION_RULE_SYM;
1019 }
1020 CASE("-internal-decls") { 1016 CASE("-internal-decls") {
1021 if (LIKELY(!hasEscape && m_internal)) 1017 if (LIKELY(!hasEscape && m_internal))
1022 m_token = INTERNAL_DECLS_SYM; 1018 m_token = INTERNAL_DECLS_SYM;
1023 } 1019 }
1024 CASE("-internal-value") { 1020 CASE("-internal-value") {
1025 if (LIKELY(!hasEscape && m_internal)) 1021 if (LIKELY(!hasEscape && m_internal))
1026 m_token = INTERNAL_VALUE_SYM; 1022 m_token = INTERNAL_VALUE_SYM;
1027 } 1023 }
1028 CASE("-webkit-keyframes") { 1024 CASE("-webkit-keyframes") {
1029 m_token = WEBKIT_KEYFRAMES_SYM; 1025 m_token = WEBKIT_KEYFRAMES_SYM;
(...skipping 520 matching lines...) Expand 10 before | Expand all | Expand 10 after
1550 m_dataStart16[length - 1] = 0; 1546 m_dataStart16[length - 1] = 0;
1551 1547
1552 m_is8BitSource = false; 1548 m_is8BitSource = false;
1553 m_currentCharacter8 = 0; 1549 m_currentCharacter8 = 0;
1554 m_currentCharacter16 = m_dataStart16.get(); 1550 m_currentCharacter16 = m_dataStart16.get();
1555 setTokenStart<UChar>(m_currentCharacter16); 1551 setTokenStart<UChar>(m_currentCharacter16);
1556 m_lexFunc = &CSSTokenizer::realLex<UChar>; 1552 m_lexFunc = &CSSTokenizer::realLex<UChar>;
1557 } 1553 }
1558 1554
1559 } // namespace WebCore 1555 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/css/CSSRule.idl ('k') | Source/core/css/CSSValueKeywords.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698