| Index: ui/views/corewm/window_util.h
|
| ===================================================================
|
| --- ui/views/corewm/window_util.h (revision 173169)
|
| +++ ui/views/corewm/window_util.h (working copy)
|
| @@ -6,12 +6,17 @@
|
| #define UI_VIEWS_COREWM_WINDOW_UTIL_H_
|
|
|
| #include "base/compiler_specific.h"
|
| +#include "ui/base/ui_base_types.h"
|
| #include "ui/views/views_export.h"
|
|
|
| namespace aura {
|
| class Window;
|
| }
|
|
|
| +namespace gfx {
|
| +class Rect;
|
| +}
|
| +
|
| namespace ui {
|
| class Layer;
|
| }
|
| @@ -47,6 +52,22 @@
|
| VIEWS_EXPORT ui::Layer* RecreateWindowLayers(aura::Window* window,
|
| bool set_bounds) WARN_UNUSED_RESULT;
|
|
|
| +// Returns true if |window| is normal or default.
|
| +VIEWS_EXPORT bool IsWindowNormal(const aura::Window* window);
|
| +
|
| +// Returns true if |state| is normal or default.
|
| +VIEWS_EXPORT bool IsWindowStateNormal(const ui::WindowShowState state);
|
| +
|
| +// Sets the restore bounds property on |window| in the virtual screen
|
| +// coordinates. Deletes existing bounds value if exists.
|
| +VIEWS_EXPORT void SetRestoreBoundsInScreen(aura::Window* window,
|
| + const gfx::Rect& screen_bounds);
|
| +
|
| +// Returns the restore bounds property on |window| in the virtual screen
|
| +// coordinates. The bounds can be NULL if the bounds property does not
|
| +// exist for |window|. |window| owns the bounds object.
|
| +VIEWS_EXPORT const gfx::Rect* GetRestoreBoundsInScreen(aura::Window* window);
|
| +
|
| } // namespace corewm
|
| } // namespace views
|
|
|
|
|