| Index: ui/views/layout/layout_provider.h
|
| diff --git a/ui/views/layout/layout_provider.h b/ui/views/layout/layout_provider.h
|
| index 197586b104fe84eccf4b8b96042446992dc4d2b5..f6b964054109d5f872fe47430ea56f042b645827 100644
|
| --- a/ui/views/layout/layout_provider.h
|
| +++ b/ui/views/layout/layout_provider.h
|
| @@ -85,6 +85,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_;
|
|
|
|
|