Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(260)

Unified Diff: ui/aura_shell/property_util.h

Issue 8400063: Move maximize/fullscreen/restore to shell (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove OVERRIDE from .cc Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/aura_shell/desktop_layout_manager.cc ('k') | ui/aura_shell/property_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura_shell/property_util.h
diff --git a/ui/aura_shell/property_util.h b/ui/aura_shell/property_util.h
new file mode 100644
index 0000000000000000000000000000000000000000..35a09c99bc372a2db80e4ee28f5e1801bcedc3ed
--- /dev/null
+++ b/ui/aura_shell/property_util.h
@@ -0,0 +1,33 @@
+// Copyright (c) 2011 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_AURA_SHELL_PROPERTY_UTIL_H_
+#define UI_AURA_SHELL_PROPERTY_UTIL_H_
+#pragma once
+
+namespace aura {
+class Window;
+}
+
+namespace gfx {
+class Rect;
+}
+
+namespace aura_shell {
+
+// Sets the restore bounds property on |window|. Deletes
+// existing bounds value if exists.
+void SetRestoreBounds(aura::Window* window, const gfx::Rect&);
+
+// Returns the restore bounds property on |window|. NULL if the
+// restore bounds property does not exist for |window|. |window|
+// owns the bounds object.
+const gfx::Rect* GetRestoreBounds(aura::Window* window);
+
+// Deletes and clears the restore bounds property on |window|.
+void ClearRestoreBounds(aura::Window* window);
+
+}
+
+#endif // UI_AURA_SHELL_PROPERTY_UTIL_H_
« no previous file with comments | « ui/aura_shell/desktop_layout_manager.cc ('k') | ui/aura_shell/property_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698