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

Side by Side Diff: ui/aura_shell/property_util.h

Issue 9035001: Move some more WM functionality down into ash. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ui/aura_shell/drag_drop_controller_unittest.cc ('k') | ui/aura_shell/property_util.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef UI_AURA_SHELL_PROPERTY_UTIL_H_
6 #define UI_AURA_SHELL_PROPERTY_UTIL_H_
7 #pragma once
8
9 namespace aura {
10 class Window;
11 }
12
13 namespace gfx {
14 class Rect;
15 }
16
17 namespace aura_shell {
18
19 // Sets the restore bounds property on |window|. Deletes existing bounds value
20 // if exists.
21 void SetRestoreBounds(aura::Window* window, const gfx::Rect& bounds);
22
23 // Same as SetRestoreBounds(), but does nothing if the restore bounds have
24 // already been set. The bounds used are the bounds of the window.
25 void SetRestoreBoundsIfNotSet(aura::Window* window);
26
27 // Returns the restore bounds property on |window|. NULL if the
28 // restore bounds property does not exist for |window|. |window|
29 // owns the bounds object.
30 const gfx::Rect* GetRestoreBounds(aura::Window* window);
31
32 // Deletes and clears the restore bounds property on |window|.
33 void ClearRestoreBounds(aura::Window* window);
34
35 }
36
37 #endif // UI_AURA_SHELL_PROPERTY_UTIL_H_
OLDNEW
« no previous file with comments | « ui/aura_shell/drag_drop_controller_unittest.cc ('k') | ui/aura_shell/property_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698