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

Side by Side Diff: third_party/WebKit/Source/core/css/parser/CSSParserObserverWrapper.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 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CSSParserObserverWrapper_h 5 #ifndef CSSParserObserverWrapper_h
6 #define CSSParserObserverWrapper_h 6 #define CSSParserObserverWrapper_h
7 7
8 #include "core/css/parser/CSSParserObserver.h" 8 #include "core/css/parser/CSSParserObserver.h"
9 #include "wtf/Allocator.h" 9 #include "wtf/Allocator.h"
10 10
11 namespace blink { 11 namespace blink {
12 12
13 class CSSParserToken;
14 class CSSParserTokenRange;
15
13 class CSSParserObserverWrapper { 16 class CSSParserObserverWrapper {
14 STACK_ALLOCATED(); 17 STACK_ALLOCATED();
15 18
16 public: 19 public:
17 explicit CSSParserObserverWrapper(CSSParserObserver& observer) 20 explicit CSSParserObserverWrapper(CSSParserObserver& observer)
18 : m_observer(observer) {} 21 : m_observer(observer) {}
19 22
20 unsigned startOffset(const CSSParserTokenRange&); 23 unsigned startOffset(const CSSParserTokenRange&);
21 unsigned previousTokenStartOffset(const CSSParserTokenRange&); 24 unsigned previousTokenStartOffset(const CSSParserTokenRange&);
22 unsigned endOffset(const CSSParserTokenRange&); // Includes trailing comments 25 unsigned endOffset(const CSSParserTokenRange&); // Includes trailing comments
(...skipping 26 matching lines...) Expand all
49 unsigned tokensBefore; 52 unsigned tokensBefore;
50 }; 53 };
51 54
52 Vector<CommentPosition> m_commentOffsets; 55 Vector<CommentPosition> m_commentOffsets;
53 Vector<CommentPosition>::iterator m_commentIterator; 56 Vector<CommentPosition>::iterator m_commentIterator;
54 }; 57 };
55 58
56 } // namespace blink 59 } // namespace blink
57 60
58 #endif // CSSParserObserverWrapper_h 61 #endif // CSSParserObserverWrapper_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698