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

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

Issue 212123002: Unship '::-webkit-distributed(...)' functional pseudo element. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 6 years, 9 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
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 870 matching lines...) Expand 10 before | Expand all | Expand 10 after
881 } 881 }
882 CASE("webkit-min") { 882 CASE("webkit-min") {
883 m_token = MINFUNCTION; 883 m_token = MINFUNCTION;
884 } 884 }
885 CASE("webkit-max") { 885 CASE("webkit-max") {
886 m_token = MAXFUNCTION; 886 m_token = MAXFUNCTION;
887 } 887 }
888 CASE("webkit-calc") { 888 CASE("webkit-calc") {
889 m_token = CALCFUNCTION; 889 m_token = CALCFUNCTION;
890 } 890 }
891 CASE("webkit-distributed") {
892 m_token = DISTRIBUTEDFUNCTION;
893 }
894 } 891 }
895 } 892 }
896 893
897 template <typename CharacterType> 894 template <typename CharacterType>
898 inline void CSSTokenizer::detectAtToken(int length, bool hasEscape) 895 inline void CSSTokenizer::detectAtToken(int length, bool hasEscape)
899 { 896 {
900 CharacterType* name = tokenStart<CharacterType>(); 897 CharacterType* name = tokenStart<CharacterType>();
901 ASSERT(name[0] == '@' && length >= 2); 898 ASSERT(name[0] == '@' && length >= 2);
902 899
903 // Ignore leading @. 900 // Ignore leading @.
(...skipping 622 matching lines...) Expand 10 before | Expand all | Expand 10 after
1526 m_dataStart16[length - 1] = 0; 1523 m_dataStart16[length - 1] = 0;
1527 1524
1528 m_is8BitSource = false; 1525 m_is8BitSource = false;
1529 m_currentCharacter8 = 0; 1526 m_currentCharacter8 = 0;
1530 m_currentCharacter16 = m_dataStart16.get(); 1527 m_currentCharacter16 = m_dataStart16.get();
1531 setTokenStart<UChar>(m_currentCharacter16); 1528 setTokenStart<UChar>(m_currentCharacter16);
1532 m_lexFunc = &CSSTokenizer::realLex<UChar>; 1529 m_lexFunc = &CSSTokenizer::realLex<UChar>;
1533 } 1530 }
1534 1531
1535 } // namespace WebCore 1532 } // namespace WebCore
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698