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

Side by Side Diff: sky/engine/core/css/parser/BisonCSSParser.h

Issue 867903002: Remove UseCounter (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 class Document; 57 class Document;
58 class Element; 58 class Element;
59 class ImmutableStylePropertySet; 59 class ImmutableStylePropertySet;
60 class MutableStylePropertySet; 60 class MutableStylePropertySet;
61 class StyleColor; 61 class StyleColor;
62 class StyleKeyframe; 62 class StyleKeyframe;
63 class StylePropertyShorthand; 63 class StylePropertyShorthand;
64 class StyleRuleBase; 64 class StyleRuleBase;
65 class StyleRuleKeyframes; 65 class StyleRuleKeyframes;
66 class StyleSheetContents; 66 class StyleSheetContents;
67 class UseCounter;
68 67
69 // FIXME: This class is shared with CSSTokenizer so should we rename it to CSSSo urceLocation? 68 // FIXME: This class is shared with CSSTokenizer so should we rename it to CSSSo urceLocation?
70 struct CSSParserLocation { 69 struct CSSParserLocation {
71 unsigned offset; 70 unsigned offset;
72 unsigned lineNumber; 71 unsigned lineNumber;
73 CSSParserString token; 72 CSSParserString token;
74 }; 73 };
75 74
76 class BisonCSSParser { 75 class BisonCSSParser {
77 STACK_ALLOCATED(); 76 STACK_ALLOCATED();
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 inline int cssyylex(void* yylval, BisonCSSParser* parser) 254 inline int cssyylex(void* yylval, BisonCSSParser* parser)
256 { 255 {
257 return parser->m_tokenizer.lex(yylval); 256 return parser->m_tokenizer.lex(yylval);
258 } 257 }
259 258
260 bool isValidNthToken(const CSSParserString&); 259 bool isValidNthToken(const CSSParserString&);
261 260
262 } // namespace blink 261 } // namespace blink
263 262
264 #endif // SKY_ENGINE_CORE_CSS_PARSER_BISONCSSPARSER_H_ 263 #endif // SKY_ENGINE_CORE_CSS_PARSER_BISONCSSPARSER_H_
OLDNEW
« no previous file with comments | « sky/engine/core/css/StyleSheetContents.cpp ('k') | sky/engine/core/css/parser/BisonCSSParser-in.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698