• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #ifndef UI_WM_PUBLIC_WINDOW_TYPES_H_
6 #define UI_WM_PUBLIC_WINDOW_TYPES_H_
7 
8 namespace ui {
9 namespace wm {
10 
11 // This isn't a property because it can't change after the window has been
12 // initialized.
13 enum WindowType {
14   WINDOW_TYPE_UNKNOWN = 0,
15 
16   // Regular windows that should be laid out by the client.
17   WINDOW_TYPE_NORMAL,
18 
19   // Miscellaneous windows that should not be laid out by the shell.
20   WINDOW_TYPE_POPUP,
21 
22   // A window intended as a control. Not laid out by the shell.
23   WINDOW_TYPE_CONTROL,
24 
25   // Always on top windows aligned to bottom right of screen.
26   WINDOW_TYPE_PANEL,
27 
28   WINDOW_TYPE_MENU,
29 
30   WINDOW_TYPE_TOOLTIP,
31 };
32 
33 }  // namespace wm
34 }  // namespace ui
35 
36 #endif  // UI_WM_PUBLIC_WINDOW_TYPES_H_
37