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

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

Issue 14576017: Implement CSS3TextDecorations runtime flag in favor of CSS3_TEXT (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Updated css-properties-as-js-properties.html layout test expectations to match new properties. Created 7 years, 7 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 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 245
246 PassRefPtr<CSSValueList> parseTransform(); 246 PassRefPtr<CSSValueList> parseTransform();
247 PassRefPtr<CSSValue> parseTransformValue(CSSParserValue*); 247 PassRefPtr<CSSValue> parseTransformValue(CSSParserValue*);
248 bool parseTransformOrigin(CSSPropertyID propId, CSSPropertyID& propId1, CSSP ropertyID& propId2, CSSPropertyID& propId3, RefPtr<CSSValue>&, RefPtr<CSSValue>& , RefPtr<CSSValue>&); 248 bool parseTransformOrigin(CSSPropertyID propId, CSSPropertyID& propId1, CSSP ropertyID& propId2, CSSPropertyID& propId3, RefPtr<CSSValue>&, RefPtr<CSSValue>& , RefPtr<CSSValue>&);
249 bool parsePerspectiveOrigin(CSSPropertyID propId, CSSPropertyID& propId1, CS SPropertyID& propId2, RefPtr<CSSValue>&, RefPtr<CSSValue>&); 249 bool parsePerspectiveOrigin(CSSPropertyID propId, CSSPropertyID& propId1, CS SPropertyID& propId2, RefPtr<CSSValue>&, RefPtr<CSSValue>&);
250 250
251 bool parseTextEmphasisStyle(bool important); 251 bool parseTextEmphasisStyle(bool important);
252 252
253 void addTextDecorationProperty(CSSPropertyID, PassRefPtr<CSSValue>, bool imp ortant); 253 void addTextDecorationProperty(CSSPropertyID, PassRefPtr<CSSValue>, bool imp ortant);
254 bool parseTextDecoration(CSSPropertyID propId, bool important); 254 bool parseTextDecoration(CSSPropertyID propId, bool important);
255 #if ENABLE(CSS3_TEXT)
256 bool parseTextUnderlinePosition(bool important); 255 bool parseTextUnderlinePosition(bool important);
257 #endif // CSS3_TEXT
258 256
259 PassRefPtr<CSSValue> parseTextIndent(); 257 PassRefPtr<CSSValue> parseTextIndent();
260 258
261 bool parseLineBoxContain(bool important); 259 bool parseLineBoxContain(bool important);
262 bool parseCalculation(CSSParserValue*, CalculationPermittedValueRange); 260 bool parseCalculation(CSSParserValue*, CalculationPermittedValueRange);
263 261
264 bool parseFontFeatureTag(CSSValueList*); 262 bool parseFontFeatureTag(CSSValueList*);
265 bool parseFontFeatureSettings(bool important); 263 bool parseFontFeatureSettings(bool important);
266 264
267 bool parseFlowThread(const String& flowName); 265 bool parseFlowThread(const String& flowName);
(...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after
697 } 695 }
698 696
699 inline int cssyylex(void* yylval, CSSParser* parser) 697 inline int cssyylex(void* yylval, CSSParser* parser)
700 { 698 {
701 return parser->lex(yylval); 699 return parser->lex(yylval);
702 } 700 }
703 701
704 } // namespace WebCore 702 } // namespace WebCore
705 703
706 #endif // CSSParser_h 704 #endif // CSSParser_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698