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

Unified Diff: ui/aura/window_layer_type.h

Issue 82283002: Initial cut at layerless windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: improve comments, remove Window::window_layer_type_ and fix test Created 7 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: ui/aura/window_layer_type.h
diff --git a/ui/aura/window_layer_type.h b/ui/aura/window_layer_type.h
new file mode 100644
index 0000000000000000000000000000000000000000..97e312a3eef25ae479abdead787191041d09e2a6
--- /dev/null
+++ b/ui/aura/window_layer_type.h
@@ -0,0 +1,24 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef UI_AURA_WINDOW_LAYER_TYPE_H_
+#define UI_AURA_WINDOW_LAYER_TYPE_H_
+
+namespace aura {
+
+// These constants mirror that of ui::LayerType with the addition of
+// WINDOW_LAYER_NONE. See ui::LayerType for description of ones in common.
+enum WindowLayerType {
+ // Note that Windows with WINDOW_LAYER_NONE impose limitations on the
+ // Window: transforms and animations aren't supported.
+ WINDOW_LAYER_NONE,
+
+ WINDOW_LAYER_NOT_DRAWN,
+ WINDOW_LAYER_TEXTURED,
+ WINDOW_LAYER_SOLID_COLOR,
+};
+
+} // namespace aura
+
+#endif // UI_AURA_WINDOW_LAYER_TYPE_H_
« ui/aura/window.h ('K') | « ui/aura/window.cc ('k') | ui/aura/window_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698