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

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

Issue 709213002: Remove ContentData. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 83
84 void addPropertyWithPrefixingVariant(CSSPropertyID, PassRefPtr<CSSValue>, bo ol important, bool implicit = false); 84 void addPropertyWithPrefixingVariant(CSSPropertyID, PassRefPtr<CSSValue>, bo ol important, bool implicit = false);
85 void addProperty(CSSPropertyID, PassRefPtr<CSSValue>, bool important, bool i mplicit = false); 85 void addProperty(CSSPropertyID, PassRefPtr<CSSValue>, bool important, bool i mplicit = false);
86 void rollbackLastProperties(int num); 86 void rollbackLastProperties(int num);
87 void addExpandedPropertyForValue(CSSPropertyID propId, PassRefPtr<CSSValue>, bool); 87 void addExpandedPropertyForValue(CSSPropertyID propId, PassRefPtr<CSSValue>, bool);
88 88
89 PassRefPtr<CSSPrimitiveValue> parseValidPrimitive(CSSValueID ident, CSSParse rValue*); 89 PassRefPtr<CSSPrimitiveValue> parseValidPrimitive(CSSValueID ident, CSSParse rValue*);
90 90
91 bool parseShorthand(CSSPropertyID, const StylePropertyShorthand&, bool impor tant); 91 bool parseShorthand(CSSPropertyID, const StylePropertyShorthand&, bool impor tant);
92 bool parse4Values(CSSPropertyID, const CSSPropertyID* properties, bool impor tant); 92 bool parse4Values(CSSPropertyID, const CSSPropertyID* properties, bool impor tant);
93 bool parseContent(CSSPropertyID, bool important);
94 PassRefPtr<CSSValue> parseQuotes(); 93 PassRefPtr<CSSValue> parseQuotes();
95 94
96 PassRefPtr<CSSValue> parseAttr(CSSParserValueList* args); 95 PassRefPtr<CSSValue> parseAttr(CSSParserValueList* args);
97 96
98 PassRefPtr<CSSValue> parseBackgroundColor(); 97 PassRefPtr<CSSValue> parseBackgroundColor();
99 98
100 bool parseFillImage(CSSParserValueList*, RefPtr<CSSValue>&); 99 bool parseFillImage(CSSParserValueList*, RefPtr<CSSValue>&);
101 100
102 enum FillPositionFlag { InvalidFillPosition = 0, AmbiguousFillPosition = 1, XFillPosition = 2, YFillPosition = 4 }; 101 enum FillPositionFlag { InvalidFillPosition = 0, AmbiguousFillPosition = 1, XFillPosition = 2, YFillPosition = 4 };
103 enum FillPositionParsingMode { ResolveValuesAsPercent = 0, ResolveValuesAsKe yword = 1 }; 102 enum FillPositionParsingMode { ResolveValuesAsPercent = 0, ResolveValuesAsKe yword = 1 };
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
346 CSSPropertyID cssPropertyID(const CSSParserString&); 345 CSSPropertyID cssPropertyID(const CSSParserString&);
347 CSSPropertyID cssPropertyID(const String&); 346 CSSPropertyID cssPropertyID(const String&);
348 CSSValueID cssValueKeywordID(const CSSParserString&); 347 CSSValueID cssValueKeywordID(const CSSParserString&);
349 348
350 bool isKeywordPropertyID(CSSPropertyID); 349 bool isKeywordPropertyID(CSSPropertyID);
351 bool isValidKeywordPropertyAndValue(CSSPropertyID, CSSValueID, const CSSParserCo ntext&); 350 bool isValidKeywordPropertyAndValue(CSSPropertyID, CSSValueID, const CSSParserCo ntext&);
352 351
353 } // namespace blink 352 } // namespace blink
354 353
355 #endif // CSSPropertyParser_h 354 #endif // CSSPropertyParser_h
OLDNEW
« no previous file with comments | « sky/engine/core/css/StylePropertySerializer.cpp ('k') | sky/engine/core/css/parser/CSSPropertyParser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698