| 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/ash_public_export.h" |
| 11 #include "ash/public/cpp/shelf_types.h" |
| 12 #include "ui/base/class_property.h" |
| 13 |
| 14 namespace aura { |
| 15 template <typename T> |
| 16 using WindowProperty = ui::ClassProperty<T>; |
| 17 } |
| 18 |
| 19 namespace ash { |
| 20 |
| 21 // Shell-specific window property keys for use by ash and its clients. |
| 22 |
| 23 // Alphabetical sort. |
| 24 |
| 25 // If true (and the window is a panel), it's attached to its shelf item. |
| 26 ASH_PUBLIC_EXPORT extern const aura::WindowProperty<bool>* const |
| 27 kPanelAttachedKey; |
| 28 |
| 29 // A property key to store the type of a window's shelf item. |
| 30 ASH_PUBLIC_EXPORT extern const aura::WindowProperty<int32_t>* const |
| 31 kShelfItemTypeKey; |
| 32 |
| 33 // Alphabetical sort. |
| 34 |
| 35 } // namespace ash |
| 36 |
| 37 #endif // ASH_PUBLIC_CPP_WINDOW_PROPERTIES_H_ |
| OLD | NEW |