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

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: rebase, revert window_util namespace 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 0c95912ad4d61b3f72b1cab8fc323a4aba07bfa8..bfe987e8fcaf16e2e861678a5c2faa615e905489 100644
--- a/ui/aura_shell/window_util.h
+++ b/ui/aura_shell/window_util.h
@@ -14,6 +14,8 @@ class Window;
namespace aura_shell {
+// TODO(jamescook): Put all these functions in namespace window_util.
+
// Returns true if |window| is in the maximized state.
AURA_SHELL_EXPORT bool IsWindowMaximized(aura::Window* window);
@@ -30,6 +32,9 @@ AURA_SHELL_EXPORT aura::Window* GetActiveWindow();
// this is probably what you're looking for.
AURA_SHELL_EXPORT aura::Window* GetActivatableWindow(aura::Window* window);
+// Update window bounds based on a change in show state.
+AURA_SHELL_EXPORT void UpdateBoundsFromShowState(aura::Window* window);
+
} // namespace aura_shell
#endif // UI_AURA_SHELL_WINDOW_UTIL_H_

Powered by Google App Engine
This is Rietveld 408576698