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

Side by Side Diff: ash/wm/window_properties.cc

Issue 13896026: Stick windows to sides of workspaces (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Preserve docked state when launcher auto-hide changes. Created 7 years, 7 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ash/wm/window_properties.h" 5 #include "ash/wm/window_properties.h"
6 6
7 #include "ash/root_window_controller.h" 7 #include "ash/root_window_controller.h"
8 #include "ash/wm/always_on_top_controller.h" 8 #include "ash/wm/always_on_top_controller.h"
9 #include "ash/wm/frame_painter.h" 9 #include "ash/wm/frame_painter.h"
10 #include "ui/aura/window_property.h" 10 #include "ui/aura/window_property.h"
(...skipping 24 matching lines...) Expand all
35 DEFINE_WINDOW_PROPERTY_KEY(bool, kUsesScreenCoordinatesKey, false); 35 DEFINE_WINDOW_PROPERTY_KEY(bool, kUsesScreenCoordinatesKey, false);
36 DEFINE_WINDOW_PROPERTY_KEY(bool, kUserChangedWindowPositionOrSizeKey, false); 36 DEFINE_WINDOW_PROPERTY_KEY(bool, kUserChangedWindowPositionOrSizeKey, false);
37 DEFINE_OWNED_WINDOW_PROPERTY_KEY(gfx::Rect, 37 DEFINE_OWNED_WINDOW_PROPERTY_KEY(gfx::Rect,
38 kPreAutoManagedWindowBoundsKey, 38 kPreAutoManagedWindowBoundsKey,
39 NULL); 39 NULL);
40 DEFINE_WINDOW_PROPERTY_KEY(ash::WindowPersistsAcrossAllWorkspacesType, 40 DEFINE_WINDOW_PROPERTY_KEY(ash::WindowPersistsAcrossAllWorkspacesType,
41 kWindowPersistsAcrossAllWorkspacesKey, 41 kWindowPersistsAcrossAllWorkspacesKey,
42 WINDOW_PERSISTS_ACROSS_ALL_WORKSPACES_VALUE_DEFAULT); 42 WINDOW_PERSISTS_ACROSS_ALL_WORKSPACES_VALUE_DEFAULT);
43 DEFINE_WINDOW_PROPERTY_KEY(bool, kWindowPositionManagedKey, false); 43 DEFINE_WINDOW_PROPERTY_KEY(bool, kWindowPositionManagedKey, false);
44 DEFINE_WINDOW_PROPERTY_KEY(bool, kWindowRestoresToRestoreBounds, false); 44 DEFINE_WINDOW_PROPERTY_KEY(bool, kWindowRestoresToRestoreBounds, false);
45 DEFINE_WINDOW_PROPERTY_KEY(int, kWindowStuckToEdge, 0);
45 DEFINE_WINDOW_PROPERTY_KEY(bool, kWindowTrackedByWorkspaceKey, true); 46 DEFINE_WINDOW_PROPERTY_KEY(bool, kWindowTrackedByWorkspaceKey, true);
46 47
47 } // namespace internal 48 } // namespace internal
48 } // namespace ash 49 } // namespace ash
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698