| 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
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..fd36b15d297a11f88bb08f5165375602c12f46d8
|
| --- /dev/null
|
| +++ b/chrome/browser/ui/views/harmony/harmony_layout_delegate.h
|
| @@ -0,0 +1,26 @@
|
| +// 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/layout_delegate.h"
|
| +
|
| +class HarmonyLayoutDelegate : public LayoutDelegate {
|
| + public:
|
| + HarmonyLayoutDelegate() {}
|
| + ~HarmonyLayoutDelegate() override {}
|
| +
|
| + // Returns the singleton HarmonyLayoutDelegate instance.
|
| + static HarmonyLayoutDelegate* Get();
|
| +
|
| + // views::LayoutDelegate:
|
| + int GetLayoutDistance(LayoutDistanceType type) const override;
|
| + bool UseExtraDialogPadding() const override;
|
| +
|
| + private:
|
| + DISALLOW_COPY_AND_ASSIGN(HarmonyLayoutDelegate);
|
| +};
|
| +
|
| +#endif // CHROME_BROWSER_UI_VIEWS_HARMONY_HARMONY_LAYOUT_DELEGATE_H_
|
|
|