Chromium Code Reviews| Index: ui/views/view_properties.h |
| diff --git a/ui/views/view_properties.h b/ui/views/view_properties.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..2efc8f567d441c399ce8df2e7b167d26c129cbca |
| --- /dev/null |
| +++ b/ui/views/view_properties.h |
| @@ -0,0 +1,21 @@ |
| +// Copyright 2017 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 UI_VIEWS_VIEW_PROPERTIES_H_ |
| +#define UI_VIEWS_VIEW_PROPERTIES_H_ |
| + |
| +#include "ui/base/class_property.h" |
| +#include "ui/gfx/geometry/insets.h" |
|
sky
2017/05/24 21:28:51
forward declare insets.
kylix_rd
2017/05/25 14:32:17
Done.
|
| +#include "ui/views/views_export.h" |
| + |
| +namespace views { |
| + |
| +// A property to store margins around the outer perimeter of the view. Margins |
| +// are outside the bounds of the view. This is used by various layout managers |
| +// to position views with the proper spacing between them. |
| +VIEWS_EXPORT extern const ui::ClassProperty<gfx::Insets*>* const kMarginsKey; |
| + |
| +} // namespace views |
| + |
| +#endif // UI_VIEWS_VIEW_PROPERTIES_H_ |