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

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

Issue 16183002: Unprefix CSS Variables (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased and updated prefix test Created 7 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/css/CSSGrammar.y.in ('k') | Source/core/css/CSSParser.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 489 matching lines...) Expand 10 before | Expand all | Expand 10 after
500 inline void detectMediaQueryToken(int); 500 inline void detectMediaQueryToken(int);
501 template <typename CharacterType> 501 template <typename CharacterType>
502 inline void detectNumberToken(CharacterType*, int); 502 inline void detectNumberToken(CharacterType*, int);
503 template <typename CharacterType> 503 template <typename CharacterType>
504 inline void detectDashToken(int); 504 inline void detectDashToken(int);
505 template <typename CharacterType> 505 template <typename CharacterType>
506 inline void detectAtToken(int, bool); 506 inline void detectAtToken(int, bool);
507 template <typename CharacterType> 507 template <typename CharacterType>
508 inline void detectSupportsToken(int); 508 inline void detectSupportsToken(int);
509 template <typename CharacterType> 509 template <typename CharacterType>
510 inline bool detectCSSVariablesToken(int); 510 inline void detectCSSVariableDefinitionToken(int);
511 511
512 void setStyleSheet(StyleSheetContents* styleSheet) { m_styleSheet = styleShe et; } 512 void setStyleSheet(StyleSheetContents* styleSheet) { m_styleSheet = styleShe et; }
513 513
514 inline bool inStrictMode() const { return m_context.mode == CSSStrictMode || m_context.mode == SVGAttributeMode; } 514 inline bool inStrictMode() const { return m_context.mode == CSSStrictMode || m_context.mode == SVGAttributeMode; }
515 inline bool inQuirksMode() const { return m_context.mode == CSSQuirksMode; } 515 inline bool inQuirksMode() const { return m_context.mode == CSSQuirksMode; }
516 516
517 KURL completeURL(const String& url) const; 517 KURL completeURL(const String& url) const;
518 518
519 void recheckAtKeyword(const UChar* str, int len); 519 void recheckAtKeyword(const UChar* str, int len);
520 520
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
737 } 737 }
738 738
739 inline int cssyylex(void* yylval, CSSParser* parser) 739 inline int cssyylex(void* yylval, CSSParser* parser)
740 { 740 {
741 return parser->lex(yylval); 741 return parser->lex(yylval);
742 } 742 }
743 743
744 } // namespace WebCore 744 } // namespace WebCore
745 745
746 #endif // CSSParser_h 746 #endif // CSSParser_h
OLDNEW
« no previous file with comments | « Source/core/css/CSSGrammar.y.in ('k') | Source/core/css/CSSParser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698