| Index: ui/views/layout/layout_provider.h
|
| diff --git a/ui/views/layout/layout_provider.h b/ui/views/layout/layout_provider.h
|
| index f00238f065925b6d88cbd291eb2be1c0da83c486..f047ebc81b31360af0d586e5c231a8461bb64269 100644
|
| --- a/ui/views/layout/layout_provider.h
|
| +++ b/ui/views/layout/layout_provider.h
|
| @@ -83,6 +83,10 @@ class VIEWS_EXPORT LayoutProvider {
|
| // font, weight, color, size, and line height. Never null.
|
| virtual const TypographyProvider& GetTypographyProvider() const;
|
|
|
| + // Returns the actual width to use for a dialog that requires at least
|
| + // |min_width|.
|
| + virtual int GetSnappedDialogWidth(int min_width) const;
|
| +
|
| private:
|
| DefaultTypographyProvider typography_provider_;
|
|
|
|
|