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

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

Issue 13896026: Stick windows to sides of workspaces (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Docking with dock width=0 Created 7 years, 6 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 #ifndef ASH_WM_WINDOW_PROPERTIES_H_ 5 #ifndef ASH_WM_WINDOW_PROPERTIES_H_
6 #define ASH_WM_WINDOW_PROPERTIES_H_ 6 #define ASH_WM_WINDOW_PROPERTIES_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "ash/wm/property_util.h" 9 #include "ash/wm/property_util.h"
10 #include "ui/aura/window.h" 10 #include "ui/aura/window.h"
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 90
91 // A property key to remember if a windows position can be managed by the 91 // A property key to remember if a windows position can be managed by the
92 // workspace manager or not. 92 // workspace manager or not.
93 ASH_EXPORT extern const aura::WindowProperty<bool>* const 93 ASH_EXPORT extern const aura::WindowProperty<bool>* const
94 kWindowPositionManagedKey; 94 kWindowPositionManagedKey;
95 95
96 // A property key to tell the workspace layout manager to always restore the 96 // A property key to tell the workspace layout manager to always restore the
97 // window to the restore-bounds (false by default). 97 // window to the restore-bounds (false by default).
98 extern const aura::WindowProperty<bool>* const kWindowRestoresToRestoreBounds; 98 extern const aura::WindowProperty<bool>* const kWindowRestoresToRestoreBounds;
99 99
100 // A bitmask containing the workspace edges that the window is docked to.
flackr 2013/06/03 22:03:43 Not a bitmask right?
varkha 2013/06/04 03:13:50 Done.
101 extern const aura::WindowProperty<DockEdge>* const kDockEdge;
102
100 // True if the window is controlled by the workspace manager. 103 // True if the window is controlled by the workspace manager.
101 extern const aura::WindowProperty<bool>* const 104 extern const aura::WindowProperty<bool>* const kWindowTrackedByWorkspaceKey;
102 kWindowTrackedByWorkspaceKey;
103 105
104 // Alphabetical sort. 106 // Alphabetical sort.
105 107
106 } // namespace internal 108 } // namespace internal
107 } // namespace ash 109 } // namespace ash
108 110
109 #endif // ASH_WM_WINDOW_PROPERTIES_H_ 111 #endif // ASH_WM_WINDOW_PROPERTIES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698