Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef ASH_ASH_LAYOUT_CONSTANTS_H_ | |
| 6 #define ASH_ASH_LAYOUT_CONSTANTS_H_ | |
| 7 | |
| 8 #include "ash/ash_export.h" | |
| 9 #include "ui/gfx/geometry/size.h" | |
| 10 | |
| 11 enum AshLayoutSize { | |
|
sky
2016/01/05 00:49:16
nit: use enum class so that you can forward declar
tdanderson
2016/01/05 16:47:26
Done.
| |
| 12 // Size of a caption button in a maximized browser window. | |
| 13 BROWSER_MAXIMIZED_CAPTION_BUTTON, | |
| 14 | |
| 15 // Size of a caption button in a restored browser window. | |
| 16 BROWSER_RESTORED_CAPTION_BUTTON, | |
| 17 | |
| 18 // Size of a caption button in a non-browser window. | |
| 19 NON_BROWSER_CAPTION_BUTTON, | |
| 20 }; | |
| 21 | |
| 22 ASH_EXPORT gfx::Size GetAshLayoutSize(AshLayoutSize size); | |
| 23 | |
| 24 #endif // ASH_ASH_LAYOUT_CONSTANTS_H_ | |
| OLD | NEW |