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

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

Issue 559903002: Remove RuntimeEnabledFeatures flag MediaQueryParser (status=stable) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 3 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/parser/CSSGrammar.y ('k') | Source/platform/RuntimeEnabledFeatures.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 1058 matching lines...) Expand 10 before | Expand all | Expand 10 after
1069 if (LIKELY(!hasEscape && m_internal)) 1069 if (LIKELY(!hasEscape && m_internal))
1070 m_token = INTERNAL_VALUE_SYM; 1070 m_token = INTERNAL_VALUE_SYM;
1071 } 1071 }
1072 CASE("-webkit-keyframes") { 1072 CASE("-webkit-keyframes") {
1073 m_token = WEBKIT_KEYFRAMES_SYM; 1073 m_token = WEBKIT_KEYFRAMES_SYM;
1074 } 1074 }
1075 CASE("-internal-selector") { 1075 CASE("-internal-selector") {
1076 if (LIKELY(!hasEscape && m_internal)) 1076 if (LIKELY(!hasEscape && m_internal))
1077 m_token = INTERNAL_SELECTOR_SYM; 1077 m_token = INTERNAL_SELECTOR_SYM;
1078 } 1078 }
1079 CASE("-internal-medialist") {
1080 if (!m_internal)
1081 return;
1082 m_parsingMode = MediaQueryMode;
1083 m_token = INTERNAL_MEDIALIST_SYM;
1084 }
1085 CASE("-internal-keyframe-rule") { 1079 CASE("-internal-keyframe-rule") {
1086 if (LIKELY(!hasEscape && m_internal)) 1080 if (LIKELY(!hasEscape && m_internal))
1087 m_token = INTERNAL_KEYFRAME_RULE_SYM; 1081 m_token = INTERNAL_KEYFRAME_RULE_SYM;
1088 } 1082 }
1089 CASE("-internal-keyframe-key-list") { 1083 CASE("-internal-keyframe-key-list") {
1090 if (!m_internal) 1084 if (!m_internal)
1091 return; 1085 return;
1092 m_token = INTERNAL_KEYFRAME_KEY_LIST_SYM; 1086 m_token = INTERNAL_KEYFRAME_KEY_LIST_SYM;
1093 } 1087 }
1094 CASE("-internal-supports-condition") { 1088 CASE("-internal-supports-condition") {
(...skipping 482 matching lines...) Expand 10 before | Expand all | Expand 10 after
1577 m_dataStart16[length - 1] = 0; 1571 m_dataStart16[length - 1] = 0;
1578 1572
1579 m_is8BitSource = false; 1573 m_is8BitSource = false;
1580 m_currentCharacter8 = 0; 1574 m_currentCharacter8 = 0;
1581 m_currentCharacter16 = m_dataStart16.get(); 1575 m_currentCharacter16 = m_dataStart16.get();
1582 setTokenStart<UChar>(m_currentCharacter16); 1576 setTokenStart<UChar>(m_currentCharacter16);
1583 m_lexFunc = &CSSTokenizer::realLex<UChar>; 1577 m_lexFunc = &CSSTokenizer::realLex<UChar>;
1584 } 1578 }
1585 1579
1586 } // namespace blink 1580 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/css/parser/CSSGrammar.y ('k') | Source/platform/RuntimeEnabledFeatures.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698