| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef UI_GFX_COMPOSITOR_LAYER_TYPE_H_ | 5 #ifndef UI_COMPOSITOR_LAYER_TYPE_H_ |
| 6 #define UI_GFX_COMPOSITOR_LAYER_TYPE_H_ | 6 #define UI_COMPOSITOR_LAYER_TYPE_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 namespace ui { | 9 namespace ui { |
| 10 | 10 |
| 11 enum LayerType { | 11 enum LayerType { |
| 12 // A layer that has no onscreen representation (note that its children will | 12 // A layer that has no onscreen representation (note that its children will |
| 13 // still be drawn, though). | 13 // still be drawn, though). |
| 14 LAYER_NOT_DRAWN = 0, | 14 LAYER_NOT_DRAWN = 0, |
| 15 | 15 |
| 16 // A layer that has a texture. | 16 // A layer that has a texture. |
| 17 LAYER_TEXTURED = 1, | 17 LAYER_TEXTURED = 1, |
| 18 | 18 |
| 19 // A layer that's drawn as a single color. | 19 // A layer that's drawn as a single color. |
| 20 LAYER_SOLID_COLOR = 2, | 20 LAYER_SOLID_COLOR = 2, |
| 21 }; | 21 }; |
| 22 | 22 |
| 23 } // namespace | 23 } // namespace ui |
| 24 | 24 |
| 25 #endif // UI_GFX_COMPOSITOR_LAYER_TYPE_H_ | 25 #endif // UI_COMPOSITOR_LAYER_TYPE_H_ |
| OLD | NEW |