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

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

Issue 2813863003: Rewrite references to "wtf/" to "platform/wtf/" in core/css and core/style. (Closed)
Patch Set: Rebase. Created 3 years, 8 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 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 CSSLazyParsingState_h 5 #ifndef CSSLazyParsingState_h
6 #define CSSLazyParsingState_h 6 #define CSSLazyParsingState_h
7 7
8 #include "core/css/CSSSelectorList.h" 8 #include "core/css/CSSSelectorList.h"
9 #include "core/css/StyleSheetContents.h" 9 #include "core/css/StyleSheetContents.h"
10 #include "core/css/parser/CSSParserMode.h" 10 #include "core/css/parser/CSSParserMode.h"
11 #include "wtf/Vector.h" 11 #include "platform/wtf/Vector.h"
12 #include "wtf/text/WTFString.h" 12 #include "platform/wtf/text/WTFString.h"
13 13
14 namespace blink { 14 namespace blink {
15 15
16 class CSSLazyPropertyParserImpl; 16 class CSSLazyPropertyParserImpl;
17 class CSSParserTokenRange; 17 class CSSParserTokenRange;
18 18
19 // This class helps lazy parsing by retaining necessary state. It should not 19 // This class helps lazy parsing by retaining necessary state. It should not
20 // outlive the StyleSheetContents that initiated the parse, as it retains a raw 20 // outlive the StyleSheetContents that initiated the parse, as it retains a raw
21 // reference to the UseCounter associated with the style sheet. 21 // reference to the UseCounter associated with the style sheet.
22 class CSSLazyParsingState 22 class CSSLazyParsingState
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 84
85 // Whether or not use counting is enabled for parsing. This will usually be 85 // Whether or not use counting is enabled for parsing. This will usually be
86 // true, except for when stylesheets with @imports are removed from the page. 86 // true, except for when stylesheets with @imports are removed from the page.
87 // See StyleRuleImport::setCSSStyleSheet. 87 // See StyleRuleImport::setCSSStyleSheet.
88 const bool should_use_count_; 88 const bool should_use_count_;
89 }; 89 };
90 90
91 } // namespace blink 91 } // namespace blink
92 92
93 #endif // CSSLazyParsingState_h 93 #endif // CSSLazyParsingState_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698