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