Chromium Code Reviews| Index: chrome/browser/ui/views/harmony/chrome_layout_provider.h |
| diff --git a/chrome/browser/ui/views/harmony/chrome_layout_provider.h b/chrome/browser/ui/views/harmony/chrome_layout_provider.h |
| index dd264ee844dfb5d0b3d130cb996942497e7997a4..2aedf8b460a86ad552c16af4d7a3a4ad9a6c52c7 100644 |
| --- a/chrome/browser/ui/views/harmony/chrome_layout_provider.h |
| +++ b/chrome/browser/ui/views/harmony/chrome_layout_provider.h |
| @@ -76,6 +76,10 @@ class ChromeLayoutProvider : public views::LayoutProvider { |
| // TODO(pkasting): Fix callers and remove this. |
| virtual bool IsHarmonyMode() const; |
| + // Returns the snapped width for snapped dialogs. This is used to enforce a |
| + // minimum width for snap-able dialogs even in non-Harmony modes. |
| + int GetSnappedDialogWidth(int min_width) const override; |
|
Peter Kasting
2017/05/26 23:59:10
It seems like rather than overriding here we shoul
Elly Fong-Jones
2017/05/30 14:55:36
I put this here because I think we are trying to k
Peter Kasting
2017/05/30 16:17:54
I would probably move it under the justification t
|
| + |
| private: |
| DISALLOW_COPY_AND_ASSIGN(ChromeLayoutProvider); |
| }; |