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

Unified Diff: ash/wm/window_properties.h

Issue 2558963002: Move shelf item tooltip flag from delegate to item. (Closed)
Patch Set: Cleanup Created 4 years 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_properties.h
diff --git a/ash/wm/window_properties.h b/ash/wm/window_properties.h
index 6d2025ef70e26bfaafef85a63e0cdb69e7e16ce8..3ec15c05c9b5d2401fbd09001c6d2428a7cc89ec 100644
--- a/ash/wm/window_properties.h
+++ b/ash/wm/window_properties.h
@@ -22,15 +22,17 @@ namespace wm {
class WindowState;
} // namespace wm
-// Shell-specific window property keys.
+// Shell-specific window property keys; some keys are exported for use in tests.
// Alphabetical sort.
// If this is set to true, the window stays in the same root window even if the
// bounds outside of its root window is set.
-// This is exported as it's used in the tests.
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.

Powered by Google App Engine
This is Rietveld 408576698