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

Unified Diff: ui/aura/window_types.h

Issue 8417008: aura: Add fullscreen/popups to RenderWidgetHostViewAura. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 9 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/aura/window.cc ('k') | ui/aura_shell/default_container_layout_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/window_types.h
diff --git a/ui/aura/window_types.h b/ui/aura/window_types.h
index 9fa3ce694809104ee212cdc032d43ffd115ced27..101460a0ac1cba9923f4b4d842b04b6eb63008f2 100644
--- a/ui/aura/window_types.h
+++ b/ui/aura/window_types.h
@@ -8,14 +8,18 @@
namespace aura {
-// This file is obsolete. Please do not add any new types.
-// This still exists as Window::Init uses Type_Control.
-// TODO(ben|oshima): Figure out how to clean this up.
+enum WindowType {
+ WINDOW_TYPE_UNKNOWN = 0,
-const int kWindowType_None = 0;
-const int kWindowType_Control = 1;
+ // Regular windows that should be laid out by the shell.
+ WINDOW_TYPE_NORMAL,
-const int kWindowType_Max = 2;
+ // Miscellaneous windows that should not be laid out by the shell.
+ WINDOW_TYPE_POPUP,
+
+ WINDOW_TYPE_MENU,
+ WINDOW_TYPE_TOOLTIP,
+};
} // namespace aura
« no previous file with comments | « ui/aura/window.cc ('k') | ui/aura_shell/default_container_layout_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698