Chromium Code Reviews| 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..8a82e6d97094da2326aba6ae181ba5fa87843a4c |
| --- /dev/null |
| +++ b/chrome/browser/ui/views/harmony/harmony_layout_delegate.h |
| @@ -0,0 +1,24 @@ |
| +// 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" |
| + |
| +namespace chrome { |
| + |
| +class HarmonyLayoutDelegate : public LayoutDelegate { |
| + public: |
| + // Returns the singleton HarmonyLayoutDelegate instance. |
| + static HarmonyLayoutDelegate* Get(); |
| + |
| + // views::LayoutDelegate: |
| + int GetLayoutDistance(LayoutDistanceType type) const override; |
| + bool UseExtraDialogPadding() const override; |
| +}; |
|
sky
2016/11/14 21:49:32
private: DISALLOW_... ?
Elly Fong-Jones
2016/11/15 17:13:39
Done.
|
| + |
| +} // namespace chrome |
| + |
| +#endif // CHROME_BROWSER_UI_VIEWS_HARMONY_HARMONY_LAYOUT_DELEGATE_H_ |