Hide X11 dependencies when use_x11=0.
[chromium-blink-merge.git] / ui / compositor / layer_type.h
blob3a654a76603df919fd579f9dc9904519da348afb
1 // Copyright (c) 2012 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.
5 #ifndef UI_COMPOSITOR_LAYER_TYPE_H_
6 #define UI_COMPOSITOR_LAYER_TYPE_H_
8 namespace ui {
10 enum LayerType {
11 // A layer that has no onscreen representation (note that its children will
12 // still be drawn, though).
13 LAYER_NOT_DRAWN = 0,
15 // A layer that has a texture.
16 LAYER_TEXTURED = 1,
18 // A layer that's drawn as a single color.
19 LAYER_SOLID_COLOR = 2,
22 } // namespace ui
24 #endif // UI_COMPOSITOR_LAYER_TYPE_H_