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

Unified Diff: ash/wm/property_util.cc

Issue 13934007: Adding experimental maximize mode (behind a flag) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Changed as requested Created 7 years, 8 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/property_util.cc
diff --git a/ash/wm/property_util.cc b/ash/wm/property_util.cc
index d1240b68154304c65a8b597e9340aca37f0fb64c..8d3cc5f45b1ed787006262f400a42dce868b2c8d 100644
--- a/ash/wm/property_util.cc
+++ b/ash/wm/property_util.cc
@@ -51,6 +51,14 @@ bool GetTrackedByWorkspace(const aura::Window* window) {
return window->GetProperty(internal::kWindowTrackedByWorkspaceKey);
}
+void SetCanBeMaximizedByWorkspace(aura::Window* window, bool value) {
+ window->SetProperty(internal::kWindowCanBeMaximizedByWorkspaceKey, value);
+}
+
+bool GetCanBeMaximizedByWorkspace(const aura::Window* window) {
+ return window->GetProperty(internal::kWindowCanBeMaximizedByWorkspaceKey);
+}
+
void SetIgnoredByShelf(aura::Window* window, bool value) {
window->SetProperty(internal::kIgnoredByShelfKey, value);
}
« ash/wm/property_util.h ('K') | « ash/wm/property_util.h ('k') | ash/wm/window_properties.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698