| OLD | NEW |
| (Empty) |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef ASH_PUBLIC_CPP_WINDOW_PROPERTIES_H_ | |
| 6 #define ASH_PUBLIC_CPP_WINDOW_PROPERTIES_H_ | |
| 7 | |
| 8 #include <stdint.h> | |
| 9 | |
| 10 #include "ash/public/cpp/shelf_item_types.h" | |
| 11 #include "ui/base/class_property.h" | |
| 12 | |
| 13 namespace aura { | |
| 14 template <typename T> | |
| 15 using WindowProperty = ui::ClassProperty<T>; | |
| 16 } | |
| 17 | |
| 18 namespace ash { | |
| 19 | |
| 20 // Shell-specific window property keys for use by ash and its clients. | |
| 21 | |
| 22 // Alphabetical sort. | |
| 23 | |
| 24 // If true (and the window is a panel), it's attached to its shelf item. | |
| 25 extern const aura::WindowProperty<bool>* const kPanelAttachedKey; | |
| 26 | |
| 27 // A property key to store the type of a window's shelf item. | |
| 28 extern const aura::WindowProperty<int32_t>* const kShelfItemTypeKey; | |
| 29 | |
| 30 // Alphabetical sort. | |
| 31 | |
| 32 } // namespace ash | |
| 33 | |
| 34 #endif // ASH_PUBLIC_CPP_WINDOW_PROPERTIES_H_ | |
| OLD | NEW |