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

Side by Side Diff: ui/compositor/layer_type.h

Issue 2582823002: WIP: Surface Synchronization System
Patch Set: Only create ClientSurfaceEmbedder if window is visible. Trash it otherwise. Created 3 years, 10 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 unified diff | Download patch
OLDNEW
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_COMPOSITOR_LAYER_TYPE_H_ 5 #ifndef UI_COMPOSITOR_LAYER_TYPE_H_
6 #define UI_COMPOSITOR_LAYER_TYPE_H_ 6 #define UI_COMPOSITOR_LAYER_TYPE_H_
7 7
8 namespace ui { 8 namespace ui {
9 9
10 enum LayerType { 10 enum LayerType {
11 // A layer that has no onscreen representation (note that its children will 11 // A layer that has no onscreen representation (note that its children will
12 // still be drawn, though). 12 // still be drawn, though).
13 LAYER_NOT_DRAWN = 0, 13 LAYER_NOT_DRAWN = 0,
14 14
15 // A layer that has a texture. 15 // A layer that has a texture.
16 LAYER_TEXTURED = 1, 16 LAYER_TEXTURED = 1,
17 17
18 // A layer that's drawn as a single color. 18 // A layer that's drawn as a single color.
19 LAYER_SOLID_COLOR = 2, 19 LAYER_SOLID_COLOR = 2,
20 20
21 // A layer based on the NinePatchLayer class. 21 // A layer based on the NinePatchLayer class.
22 LAYER_NINE_PATCH = 3, 22 LAYER_NINE_PATCH = 3,
23
24 // Layer is filled in remotely,
25 LAYER_SURFACE = 4,
23 }; 26 };
24 27
25 } // namespace ui 28 } // namespace ui
26 29
27 #endif // UI_COMPOSITOR_LAYER_TYPE_H_ 30 #endif // UI_COMPOSITOR_LAYER_TYPE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698