diff options
Diffstat (limited to 'ui/wm/public')
-rw-r--r-- | ui/wm/public/window_types.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/ui/wm/public/window_types.h b/ui/wm/public/window_types.h new file mode 100644 index 0000000..8a9f8b9 --- /dev/null +++ b/ui/wm/public/window_types.h @@ -0,0 +1,36 @@ +// Copyright 2013 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_WM_PUBLIC_WINDOW_TYPES_H_ +#define UI_WM_PUBLIC_WINDOW_TYPES_H_ + +namespace ui { +namespace wm { + +// This isn't a property because it can't change after the window has been +// initialized. +enum WindowType { + WINDOW_TYPE_UNKNOWN = 0, + + // Regular windows that should be laid out by the client. + WINDOW_TYPE_NORMAL, + + // Miscellaneous windows that should not be laid out by the shell. + WINDOW_TYPE_POPUP, + + // A window intended as a control. Not laid out by the shell. + WINDOW_TYPE_CONTROL, + + // Always on top windows aligned to bottom right of screen. + WINDOW_TYPE_PANEL, + + WINDOW_TYPE_MENU, + + WINDOW_TYPE_TOOLTIP, +}; + +} // namespace wm +} // namespace ui + +#endif // UI_WM_PUBLIC_WINDOW_TYPES_H_ |