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

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

Issue 87973002: add pan-x and pan-y support to CSS touch-action parsing. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: incorporated review comments Created 7 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 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 static bool isBlendMode(CSSValueID); 274 static bool isBlendMode(CSSValueID);
275 static bool isCompositeOperator(CSSValueID); 275 static bool isCompositeOperator(CSSValueID);
276 276
277 PassRefPtr<CSSValueList> parseTransform(); 277 PassRefPtr<CSSValueList> parseTransform();
278 PassRefPtr<CSSValue> parseTransformValue(CSSParserValue*); 278 PassRefPtr<CSSValue> parseTransformValue(CSSParserValue*);
279 bool parseTransformOrigin(CSSPropertyID propId, CSSPropertyID& propId1, CSSP ropertyID& propId2, CSSPropertyID& propId3, RefPtr<CSSValue>&, RefPtr<CSSValue>& , RefPtr<CSSValue>&); 279 bool parseTransformOrigin(CSSPropertyID propId, CSSPropertyID& propId1, CSSP ropertyID& propId2, CSSPropertyID& propId3, RefPtr<CSSValue>&, RefPtr<CSSValue>& , RefPtr<CSSValue>&);
280 bool parsePerspectiveOrigin(CSSPropertyID propId, CSSPropertyID& propId1, CS SPropertyID& propId2, RefPtr<CSSValue>&, RefPtr<CSSValue>&); 280 bool parsePerspectiveOrigin(CSSPropertyID propId, CSSPropertyID& propId1, CS SPropertyID& propId2, RefPtr<CSSValue>&, RefPtr<CSSValue>&);
281 281
282 bool parseTextEmphasisStyle(bool important); 282 bool parseTextEmphasisStyle(bool important);
283 283
284 bool parseTouchAction(CSSPropertyID propId, bool important);
eseidel 2013/12/13 17:19:06 nit: propId name doens't add anything, I'd remove
gnana 2013/12/16 08:16:26 Done.
285
284 void addTextDecorationProperty(CSSPropertyID, PassRefPtr<CSSValue>, bool imp ortant); 286 void addTextDecorationProperty(CSSPropertyID, PassRefPtr<CSSValue>, bool imp ortant);
285 bool parseTextDecoration(CSSPropertyID propId, bool important); 287 bool parseTextDecoration(CSSPropertyID propId, bool important);
286 bool parseTextUnderlinePosition(bool important); 288 bool parseTextUnderlinePosition(bool important);
287 289
288 PassRefPtr<CSSValue> parseTextIndent(); 290 PassRefPtr<CSSValue> parseTextIndent();
289 291
290 bool parseLineBoxContain(bool important); 292 bool parseLineBoxContain(bool important);
291 bool parseCalculation(CSSParserValue*, ValueRange); 293 bool parseCalculation(CSSParserValue*, ValueRange);
292 294
293 bool parseFontFeatureTag(CSSValueList*); 295 bool parseFontFeatureTag(CSSValueList*);
(...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after
665 bool isValidNthToken(const CSSParserString&); 667 bool isValidNthToken(const CSSParserString&);
666 668
667 inline int cssyylex(void* yylval, CSSParser* parser) 669 inline int cssyylex(void* yylval, CSSParser* parser)
668 { 670 {
669 return parser->m_tokenizer.lex(yylval); 671 return parser->m_tokenizer.lex(yylval);
670 } 672 }
671 673
672 } // namespace WebCore 674 } // namespace WebCore
673 675
674 #endif // CSSParser_h 676 #endif // CSSParser_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698