Chromium Code Reviews| Index: chrome/browser/ui/views/harmony/layout_delegate.h |
| diff --git a/chrome/browser/ui/views/harmony/layout_delegate.h b/chrome/browser/ui/views/harmony/layout_delegate.h |
| index 9cfbd5659a2798a016e726b401fa9957e3fece30..e4dc4f1ba4d4d9b48ac866d2e84dbf7f7c73b73f 100644 |
| --- a/chrome/browser/ui/views/harmony/layout_delegate.h |
| +++ b/chrome/browser/ui/views/harmony/layout_delegate.h |
| @@ -104,9 +104,8 @@ class LayoutDelegate { |
| // TODO(pkasting): Fix callers and remove this. |
| virtual bool IsHarmonyMode() const; |
| - // Returns the preferred width in DIPs for a dialog of the specified |width|. |
| - // May return 0 if the dialog has no preferred width. |
| - virtual int GetDialogPreferredWidth(DialogWidth width) const; |
| + // Returns the smallest allowable width for a dialog |width| points wide. |
|
Peter Kasting
2017/03/30 00:35:35
Nit: "...for a dialog that wants a width of at lea
|
| + virtual int GetSnappedDialogWidth(int width) const; |
| // Returns the class that maps views::style values (TextContext and TextStyle) |
| // to specific font properties (e.g. typeface, size, color, line spacing). |