Chromium Code Reviews| Index: ash/ash_layout_constants.h |
| diff --git a/ash/ash_layout_constants.h b/ash/ash_layout_constants.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..50f80f69b98b9dc88c588ac34f00c23dc6b3f184 |
| --- /dev/null |
| +++ b/ash/ash_layout_constants.h |
| @@ -0,0 +1,24 @@ |
| +// Copyright 2016 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef ASH_ASH_LAYOUT_CONSTANTS_H_ |
| +#define ASH_ASH_LAYOUT_CONSTANTS_H_ |
| + |
| +#include "ash/ash_export.h" |
| +#include "ui/gfx/geometry/size.h" |
| + |
| +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.
|
| + // Size of a caption button in a maximized browser window. |
| + BROWSER_MAXIMIZED_CAPTION_BUTTON, |
| + |
| + // Size of a caption button in a restored browser window. |
| + BROWSER_RESTORED_CAPTION_BUTTON, |
| + |
| + // Size of a caption button in a non-browser window. |
| + NON_BROWSER_CAPTION_BUTTON, |
| +}; |
| + |
| +ASH_EXPORT gfx::Size GetAshLayoutSize(AshLayoutSize size); |
| + |
| +#endif // ASH_ASH_LAYOUT_CONSTANTS_H_ |