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

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

Issue 1996883002: CSS: SelectorFilter is non-copyable (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: additional classes Created 4 years, 7 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 CSSParserImpl_h 5 #ifndef CSSParserImpl_h
6 #define CSSParserImpl_h 6 #define CSSParserImpl_h
7 7
8 #include "core/CSSPropertyNames.h" 8 #include "core/CSSPropertyNames.h"
9 #include "core/css/CSSProperty.h" 9 #include "core/css/CSSProperty.h"
10 #include "core/css/CSSPropertySourceData.h" 10 #include "core/css/CSSPropertySourceData.h"
(...skipping 19 matching lines...) Expand all
30 class StyleRulePage; 30 class StyleRulePage;
31 class StyleRuleSupports; 31 class StyleRuleSupports;
32 class StyleRuleViewport; 32 class StyleRuleViewport;
33 class StyleSheetContents; 33 class StyleSheetContents;
34 class ImmutableStylePropertySet; 34 class ImmutableStylePropertySet;
35 class Element; 35 class Element;
36 class MutableStylePropertySet; 36 class MutableStylePropertySet;
37 37
38 class CSSParserImpl { 38 class CSSParserImpl {
39 STACK_ALLOCATED(); 39 STACK_ALLOCATED();
40 WTF_MAKE_NONCOPYABLE(CSSParserImpl);
40 public: 41 public:
41 CSSParserImpl(const CSSParserContext&, StyleSheetContents* = nullptr); 42 CSSParserImpl(const CSSParserContext&, StyleSheetContents* = nullptr);
42 43
43 enum AllowedRulesType { 44 enum AllowedRulesType {
44 // As per css-syntax, css-cascade and css-namespaces, @charset rules 45 // As per css-syntax, css-cascade and css-namespaces, @charset rules
45 // must come first, followed by @import then @namespace. 46 // must come first, followed by @import then @namespace.
46 // AllowImportRules actually means we allow @import and any rules thay 47 // AllowImportRules actually means we allow @import and any rules thay
47 // may follow it, i.e. @namespace rules and regular rules. 48 // may follow it, i.e. @namespace rules and regular rules.
48 // AllowCharsetRules and AllowNamespaceRules behave similarly. 49 // AllowCharsetRules and AllowNamespaceRules behave similarly.
49 AllowCharsetRules, 50 AllowCharsetRules,
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 117
117 Member<StyleSheetContents> m_styleSheet; 118 Member<StyleSheetContents> m_styleSheet;
118 119
119 // For the inspector 120 // For the inspector
120 CSSParserObserverWrapper* m_observerWrapper; 121 CSSParserObserverWrapper* m_observerWrapper;
121 }; 122 };
122 123
123 } // namespace blink 124 } // namespace blink
124 125
125 #endif // CSSParserImpl_h 126 #endif // CSSParserImpl_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698