| Index: ui/views/views_delegate.h
|
| diff --git a/ui/views/views_delegate.h b/ui/views/views_delegate.h
|
| index 5ab30aa42997cf7bb298dcdf71caab5b07eb9c29..10fd10e744f5f2f56bd2786e8e0fbba452b803da 100644
|
| --- a/ui/views/views_delegate.h
|
| +++ b/ui/views/views_delegate.h
|
| @@ -257,6 +257,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 |width|, returns the new width that that dialog
|
| + // should be snapped up to.
|
| + virtual int GetSnappedDialogWidth(int width) const;
|
| +
|
| protected:
|
| ViewsDelegate();
|
|
|
|
|