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

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: 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
« no previous file with comments | « ash/wm/window_resizer.cc ('k') | ash/wm/workspace/workspace_layout_manager2.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..771a56a5ca21168f4cf99fcb35b09b181a9c97fe 100644
--- a/ash/wm/workspace/workspace_layout_manager2.h
+++ b/ash/wm/workspace/workspace_layout_manager2.h
@@ -27,6 +27,10 @@ class Layer;
}
namespace ash {
+
+// We force at least this many DIPs for any window on the screen.
+const int kMinimumOnScreenArea = 10;
+
namespace internal {
class Workspace2;
« no previous file with comments | « ash/wm/window_resizer.cc ('k') | ash/wm/workspace/workspace_layout_manager2.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698