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

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

Issue 8895003: Aura: Add --aura-laptop-mode to fill the workspace with a single window. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: maximize ALL the windows 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_AURA_SHELL_WINDOW_UTIL_H_ 5 #ifndef UI_AURA_SHELL_WINDOW_UTIL_H_
6 #define UI_AURA_SHELL_WINDOW_UTIL_H_ 6 #define UI_AURA_SHELL_WINDOW_UTIL_H_
7 #pragma once 7 #pragma once
8 8
9 #include "ui/aura_shell/aura_shell_export.h"
10
11 namespace aura { 9 namespace aura {
12 class Window; 10 class Window;
13 } 11 }
14 12
15 namespace aura_shell { 13 namespace aura_shell {
14 namespace window_util {
16 15
17 // Returns true if |window| is in the maximized state. 16 // Returns true if |window| is in the maximized state.
18 AURA_SHELL_EXPORT bool IsWindowMaximized(aura::Window* window); 17 bool IsWindowMaximized(aura::Window* window);
19 18
19 // Update window bounds based on a change in show state.
20 void UpdateBoundsFromShowState(aura::Window* window);
21
22 } // namespace window_util
20 } // namespace aura_shell 23 } // namespace aura_shell
21 24
22 #endif // UI_AURA_SHELL_WINDOW_UTIL_H_ 25 #endif // UI_AURA_SHELL_WINDOW_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698