// Copyright 2016 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef THIRD_PARTY_BLINK_RENDERER_CORE_CSS_CSS_GLOBAL_RULE_SET_H_ #define THIRD_PARTY_BLINK_RENDERER_CORE_CSS_CSS_GLOBAL_RULE_SET_H_ #include "third_party/blink/renderer/core/css/rule_feature_set.h" namespace blink { class Document; class RuleSet; // A per Document collection of CSS metadata used for style matching and // invalidation. The data is aggregated from author rulesets from all TreeScopes // in the whole Document as well as UA stylesheets and watched selectors which // apply to elements in all TreeScopes. // // TODO([email protected]): We would like to move as much of this data as // possible to the ScopedStyleResolver as possible to avoid full reconstruction // of these rulesets on shadow tree changes. See https://crbug.com/401359 class CSSGlobalRuleSet final : public GarbageCollected<CSSGlobalRuleSet> { … }; } // namespace blink #endif // THIRD_PARTY_BLINK_RENDERER_CORE_CSS_CSS_GLOBAL_RULE_SET_H_