| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_COMMON_WM_WINDOW_PROPERTY_H_ | 5 #ifndef ASH_COMMON_WM_WINDOW_PROPERTY_H_ |
| 6 #define ASH_COMMON_WM_WINDOW_PROPERTY_H_ | 6 #define ASH_COMMON_WM_WINDOW_PROPERTY_H_ |
| 7 | 7 |
| 8 namespace ash { | 8 namespace ash { |
| 9 | 9 |
| 10 // See ui/aura/client/aura_constants.h for some more detailed descriptions. | |
| 11 enum class WmWindowProperty { | 10 enum class WmWindowProperty { |
| 12 // Not a valid property; used for property key translation purposes. | 11 // Not a valid property; used for property key translation purposes. |
| 13 INVALID_PROPERTY, | 12 INVALID_PROPERTY, |
| 14 | 13 |
| 15 // Type bool. | 14 // Type bool. |
| 16 ALWAYS_ON_TOP, | 15 ALWAYS_ON_TOP, |
| 17 | 16 |
| 18 // Type ImageSkia. | |
| 19 APP_ICON, | |
| 20 | |
| 21 // Type std::string. | |
| 22 APP_ID, | |
| 23 | |
| 24 // Type bool. | |
| 25 DRAW_ATTENTION, | |
| 26 | |
| 27 // Type bool. See aura::client:kExcludeFromMruKey for details. | 17 // Type bool. See aura::client:kExcludeFromMruKey for details. |
| 28 EXCLUDE_FROM_MRU, | 18 EXCLUDE_FROM_MRU, |
| 29 | 19 |
| 30 // Type int, but cast to ui::ModalType. | 20 // Type int, but cast to ui::ModalType. |
| 31 MODAL_TYPE, | 21 MODAL_TYPE, |
| 32 | 22 |
| 33 // Type int. | 23 // Type int. |
| 34 SHELF_ICON_RESOURCE_ID, | 24 SHELF_ICON_RESOURCE_ID, |
| 35 | 25 |
| 36 // Type int. | 26 // Type int. |
| 37 SHELF_ID, | 27 SHELF_ID, |
| 38 | 28 |
| 39 // Type int, but cast to ShelfItemType. | 29 // Type int, but cast to ShelfItemType. |
| 40 SHELF_ITEM_TYPE, | 30 SHELF_ITEM_TYPE, |
| 41 | 31 |
| 42 // Type bool. | 32 // Type bool. |
| 43 SNAP_CHILDREN_TO_PIXEL_BOUNDARY, | 33 SNAP_CHILDREN_TO_PIXEL_BOUNDARY, |
| 44 | 34 |
| 45 // Type SkColor. See aura::client::kTopViewColor for details. | 35 // Type SkColor. See aura::client::kTopViewColor for details. |
| 46 TOP_VIEW_COLOR, | 36 TOP_VIEW_COLOR, |
| 47 | 37 |
| 48 // Type int. See aura::client::kTopViewInset for details. | 38 // Type int. See aura::client::kTopViewInset for details. |
| 49 TOP_VIEW_INSET, | 39 TOP_VIEW_INSET, |
| 50 | |
| 51 // Type ImageSkia. | |
| 52 WINDOW_ICON, | |
| 53 }; | 40 }; |
| 54 | 41 |
| 55 } // namespace ash | 42 } // namespace ash |
| 56 | 43 |
| 57 #endif // ASH_COMMON_WM_WINDOW_PROPERTY_H_ | 44 #endif // ASH_COMMON_WM_WINDOW_PROPERTY_H_ |
| OLD | NEW |