Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(794)

Side by Side Diff: chrome/browser/ui/views/harmony/harmony_layout_delegate.h

Issue 2485083003: views: add layout delegates (Closed)
Patch Set: move delegate out of views Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698