| Index: chrome/browser/ui/views/harmony/harmony_layout_delegate.h
|
| diff --git a/chrome/browser/ui/views/harmony/harmony_layout_delegate.h b/chrome/browser/ui/views/harmony/harmony_layout_delegate.h
|
| deleted file mode 100644
|
| index 3fd09073953eb3070b66d32d50d8285ff3316a60..0000000000000000000000000000000000000000
|
| --- a/chrome/browser/ui/views/harmony/harmony_layout_delegate.h
|
| +++ /dev/null
|
| @@ -1,37 +0,0 @@
|
| -// Copyright 2016 The Chromium Authors. All rights reserved.
|
| -// Use of this source code is governed by a BSD-style license that can be
|
| -// found in the LICENSE file.
|
| -
|
| -#ifndef CHROME_BROWSER_UI_VIEWS_HARMONY_HARMONY_LAYOUT_DELEGATE_H_
|
| -#define CHROME_BROWSER_UI_VIEWS_HARMONY_HARMONY_LAYOUT_DELEGATE_H_
|
| -
|
| -#include "chrome/browser/ui/views/harmony/harmony_typography_provider.h"
|
| -#include "chrome/browser/ui/views/harmony/layout_delegate.h"
|
| -
|
| -class HarmonyLayoutDelegate : public LayoutDelegate {
|
| - public:
|
| - // The Harmony layout unit. All distances are in terms of this unit.
|
| - static constexpr int kHarmonyLayoutUnit = 16;
|
| -
|
| - HarmonyLayoutDelegate() {}
|
| - ~HarmonyLayoutDelegate() override {}
|
| -
|
| - // Returns the singleton HarmonyLayoutDelegate instance.
|
| - static HarmonyLayoutDelegate* Get();
|
| -
|
| - // views::LayoutDelegate:
|
| - int GetMetric(Metric metric) const override;
|
| - views::GridLayout::Alignment GetControlLabelGridAlignment() const override;
|
| - bool UseExtraDialogPadding() const override;
|
| - bool IsHarmonyMode() const override;
|
| - int GetDialogPreferredWidth(DialogWidth width) const override;
|
| - bool ShouldShowWindowIcon() const override;
|
| - const views::TypographyProvider& GetTypographyProvider() const override;
|
| -
|
| - private:
|
| - const HarmonyTypographyProvider typography_provider_;
|
| -
|
| - DISALLOW_COPY_AND_ASSIGN(HarmonyLayoutDelegate);
|
| -};
|
| -
|
| -#endif // CHROME_BROWSER_UI_VIEWS_HARMONY_HARMONY_LAYOUT_DELEGATE_H_
|
|
|