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

Unified Diff: ash/wm/window_properties.h

Issue 2663383003: Revert of mash: Fix MusPropertyMirrorAsh for owned properties; add test. (Closed)
Patch Set: Created 3 years, 11 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/panels/panel_window_resizer_unittest.cc ('k') | ash/wm/window_properties.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/window_properties.h
diff --git a/ash/wm/window_properties.h b/ash/wm/window_properties.h
index 561f18be2213dd9e49de1c90ce498f6d12e3f8b2..c0c3d035f8882af76d13587c6783ddd484f21d2c 100644
--- a/ash/wm/window_properties.h
+++ b/ash/wm/window_properties.h
@@ -47,6 +47,9 @@
// bounds outside of its root window is set.
ASH_EXPORT extern const aura::WindowProperty<bool>* const kLockedToRootKey;
+// If true (and the window is a panel), it's attached to its shelf item.
+ASH_EXPORT extern const aura::WindowProperty<bool>* const kPanelAttachedKey;
+
// A property key which stores the bounds to restore a window to. These take
// preference over the current bounds/state. This is used by e.g. the always
// maximized mode window manager.
@@ -61,6 +64,9 @@
// A property key to store the id for a window's shelf item.
ASH_EXPORT extern const aura::WindowProperty<ShelfID>* const kShelfIDKey;
+
+// A property key to store the type of a window's shelf item.
+ASH_EXPORT extern const aura::WindowProperty<int32_t>* const kShelfItemTypeKey;
// Containers with this property (true) are aligned with physical pixel
// boundary.
« no previous file with comments | « ash/wm/panels/panel_window_resizer_unittest.cc ('k') | ash/wm/window_properties.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698