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_ASH_LAYOUT_CONSTANTS_H_ | 5 #ifndef ASH_ASH_LAYOUT_CONSTANTS_H_ |
6 #define ASH_COMMON_ASH_LAYOUT_CONSTANTS_H_ | 6 #define ASH_ASH_LAYOUT_CONSTANTS_H_ |
7 | 7 |
8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
9 #include "ui/gfx/geometry/size.h" | 9 #include "ui/gfx/geometry/size.h" |
10 | 10 |
11 enum class AshLayoutSize { | 11 enum class AshLayoutSize { |
12 // Size of a caption button in a maximized browser window. | 12 // Size of a caption button in a maximized browser window. |
13 BROWSER_MAXIMIZED_CAPTION_BUTTON, | 13 BROWSER_MAXIMIZED_CAPTION_BUTTON, |
14 | 14 |
15 // Size of a caption button in a restored browser window. | 15 // Size of a caption button in a restored browser window. |
16 BROWSER_RESTORED_CAPTION_BUTTON, | 16 BROWSER_RESTORED_CAPTION_BUTTON, |
17 | 17 |
18 // Size of a caption button in a non-browser window. | 18 // Size of a caption button in a non-browser window. |
19 NON_BROWSER_CAPTION_BUTTON, | 19 NON_BROWSER_CAPTION_BUTTON, |
20 }; | 20 }; |
21 | 21 |
22 ASH_EXPORT gfx::Size GetAshLayoutSize(AshLayoutSize size); | 22 ASH_EXPORT gfx::Size GetAshLayoutSize(AshLayoutSize size); |
23 | 23 |
24 #endif // ASH_COMMON_ASH_LAYOUT_CONSTANTS_H_ | 24 #endif // ASH_ASH_LAYOUT_CONSTANTS_H_ |
OLD | NEW |