Chromium Code Reviews| 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, |
|
Daniel Erat
2011/10/28 22:17:20
Naming suggestions welcome for all of these. I'm
|
| -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 |