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

Side by Side Diff: Source/core/css/parser/BisonCSSParser.h

Issue 541383003: Clean up forward declarations in Source/core/css (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 3 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
« no previous file with comments | « Source/core/css/StyleRule.h ('k') | Source/core/css/parser/CSSParserValues.h » ('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 29 matching lines...) Expand all
40 #include "core/css/parser/CSSTokenizer.h" 40 #include "core/css/parser/CSSTokenizer.h"
41 #include "platform/graphics/Color.h" 41 #include "platform/graphics/Color.h"
42 #include "wtf/HashSet.h" 42 #include "wtf/HashSet.h"
43 #include "wtf/OwnPtr.h" 43 #include "wtf/OwnPtr.h"
44 #include "wtf/Vector.h" 44 #include "wtf/Vector.h"
45 #include "wtf/text/AtomicString.h" 45 #include "wtf/text/AtomicString.h"
46 #include "wtf/text/TextPosition.h" 46 #include "wtf/text/TextPosition.h"
47 47
48 namespace blink { 48 namespace blink {
49 49
50 class AnimationParseContext;
51 class CSSBorderImageSliceValue;
52 class CSSPrimitiveValue;
53 class CSSSelectorList; 50 class CSSSelectorList;
54 class CSSValue; 51 class CSSValue;
55 class CSSValueList; 52 class CSSValueList;
56 class CSSBasicShape;
57 class CSSBasicShapeInset;
58 class Document; 53 class Document;
59 class Element; 54 class Element;
60 class ImmutableStylePropertySet; 55 class ImmutableStylePropertySet;
61 class MediaQueryExp; 56 class MediaQueryExp;
62 class MediaQuerySet; 57 class MediaQuerySet;
63 class MutableStylePropertySet; 58 class MutableStylePropertySet;
64 class StyleColor; 59 class StyleColor;
65 class StyleKeyframe; 60 class StyleKeyframe;
66 class StylePropertyShorthand;
67 class StyleRuleBase; 61 class StyleRuleBase;
68 class StyleRuleKeyframes; 62 class StyleRuleKeyframes;
69 class StyleKeyframe; 63 class StyleKeyframe;
70 class StyleSheetContents; 64 class StyleSheetContents;
71 class UseCounter;
72 65
73 // FIXME: This class is shared with CSSTokenizer so should we rename it to CSSSo urceLocation? 66 // FIXME: This class is shared with CSSTokenizer so should we rename it to CSSSo urceLocation?
74 struct CSSParserLocation { 67 struct CSSParserLocation {
75 unsigned offset; 68 unsigned offset;
76 unsigned lineNumber; 69 unsigned lineNumber;
77 CSSParserString token; 70 CSSParserString token;
78 }; 71 };
79 72
80 class BisonCSSParser { 73 class BisonCSSParser {
81 STACK_ALLOCATED(); 74 STACK_ALLOCATED();
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
320 inline int cssyylex(void* yylval, BisonCSSParser* parser) 313 inline int cssyylex(void* yylval, BisonCSSParser* parser)
321 { 314 {
322 return parser->m_tokenizer.lex(yylval); 315 return parser->m_tokenizer.lex(yylval);
323 } 316 }
324 317
325 bool isValidNthToken(const CSSParserString&); 318 bool isValidNthToken(const CSSParserString&);
326 319
327 } // namespace blink 320 } // namespace blink
328 321
329 #endif // BisonCSSParser_h 322 #endif // BisonCSSParser_h
OLDNEW
« no previous file with comments | « Source/core/css/StyleRule.h ('k') | Source/core/css/parser/CSSParserValues.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698