OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CSSGlobalRuleSet_h |
| 6 #define CSSGlobalRuleSet_h |
| 7 |
| 8 #include "core/css/RuleFeature.h" |
| 9 |
| 10 namespace blink { |
| 11 |
| 12 class Document; |
| 13 class RuleSet; |
| 14 class StyleEngine; |
| 15 |
| 16 class CSSGlobalRuleSet { |
| 17 DISALLOW_NEW(); |
| 18 WTF_MAKE_NONCOPYABLE(CSSGlobalRuleSet); |
| 19 public: |
| 20 CSSGlobalRuleSet() { } |
| 21 |
| 22 void initWatchedSelectorsRuleSet(Document&); |
| 23 void update(Document&); |
| 24 |
| 25 DECLARE_TRACE(); |
| 26 |
| 27 RuleFeatureSet m_features; |
| 28 Member<RuleSet> m_siblingRuleSet; |
| 29 Member<RuleSet> m_uncommonAttributeRuleSet; |
| 30 Member<RuleSet> m_watchedSelectorsRuleSet; |
| 31 }; |
| 32 |
| 33 } // namespace blink |
| 34 |
| 35 #endif // CSSGlobalRuleSet_h |
OLD | NEW |