From 5b251f10c00377eb437bf11d52128ff7f359a5e3 Mon Sep 17 00:00:00 2001 From: "tfarina@chromium.org" Date: Thu, 19 Dec 2013 01:50:05 +0000 Subject: wm: public window_types. Patch manually generated by: $ git grep -l aura::client::WINDOW_TYPE | xargs sed -i -e 's/aura::client::WINDOW_TYPE/ui::wm::WINDOW_TYPE/g' $ git commit -a -m. $ git clang-format HEAD^ --style=Chromium $ git commit -a -m. * Move window_types.h header from ui/aura/client/ to ui/wm/public/ BUG=319638 TEST=ash_unittests, aura_unittests, views_unittests, unit_tests R=ben@chromium.org Review URL: https://codereview.chromium.org/115153002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@241752 0039d316-1c4b-4281-b951-d872f2087c98 --- ui/wm/public/window_types.h | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 ui/wm/public/window_types.h (limited to 'ui/wm/public') 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_ -- cgit v1.1