| Index: ui/views/views_delegate.h
|
| diff --git a/ui/views/views_delegate.h b/ui/views/views_delegate.h
|
| index 61f7c850113b3c42ce6ffca92b65bb57911e922b..4d57ea82a21b964d24aedf3b17ad49297ccacb38 100644
|
| --- a/ui/views/views_delegate.h
|
| +++ b/ui/views/views_delegate.h
|
| @@ -260,6 +260,10 @@ class VIEWS_EXPORT ViewsDelegate {
|
| // font, weight, color, size, and line height. Never null.
|
| virtual const TypographyProvider& GetTypographyProvider() const = 0;
|
|
|
| + // Given the width of a dialog |min_width|, returns the new width that that
|
| + // dialog should be snapped up to.
|
| + virtual int GetSnappedDialogWidth(int min_width) const;
|
| +
|
| protected:
|
| ViewsDelegate();
|
|
|
|
|