summaryrefslogtreecommitdiffstats
path: root/ash/wm/property_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'ash/wm/property_util.h')
-rw-r--r--ash/wm/property_util.h51
1 files changed, 0 insertions, 51 deletions
diff --git a/ash/wm/property_util.h b/ash/wm/property_util.h
deleted file mode 100644
index 6a0d89a..0000000
--- a/ash/wm/property_util.h
+++ /dev/null
@@ -1,51 +0,0 @@
-// Copyright (c) 2012 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 ASH_WM_PROPERTY_UTIL_H_
-#define ASH_WM_PROPERTY_UTIL_H_
-
-#include "ash/ash_export.h"
-
-namespace aura {
-class Window;
-}
-
-namespace gfx {
-class Rect;
-}
-
-namespace ash {
-
-// Sets the restore bounds property on |window| in the virtual screen
-// coordinates. Deletes existing bounds value if exists.
-ASH_EXPORT void SetRestoreBoundsInScreen(aura::Window* window,
- const gfx::Rect& screen_bounds);
-// Same as |SetRestoreBoundsInScreen| except that the bounds is in the
-// parent's coordinates.
-ASH_EXPORT void SetRestoreBoundsInParent(aura::Window* window,
- const gfx::Rect& parent_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.
-ASH_EXPORT const gfx::Rect* GetRestoreBoundsInScreen(aura::Window* window);
-// Same as |GetRestoreBoundsInScreen| except that it returns the
-// bounds in the parent's coordinates.
-ASH_EXPORT gfx::Rect GetRestoreBoundsInParent(aura::Window* window);
-
-// Deletes and clears the restore bounds property on |window|.
-ASH_EXPORT void ClearRestoreBounds(aura::Window* window);
-
-// Sets whether |window| should always be restored to the restore bounds
-// (sometimes the workspace layout manager restores the window to its original
-// bounds instead of the restore bounds. Setting this key overrides that
-// behaviour). The flag is reset to the default value after the window is
-// restored.
-ASH_EXPORT void SetWindowAlwaysRestoresToRestoreBounds(aura::Window* window,
- bool value);
-ASH_EXPORT bool GetWindowAlwaysRestoresToRestoreBounds(
- const aura::Window* window);
-} // namespace ash
-
-#endif // ASH_WM_PROPERTY_UTIL_H_