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

Unified Diff: ash/wm/window_util.h

Issue 1157843009: Added wm::IsWindowUserPositionable(...) method in window_util.h. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated callsites to use WindowState::IsUserPositionable(). Created 5 years, 6 months 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
« no previous file with comments | « ash/wm/window_state.cc ('k') | ash/wm/window_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/window_util.h
diff --git a/ash/wm/window_util.h b/ash/wm/window_util.h
index 383c12f26280bef6e227fa6ba43de99076a255b8..e1240ae22d46d160ba8dc48dd012e555d38890ed 100644
--- a/ash/wm/window_util.h
+++ b/ash/wm/window_util.h
@@ -46,6 +46,9 @@ ASH_EXPORT aura::Window* GetActivatableWindow(aura::Window* window);
// TODO(oshima): remove this.
ASH_EXPORT bool IsWindowMinimized(aura::Window* window);
+// Returns true if |window|'s location can be controlled by the user.
+ASH_EXPORT bool IsWindowUserPositionable(aura::Window* window);
+
// Moves the window to the center of the display.
ASH_EXPORT void CenterWindow(aura::Window* window);
« no previous file with comments | « ash/wm/window_state.cc ('k') | ash/wm/window_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698