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_SYSTEM_TRAY_TRAY_POPUP_INK_DROP_STYLE_H_ | 5 #ifndef ASH_COMMON_SYSTEM_TRAY_TRAY_POPUP_INK_DROP_STYLE_H_ |
6 #define ASH_SYSTEM_TRAY_TRAY_POPUP_INK_DROP_STYLE_H_ | 6 #define ASH_COMMON_SYSTEM_TRAY_TRAY_POPUP_INK_DROP_STYLE_H_ |
7 | 7 |
8 namespace ash { | 8 namespace ash { |
9 | 9 |
10 // The different styles of ink drops applied to the system menu. | 10 // The different styles of ink drops applied to the system menu. |
11 enum class TrayPopupInkDropStyle { | 11 enum class TrayPopupInkDropStyle { |
12 // Used for targets where the user doesn't need to know the exact targetable | 12 // Used for targets where the user doesn't need to know the exact targetable |
13 // area and they are expected to target an icon centered in the targetable | 13 // area and they are expected to target an icon centered in the targetable |
14 // space. Highlight and ripple are drawn as a circle. | 14 // space. Highlight and ripple are drawn as a circle. |
15 HOST_CENTERED, | 15 HOST_CENTERED, |
16 // Used for targets where the user should know the targetable bounds but | 16 // Used for targets where the user should know the targetable bounds but |
17 // where the ink drop shouldn't fill the entire bounds. e.g. row of buttons | 17 // where the ink drop shouldn't fill the entire bounds. e.g. row of buttons |
18 // separated with separators. | 18 // separated with separators. |
19 INSET_BOUNDS, | 19 INSET_BOUNDS, |
20 // Used for targets that should indicate to the user what the actual | 20 // Used for targets that should indicate to the user what the actual |
21 // targetable bounds are. e.g. a full system menu row. | 21 // targetable bounds are. e.g. a full system menu row. |
22 FILL_BOUNDS | 22 FILL_BOUNDS |
23 }; | 23 }; |
24 | 24 |
25 } // namespace ash | 25 } // namespace ash |
26 | 26 |
27 #endif // ASH_SYSTEM_TRAY_TRAY_POPUP_INK_DROP_STYLE_H_ | 27 #endif // ASH_COMMON_SYSTEM_TRAY_TRAY_POPUP_INK_DROP_STYLE_H_ |
OLD | NEW |