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

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

Issue 40733004: Replace compile flag with runtime check for text-underline-position (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Julien's review #2 (rebased) Created 7 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/css/CSSComputedStyleDeclaration.cpp ('k') | Source/core/css/CSSParser-in.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
272 272
273 PassRefPtr<CSSValueList> parseTransform(); 273 PassRefPtr<CSSValueList> parseTransform();
274 PassRefPtr<CSSValue> parseTransformValue(CSSParserValue*); 274 PassRefPtr<CSSValue> parseTransformValue(CSSParserValue*);
275 bool parseTransformOrigin(CSSPropertyID propId, CSSPropertyID& propId1, CSSP ropertyID& propId2, CSSPropertyID& propId3, RefPtr<CSSValue>&, RefPtr<CSSValue>& , RefPtr<CSSValue>&); 275 bool parseTransformOrigin(CSSPropertyID propId, CSSPropertyID& propId1, CSSP ropertyID& propId2, CSSPropertyID& propId3, RefPtr<CSSValue>&, RefPtr<CSSValue>& , RefPtr<CSSValue>&);
276 bool parsePerspectiveOrigin(CSSPropertyID propId, CSSPropertyID& propId1, CS SPropertyID& propId2, RefPtr<CSSValue>&, RefPtr<CSSValue>&); 276 bool parsePerspectiveOrigin(CSSPropertyID propId, CSSPropertyID& propId1, CS SPropertyID& propId2, RefPtr<CSSValue>&, RefPtr<CSSValue>&);
277 277
278 bool parseTextEmphasisStyle(bool important); 278 bool parseTextEmphasisStyle(bool important);
279 279
280 void addTextDecorationProperty(CSSPropertyID, PassRefPtr<CSSValue>, bool imp ortant); 280 void addTextDecorationProperty(CSSPropertyID, PassRefPtr<CSSValue>, bool imp ortant);
281 bool parseTextDecoration(CSSPropertyID propId, bool important); 281 bool parseTextDecoration(CSSPropertyID propId, bool important);
282 #if ENABLE(CSS3_TEXT)
283 bool parseTextUnderlinePosition(bool important); 282 bool parseTextUnderlinePosition(bool important);
284 #endif // CSS3_TEXT
285 283
286 PassRefPtr<CSSValue> parseTextIndent(); 284 PassRefPtr<CSSValue> parseTextIndent();
287 285
288 bool parseLineBoxContain(bool important); 286 bool parseLineBoxContain(bool important);
289 bool parseCalculation(CSSParserValue*, ValueRange); 287 bool parseCalculation(CSSParserValue*, ValueRange);
290 288
291 bool parseFontFeatureTag(CSSValueList*); 289 bool parseFontFeatureTag(CSSValueList*);
292 bool parseFontFeatureSettings(bool important); 290 bool parseFontFeatureSettings(bool important);
293 291
294 bool parseFlowThread(const String& flowName); 292 bool parseFlowThread(const String& flowName);
(...skipping 493 matching lines...) Expand 10 before | Expand all | Expand 10 after
788 } 786 }
789 787
790 inline int cssyylex(void* yylval, CSSParser* parser) 788 inline int cssyylex(void* yylval, CSSParser* parser)
791 { 789 {
792 return parser->lex(yylval); 790 return parser->lex(yylval);
793 } 791 }
794 792
795 } // namespace WebCore 793 } // namespace WebCore
796 794
797 #endif // CSSParser_h 795 #endif // CSSParser_h
OLDNEW
« no previous file with comments | « Source/core/css/CSSComputedStyleDeclaration.cpp ('k') | Source/core/css/CSSParser-in.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698