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

Unified Diff: ash/wm/workspace/workspace_layout_manager2.h

Issue 11087037: Dont allow the user to 'resize a window out of the workarea' (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed problem with ExtendedDesktop unit test Created 8 years, 2 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
Index: ash/wm/workspace/workspace_layout_manager2.h
diff --git a/ash/wm/workspace/workspace_layout_manager2.h b/ash/wm/workspace/workspace_layout_manager2.h
index 636892de42fbca622185e936b3ed8c4d054f2325..1d1092a76b4cf9a7d88902c00f8394b77562a92a 100644
--- a/ash/wm/workspace/workspace_layout_manager2.h
+++ b/ash/wm/workspace/workspace_layout_manager2.h
@@ -27,6 +27,11 @@ class Layer;
}
namespace ash {
+
+// Upon user resizing, at least this many pixels should remain visible on the
sky 2012/10/16 22:57:46 resizing, moving or display area changing, right?
Mr4D (OOO till 08-26) 2012/10/17 00:05:17 Done.
+// screen to avoid 'loosing' the window.
+const int kMinimumOnScreenArea = 10;
+
namespace internal {
class Workspace2;

Powered by Google App Engine
This is Rietveld 408576698