Chromium Code Reviews| Index: ui/views/layout/layout_provider.h |
| diff --git a/ui/views/layout/layout_provider.h b/ui/views/layout/layout_provider.h |
| index 41da0c8b96fe2edc0259dacc4d155a424edeacf9..4c82945f2c83ab4901c9a14e40c6f164352815be 100644 |
| --- a/ui/views/layout/layout_provider.h |
| +++ b/ui/views/layout/layout_provider.h |
| @@ -49,8 +49,11 @@ enum DistanceMetric { |
| // two types have not been interchanged. |
| VIEWS_DISTANCE_START = VIEWS_INSETS_MAX, |
| + // If a bubble has buttons, this is the margin between them and the rest of |
| + // the content. |
| + DISTANCE_BUBBLE_BUTTON_TOP_MARGIN = VIEWS_DISTANCE_START, |
|
Peter Kasting
2017/06/10 01:51:11
I'm not sure whether adding this is right.
We see
Bret
2017/06/11 00:14:09
No, lots of bubbles have buttons (e.g. the bookmar
Peter Kasting
2017/06/12 22:47:14
OK, that all makes sense. But in that case it see
Bret
2017/06/13 21:00:41
I'd really like to get everything into a working s
|
| // Margin on the left and right of the contents of a bubble. |
| - DISTANCE_BUBBLE_CONTENTS_HORIZONTAL_MARGIN = VIEWS_DISTANCE_START, |
| + DISTANCE_BUBBLE_CONTENTS_HORIZONTAL_MARGIN, |
| // Margin on the top and bottom of the contents of a bubble. |
| DISTANCE_BUBBLE_CONTENTS_VERTICAL_MARGIN, |
| // The default padding to add on each side of a button's label. |