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

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

Issue 1645433002: Basic implementation of @apply (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix expted.txt for failing test Created 4 years, 10 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 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 CSSAtRuleID_h 5 #ifndef CSSAtRuleID_h
6 #define CSSAtRuleID_h 6 #define CSSAtRuleID_h
7 7
8 namespace blink { 8 namespace blink {
9 9
10 struct CSSParserString; 10 struct CSSParserString;
11 class UseCounter; 11 class UseCounter;
12 12
13 enum CSSAtRuleID { 13 enum CSSAtRuleID {
14 CSSAtRuleInvalid = 0, 14 CSSAtRuleInvalid = 0,
15 15
16 CSSAtRuleCharset = 1, 16 CSSAtRuleCharset = 1,
17 CSSAtRuleFontFace = 2, 17 CSSAtRuleFontFace = 2,
18 CSSAtRuleImport = 3, 18 CSSAtRuleImport = 3,
19 CSSAtRuleKeyframes = 4, 19 CSSAtRuleKeyframes = 4,
20 CSSAtRuleMedia = 5, 20 CSSAtRuleMedia = 5,
21 CSSAtRuleNamespace = 6, 21 CSSAtRuleNamespace = 6,
22 CSSAtRulePage = 7, 22 CSSAtRulePage = 7,
23 CSSAtRuleSupports = 8, 23 CSSAtRuleSupports = 8,
24 CSSAtRuleViewport = 9, 24 CSSAtRuleViewport = 9,
25 25
26 CSSAtRuleWebkitKeyframes = 10, 26 CSSAtRuleWebkitKeyframes = 10,
27 CSSAtRuleApply = 11,
27 }; 28 };
28 29
29 CSSAtRuleID cssAtRuleID(const CSSParserString&); 30 CSSAtRuleID cssAtRuleID(const CSSParserString&);
30 31
31 void countAtRule(UseCounter*, CSSAtRuleID); 32 void countAtRule(UseCounter*, CSSAtRuleID);
32 33
33 } // namespace blink 34 } // namespace blink
34 35
35 #endif // CSSAtRuleID_h 36 #endif // CSSAtRuleID_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698