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

Unified Diff: ash/wm/window_util.cc

Issue 11363177: Don't use drag to corner resizing for unresizable windows (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added more cases and unit tests Created 8 years, 1 month 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/window_util.cc
diff --git a/ash/wm/window_util.cc b/ash/wm/window_util.cc
index b0921b892bbfc93669efbc1038dc342dff86119f..e3ce3fb11982e62b9e450c7763b8cfa91e3e3a99 100644
--- a/ash/wm/window_util.cc
+++ b/ash/wm/window_util.cc
@@ -79,6 +79,10 @@ bool CanMaximizeWindow(const aura::Window* window) {
return window->GetProperty(aura::client::kCanMaximizeKey);
}
+bool CanResizeWindow(const aura::Window* window) {
+ return window->GetProperty(aura::client::kCanResizeKey);
+}
+
bool IsWindowNormal(const aura::Window* window) {
return IsWindowStateNormal(window->GetProperty(aura::client::kShowStateKey));
}

Powered by Google App Engine
This is Rietveld 408576698