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

Unified Diff: third_party/WebKit/Source/core/css/CSSGlobalRuleSet.h

Issue 1913833002: Current work-in-progress crbug.com/567021 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More assert fixes 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 side-by-side diff with in-line comments
Download patch
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
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSDefaultStyleSheets.cpp ('k') | third_party/WebKit/Source/core/css/CSSGlobalRuleSet.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698