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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: ui/aura_shell/window_util.h
diff --git a/ui/aura_shell/window_util.h b/ui/aura_shell/window_util.h
index 1550510253c0663ff5c6dc1813559bfcccc0dfa0..18f98b71931bdd28b2b550aecbad64222c6da920 100644
--- a/ui/aura_shell/window_util.h
+++ b/ui/aura_shell/window_util.h
@@ -6,17 +6,20 @@
#define UI_AURA_SHELL_WINDOW_UTIL_H_
#pragma once
-#include "ui/aura_shell/aura_shell_export.h"
-
namespace aura {
class Window;
}
namespace aura_shell {
+namespace window_util {
// Returns true if |window| is in the maximized state.
-AURA_SHELL_EXPORT bool IsWindowMaximized(aura::Window* window);
+bool IsWindowMaximized(aura::Window* window);
+
+// Update window bounds based on a change in show state.
+void UpdateBoundsFromShowState(aura::Window* window);
+} // namespace window_util
} // namespace aura_shell
#endif // UI_AURA_SHELL_WINDOW_UTIL_H_

Powered by Google App Engine
This is Rietveld 408576698