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

Side by Side 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: addressed comments, property_util Created 9 years, 1 month 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/desktop_layout_manager.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|. It deletes
sky 2011/11/01 03:48:25 'It deletes' -> Deletes
oshima 2011/11/01 15:44:53 Done.
20 // existing bounds value if exists.
21 void SetRestoreBounds(aura::Window* window, const gfx::Rect&);
22
23 // Returns the restore bounds property on |window|.
sky 2011/11/01 03:48:25 Returning a pointer makes ownership a bit dicey. C
oshima 2011/11/01 15:44:53 It's pointer because the caller needs to know if t
24 const gfx::Rect* GetRestoreBounds(aura::Window* window);
25
26 // Deletes and clears the restore bounds roperty on |window|.
27 void ClearRestoreBounds(aura::Window* window);
28
29 }
30
31 #endif // UI_AURA_SHELL_PROPERTY_UTIL_H_
OLDNEW
« 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