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

Side by Side Diff: Source/core/css/CSSParser.h

Issue 96283002: Web Animations API: Start implementation of Element.animate(). (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add layout test for animate() Created 7 years 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2003 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 2003 Lars Knoll (knoll@kde.org)
3 * Copyright (C) 2004, 2005, 2006, 2008, 2009, 2010 Apple Inc. All rights reserv ed. 3 * Copyright (C) 2004, 2005, 2006, 2008, 2009, 2010 Apple Inc. All rights reserv ed.
4 * Copyright (C) 2008 Eric Seidel <eric@webkit.org> 4 * Copyright (C) 2008 Eric Seidel <eric@webkit.org>
5 * Copyright (C) 2009 - 2010 Torch Mobile (Beijing) Co. Ltd. All rights reserve d. 5 * Copyright (C) 2009 - 2010 Torch Mobile (Beijing) Co. Ltd. All rights reserve d.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 605 matching lines...) Expand 10 before | Expand all | Expand 10 after
616 UseCounter* m_useCounter; 616 UseCounter* m_useCounter;
617 617
618 CSSTokenizer m_tokenizer; 618 CSSTokenizer m_tokenizer;
619 619
620 friend class TransformOperationInfo; 620 friend class TransformOperationInfo;
621 friend class FilterOperationInfo; 621 friend class FilterOperationInfo;
622 }; 622 };
623 623
624 CSSPropertyID cssPropertyID(const CSSParserString&); 624 CSSPropertyID cssPropertyID(const CSSParserString&);
625 CSSPropertyID cssPropertyID(const String&); 625 CSSPropertyID cssPropertyID(const String&);
626 CSSPropertyID camelCaseCSSPropertyNameToID(StringImpl* propertyName);
626 CSSValueID cssValueKeywordID(const CSSParserString&); 627 CSSValueID cssValueKeywordID(const CSSParserString&);
627 628
628 class ShorthandScope { 629 class ShorthandScope {
629 WTF_MAKE_FAST_ALLOCATED; 630 WTF_MAKE_FAST_ALLOCATED;
630 public: 631 public:
631 ShorthandScope(CSSParser* parser, CSSPropertyID propId) : m_parser(parser) 632 ShorthandScope(CSSParser* parser, CSSPropertyID propId) : m_parser(parser)
632 { 633 {
633 if (!(m_parser->m_inParseShorthand++)) 634 if (!(m_parser->m_inParseShorthand++))
634 m_parser->m_currentShorthand = propId; 635 m_parser->m_currentShorthand = propId;
635 } 636 }
(...skipping 29 matching lines...) Expand all
665 bool isValidNthToken(const CSSParserString&); 666 bool isValidNthToken(const CSSParserString&);
666 667
667 inline int cssyylex(void* yylval, CSSParser* parser) 668 inline int cssyylex(void* yylval, CSSParser* parser)
668 { 669 {
669 return parser->m_tokenizer.lex(yylval); 670 return parser->m_tokenizer.lex(yylval);
670 } 671 }
671 672
672 } // namespace WebCore 673 } // namespace WebCore
673 674
674 #endif // CSSParser_h 675 #endif // CSSParser_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698