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

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

Issue 760183003: Enable/Unprefix Animations & Transitions, add basic tests (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: patch for landing Created 6 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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 74
75 bool inShorthand() const { return m_inParseShorthand; } 75 bool inShorthand() const { return m_inParseShorthand; }
76 bool inQuirksMode() const { return isQuirksModeBehavior(m_context.mode()); } 76 bool inQuirksMode() const { return isQuirksModeBehavior(m_context.mode()); }
77 77
78 bool inViewport() const { return m_inViewport; } 78 bool inViewport() const { return m_inViewport; }
79 bool parseViewportProperty(CSSPropertyID propId, bool important); 79 bool parseViewportProperty(CSSPropertyID propId, bool important);
80 bool parseViewportShorthand(CSSPropertyID propId, CSSPropertyID first, CSSPr opertyID second, bool important); 80 bool parseViewportShorthand(CSSPropertyID propId, CSSPropertyID first, CSSPr opertyID second, bool important);
81 81
82 KURL completeURL(const String& url) const; 82 KURL completeURL(const String& url) const;
83 83
84 void addPropertyWithPrefixingVariant(CSSPropertyID, PassRefPtr<CSSValue>, bo ol important, bool implicit = false);
85 void addProperty(CSSPropertyID, PassRefPtr<CSSValue>, bool important, bool i mplicit = false); 84 void addProperty(CSSPropertyID, PassRefPtr<CSSValue>, bool important, bool i mplicit = false);
86 void rollbackLastProperties(int num); 85 void rollbackLastProperties(int num);
87 void addExpandedPropertyForValue(CSSPropertyID propId, PassRefPtr<CSSValue>, bool); 86 void addExpandedPropertyForValue(CSSPropertyID propId, PassRefPtr<CSSValue>, bool);
88 87
89 PassRefPtr<CSSPrimitiveValue> parseValidPrimitive(CSSValueID ident, CSSParse rValue*); 88 PassRefPtr<CSSPrimitiveValue> parseValidPrimitive(CSSValueID ident, CSSParse rValue*);
90 89
91 bool parseShorthand(CSSPropertyID, const StylePropertyShorthand&, bool impor tant); 90 bool parseShorthand(CSSPropertyID, const StylePropertyShorthand&, bool impor tant);
92 bool parse4Values(CSSPropertyID, const CSSPropertyID* properties, bool impor tant); 91 bool parse4Values(CSSPropertyID, const CSSPropertyID* properties, bool impor tant);
93 PassRefPtr<CSSValue> parseQuotes(); 92 PassRefPtr<CSSValue> parseQuotes();
94 93
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
345 CSSPropertyID cssPropertyID(const CSSParserString&); 344 CSSPropertyID cssPropertyID(const CSSParserString&);
346 CSSPropertyID cssPropertyID(const String&); 345 CSSPropertyID cssPropertyID(const String&);
347 CSSValueID cssValueKeywordID(const CSSParserString&); 346 CSSValueID cssValueKeywordID(const CSSParserString&);
348 347
349 bool isKeywordPropertyID(CSSPropertyID); 348 bool isKeywordPropertyID(CSSPropertyID);
350 bool isValidKeywordPropertyAndValue(CSSPropertyID, CSSValueID, const CSSParserCo ntext&); 349 bool isValidKeywordPropertyAndValue(CSSPropertyID, CSSValueID, const CSSParserCo ntext&);
351 350
352 } // namespace blink 351 } // namespace blink
353 352
354 #endif // SKY_ENGINE_CORE_CSS_PARSER_CSSPROPERTYPARSER_H_ 353 #endif // SKY_ENGINE_CORE_CSS_PARSER_CSSPROPERTYPARSER_H_
OLDNEW
« no previous file with comments | « sky/engine/core/css/parser/CSSGrammar.y ('k') | sky/engine/core/css/parser/CSSPropertyParser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698