| 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 1fe25cf55ac59827185aaba46a432b0d6cbcd230..b78c1558250887e7b10ae7e4d7efc842ec164fcf 100644
|
| --- a/chrome/browser/ui/views/harmony/chrome_layout_provider.h
|
| +++ b/chrome/browser/ui/views/harmony/chrome_layout_provider.h
|
| @@ -50,12 +50,6 @@ enum ChromeDistanceMetric {
|
| DISTANCE_UNRELATED_CONTROL_VERTICAL_LARGE,
|
| };
|
|
|
| -enum class DialogWidth {
|
| - SMALL,
|
| - MEDIUM,
|
| - LARGE,
|
| -};
|
| -
|
| class ChromeLayoutProvider : public views::LayoutProvider {
|
| public:
|
| ChromeLayoutProvider() {}
|
| @@ -64,8 +58,8 @@ class ChromeLayoutProvider : public views::LayoutProvider {
|
| static ChromeLayoutProvider* Get();
|
| static std::unique_ptr<views::LayoutProvider> CreateLayoutProvider();
|
|
|
| + // views::LayoutProvider:
|
| int GetDistanceMetric(int metric) const override;
|
| -
|
| const views::TypographyProvider& GetTypographyProvider() const override;
|
|
|
| // Returns the alignment used for control labels in a GridLayout; for example,
|
| @@ -92,10 +86,6 @@ class ChromeLayoutProvider : public views::LayoutProvider {
|
| // 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;
|
| -
|
| private:
|
| DISALLOW_COPY_AND_ASSIGN(ChromeLayoutProvider);
|
| };
|
|
|