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

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

Issue 134473008: Remove CSS regions support, keeping a bare minimum to support "region-based" multicol. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase master Created 6 years, 10 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
« 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 989 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
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