Index: third_party/WebKit/Source/core/css/CSSGlobalRuleSet.h |
diff --git a/third_party/WebKit/Source/core/css/CSSGlobalRuleSet.h b/third_party/WebKit/Source/core/css/CSSGlobalRuleSet.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..2a9ca267e2e7ffe2239ea86f650d2d1ca8ce7049 |
--- /dev/null |
+++ b/third_party/WebKit/Source/core/css/CSSGlobalRuleSet.h |
@@ -0,0 +1,35 @@ |
+// Copyright 2016 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef CSSGlobalRuleSet_h |
+#define CSSGlobalRuleSet_h |
+ |
+#include "core/css/RuleFeature.h" |
+ |
+namespace blink { |
+ |
+class Document; |
+class RuleSet; |
+class StyleEngine; |
+ |
+class CSSGlobalRuleSet { |
+ DISALLOW_NEW(); |
+ WTF_MAKE_NONCOPYABLE(CSSGlobalRuleSet); |
+public: |
+ CSSGlobalRuleSet() { } |
+ |
+ void initWatchedSelectorsRuleSet(Document&); |
+ void update(Document&); |
+ |
+ DECLARE_TRACE(); |
+ |
+ RuleFeatureSet m_features; |
+ Member<RuleSet> m_siblingRuleSet; |
+ Member<RuleSet> m_uncommonAttributeRuleSet; |
+ Member<RuleSet> m_watchedSelectorsRuleSet; |
+}; |
+ |
+} // namespace blink |
+ |
+#endif // CSSGlobalRuleSet_h |