Chromium Code Reviews| Index: ui/views/views_delegate.h |
| diff --git a/ui/views/views_delegate.h b/ui/views/views_delegate.h |
| index 11d39e89bbd90303315685167431dd25ae1a3333..20fd27bf9915bfb47880244dc444d91e614170e1 100644 |
| --- a/ui/views/views_delegate.h |
| +++ b/ui/views/views_delegate.h |
| @@ -218,6 +218,10 @@ class VIEWS_EXPORT ViewsDelegate { |
| // Returns the padding that should be placed around a button's content. |
| virtual gfx::Insets GetButtonPadding() const; |
| + // Returns the distance between a dialog's edge and the close button in the |
| + // upper trailing corner. |
| + virtual int GetCloseButtonMargin() const; |
|
sky
2017/02/01 16:55:07
'close button' is rather generic, and it seems the
Peter Kasting
2017/02/07 04:45:29
SGTM
|
| + |
| protected: |
| ViewsDelegate(); |