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

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: 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
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 487 matching lines...) Expand 10 before | Expand all | Expand 10 after
498 inline void detectMediaQueryToken(int); 498 inline void detectMediaQueryToken(int);
499 template <typename CharacterType> 499 template <typename CharacterType>
500 inline void detectNumberToken(CharacterType*, int); 500 inline void detectNumberToken(CharacterType*, int);
501 template <typename CharacterType> 501 template <typename CharacterType>
502 inline void detectDashToken(int); 502 inline void detectDashToken(int);
503 template <typename CharacterType> 503 template <typename CharacterType>
504 inline void detectAtToken(int, bool); 504 inline void detectAtToken(int, bool);
505 template <typename CharacterType> 505 template <typename CharacterType>
506 inline void detectSupportsToken(int); 506 inline void detectSupportsToken(int);
507 template <typename CharacterType> 507 template <typename CharacterType>
508 inline bool detectCSSVariablesToken(int); 508 inline void detectCSSVariableDeclarationToken(int);
509 509
510 void setStyleSheet(StyleSheetContents* styleSheet) { m_styleSheet = styleShe et; } 510 void setStyleSheet(StyleSheetContents* styleSheet) { m_styleSheet = styleShe et; }
511 511
512 inline bool inStrictMode() const { return m_context.mode == CSSStrictMode || m_context.mode == SVGAttributeMode; } 512 inline bool inStrictMode() const { return m_context.mode == CSSStrictMode || m_context.mode == SVGAttributeMode; }
513 inline bool inQuirksMode() const { return m_context.mode == CSSQuirksMode; } 513 inline bool inQuirksMode() const { return m_context.mode == CSSQuirksMode; }
514 514
515 KURL completeURL(const String& url) const; 515 KURL completeURL(const String& url) const;
516 516
517 void recheckAtKeyword(const UChar* str, int len); 517 void recheckAtKeyword(const UChar* str, int len);
518 518
(...skipping 218 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

Powered by Google App Engine
This is Rietveld 408576698