summaryrefslogtreecommitdiffstats
path: root/ui/wm/public/window_types.h
blob: 8a9f8b9f6b2beb6b4466c90d720da3ed3e6820f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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_