| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CHROME_BROWSER_UI_VIEWS_HARMONY_HARMONY_LAYOUT_DELEGATE_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_HARMONY_HARMONY_LAYOUT_DELEGATE_H_ |
| 7 |
| 8 #include "chrome/browser/ui/views/harmony/layout_delegate.h" |
| 9 |
| 10 class HarmonyLayoutDelegate : public LayoutDelegate { |
| 11 public: |
| 12 HarmonyLayoutDelegate() {} |
| 13 ~HarmonyLayoutDelegate() override {} |
| 14 |
| 15 // Returns the singleton HarmonyLayoutDelegate instance. |
| 16 static HarmonyLayoutDelegate* Get(); |
| 17 |
| 18 // views::LayoutDelegate: |
| 19 int GetLayoutDistance(LayoutDistanceType type) const override; |
| 20 bool UseExtraDialogPadding() const override; |
| 21 |
| 22 private: |
| 23 DISALLOW_COPY_AND_ASSIGN(HarmonyLayoutDelegate); |
| 24 }; |
| 25 |
| 26 #endif // CHROME_BROWSER_UI_VIEWS_HARMONY_HARMONY_LAYOUT_DELEGATE_H_ |
| OLD | NEW |