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

Side by Side Diff: third_party/WebKit/Source/core/css/parser/CSSParserObserver.h

Issue 2463703003: blink: Cleanup core class forward declarations (Closed)
Patch Set: Remove redundant empty lines Created 4 years, 1 month 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 3 * Copyright (C) 2004, 2005, 2006, 2008, 2009, 2010 Apple Inc. All rights
4 * reserved. 4 * reserved.
5 * Copyright (C) 2008 Eric Seidel <eric@webkit.org> 5 * Copyright (C) 2008 Eric Seidel <eric@webkit.org>
6 * Copyright (C) 2009 - 2010 Torch Mobile (Beijing) Co. Ltd. All rights 6 * Copyright (C) 2009 - 2010 Torch Mobile (Beijing) Co. Ltd. All rights
7 * reserved. 7 * reserved.
8 * 8 *
9 * This library is free software; you can redistribute it and/or 9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Library General Public 10 * modify it under the terms of the GNU Library General Public
(...skipping 13 matching lines...) Expand all
24 24
25 #ifndef CSSParserObserver_h 25 #ifndef CSSParserObserver_h
26 #define CSSParserObserver_h 26 #define CSSParserObserver_h
27 27
28 #include "core/css/CSSPropertySourceData.h" 28 #include "core/css/CSSPropertySourceData.h"
29 #include "wtf/Vector.h" 29 #include "wtf/Vector.h"
30 30
31 namespace blink { 31 namespace blink {
32 32
33 class CSSParserToken; 33 class CSSParserToken;
34 class CSSParserTokenRange;
35 34
36 // This is only for the inspector and shouldn't be used elsewhere. 35 // This is only for the inspector and shouldn't be used elsewhere.
37 class CSSParserObserver { 36 class CSSParserObserver {
38 STACK_ALLOCATED(); 37 STACK_ALLOCATED();
39 38
40 public: 39 public:
41 virtual void startRuleHeader(StyleRule::RuleType, unsigned offset) = 0; 40 virtual void startRuleHeader(StyleRule::RuleType, unsigned offset) = 0;
42 virtual void endRuleHeader(unsigned offset) = 0; 41 virtual void endRuleHeader(unsigned offset) = 0;
43 virtual void observeSelector(unsigned startOffset, unsigned endOffset) = 0; 42 virtual void observeSelector(unsigned startOffset, unsigned endOffset) = 0;
44 virtual void startRuleBody(unsigned offset) = 0; 43 virtual void startRuleBody(unsigned offset) = 0;
45 virtual void endRuleBody(unsigned offset) = 0; 44 virtual void endRuleBody(unsigned offset) = 0;
46 virtual void observeProperty(unsigned startOffset, 45 virtual void observeProperty(unsigned startOffset,
47 unsigned endOffset, 46 unsigned endOffset,
48 bool isImportant, 47 bool isImportant,
49 bool isParsed) = 0; 48 bool isParsed) = 0;
50 virtual void observeComment(unsigned startOffset, unsigned endOffset) = 0; 49 virtual void observeComment(unsigned startOffset, unsigned endOffset) = 0;
51 }; 50 };
52 51
53 } // namespace blink 52 } // namespace blink
54 53
55 #endif // CSSParserObserver_h 54 #endif // CSSParserObserver_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698