Bug 1687263: part 4) Defer and in some cases avoid removing spellchecking-ranges...
[gecko.git] / layout / painting / LayerState.h
blobd570ae95b0582ce177649c2a51ad43abbd346aea
1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* vim: set ts=8 sts=2 et sw=2 tw=80: */
3 /* This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
7 #ifndef LAYERSTATE_H_
8 #define LAYERSTATE_H_
10 #include <cstdint>
12 namespace mozilla {
14 enum class LayerState : uint8_t {
15 LAYER_NONE,
16 LAYER_INACTIVE,
17 LAYER_ACTIVE,
18 // Force an active layer even if it causes incorrect rendering, e.g.
19 // when the layer has rounded rect clips.
20 LAYER_ACTIVE_FORCE,
21 // Special layer that is metadata only.
22 LAYER_ACTIVE_EMPTY,
23 // Inactive style layer for rendering SVG effects.
24 LAYER_SVG_EFFECTS
27 } // namespace mozilla
29 #endif