Chromium Code Reviews| 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 namespace chrome { | |
| 11 | |
| 12 class HarmonyLayoutDelegate : public LayoutDelegate { | |
| 13 public: | |
| 14 // Returns the singleton HarmonyLayoutDelegate instance. | |
| 15 static HarmonyLayoutDelegate* Get(); | |
| 16 | |
| 17 // views::LayoutDelegate: | |
| 18 int GetLayoutDistance(LayoutDistanceType type) const override; | |
| 19 bool UseExtraDialogPadding() const override; | |
| 20 }; | |
|
sky
2016/11/14 21:49:32
private: DISALLOW_... ?
Elly Fong-Jones
2016/11/15 17:13:39
Done.
| |
| 21 | |
| 22 } // namespace chrome | |
| 23 | |
| 24 #endif // CHROME_BROWSER_UI_VIEWS_HARMONY_HARMONY_LAYOUT_DELEGATE_H_ | |
| OLD | NEW |