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

Side by Side Diff: sky/engine/core/css/parser/BisonCSSParser.h

Issue 1229273004: Remove Animations and Transitions. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 5 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
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 28 matching lines...) Expand all
39 #include "sky/engine/core/css/parser/CSSTokenizer.h" 39 #include "sky/engine/core/css/parser/CSSTokenizer.h"
40 #include "sky/engine/platform/graphics/Color.h" 40 #include "sky/engine/platform/graphics/Color.h"
41 #include "sky/engine/wtf/HashSet.h" 41 #include "sky/engine/wtf/HashSet.h"
42 #include "sky/engine/wtf/OwnPtr.h" 42 #include "sky/engine/wtf/OwnPtr.h"
43 #include "sky/engine/wtf/Vector.h" 43 #include "sky/engine/wtf/Vector.h"
44 #include "sky/engine/wtf/text/AtomicString.h" 44 #include "sky/engine/wtf/text/AtomicString.h"
45 #include "sky/engine/wtf/text/TextPosition.h" 45 #include "sky/engine/wtf/text/TextPosition.h"
46 46
47 namespace blink { 47 namespace blink {
48 48
49 class AnimationParseContext;
50 class CSSBasicShape; 49 class CSSBasicShape;
51 class CSSBasicShapeInset; 50 class CSSBasicShapeInset;
52 class CSSBorderImageSliceValue; 51 class CSSBorderImageSliceValue;
53 class CSSPrimitiveValue; 52 class CSSPrimitiveValue;
54 class CSSSelectorList; 53 class CSSSelectorList;
55 class CSSValue; 54 class CSSValue;
56 class CSSValueList; 55 class CSSValueList;
57 class Document; 56 class Document;
58 class Element; 57 class Element;
59 class ImmutableStylePropertySet; 58 class ImmutableStylePropertySet;
(...skipping 21 matching lines...) Expand all
81 void setCurrentProperty(CSSPropertyID); 80 void setCurrentProperty(CSSPropertyID);
82 81
83 void parseSheet(StyleSheetContents*, const String&); 82 void parseSheet(StyleSheetContents*, const String&);
84 PassRefPtr<StyleRuleBase> parseRule(StyleSheetContents*, const String&); 83 PassRefPtr<StyleRuleBase> parseRule(StyleSheetContents*, const String&);
85 bool parseSupportsCondition(const String&); 84 bool parseSupportsCondition(const String&);
86 static bool parseValue(MutableStylePropertySet*, CSSPropertyID, const String &, CSSParserMode, StyleSheetContents*); 85 static bool parseValue(MutableStylePropertySet*, CSSPropertyID, const String &, CSSParserMode, StyleSheetContents*);
87 static bool parseColor(RGBA32& color, const String&, bool strict = false); 86 static bool parseColor(RGBA32& color, const String&, bool strict = false);
88 static StyleColor colorFromRGBColorString(const String&); 87 static StyleColor colorFromRGBColorString(const String&);
89 static bool parseSystemColor(RGBA32& color, const String&); 88 static bool parseSystemColor(RGBA32& color, const String&);
90 static PassRefPtr<CSSValueList> parseFontFaceValue(const AtomicString&); 89 static PassRefPtr<CSSValueList> parseFontFaceValue(const AtomicString&);
91 static PassRefPtr<CSSValue> parseAnimationTimingFunctionValue(const String&) ;
92 bool parseDeclaration(MutableStylePropertySet*, const String&, CSSParserObse rver*, StyleSheetContents* contextStyleSheet); 90 bool parseDeclaration(MutableStylePropertySet*, const String&, CSSParserObse rver*, StyleSheetContents* contextStyleSheet);
93 static PassRefPtr<ImmutableStylePropertySet> parseInlineStyleDeclaration(con st String&, Element*); 91 static PassRefPtr<ImmutableStylePropertySet> parseInlineStyleDeclaration(con st String&, Element*);
94 bool parseAttributeMatchType(CSSSelector::AttributeMatchType&, const String& ); 92 bool parseAttributeMatchType(CSSSelector::AttributeMatchType&, const String& );
95 93
96 static bool parseValue(MutableStylePropertySet*, CSSPropertyID, const String &, const Document&); 94 static bool parseValue(MutableStylePropertySet*, CSSPropertyID, const String &, const Document&);
97 95
98 bool parseValue(CSSPropertyID); 96 bool parseValue(CSSPropertyID);
99 void parseSelector(const String&, CSSSelectorList&); 97 void parseSelector(const String&, CSSSelectorList&);
100 98
101 CSSParserSelector* createFloatingSelector(); 99 CSSParserSelector* createFloatingSelector();
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 inline int cssyylex(void* yylval, BisonCSSParser* parser) 238 inline int cssyylex(void* yylval, BisonCSSParser* parser)
241 { 239 {
242 return parser->m_tokenizer.lex(yylval); 240 return parser->m_tokenizer.lex(yylval);
243 } 241 }
244 242
245 bool isValidNthToken(const CSSParserString&); 243 bool isValidNthToken(const CSSParserString&);
246 244
247 } // namespace blink 245 } // namespace blink
248 246
249 #endif // SKY_ENGINE_CORE_CSS_PARSER_BISONCSSPARSER_H_ 247 #endif // SKY_ENGINE_CORE_CSS_PARSER_BISONCSSPARSER_H_
OLDNEW
« no previous file with comments | « sky/engine/core/css/StylePropertyShorthandCustom.cpp ('k') | sky/engine/core/css/parser/BisonCSSParser-in.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698