OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/browser/ui/views/harmony/layout_delegate.h" | 5 #include "chrome/browser/ui/views/harmony/layout_delegate.h" |
6 | 6 |
7 #include "base/lazy_instance.h" | 7 #include "base/lazy_instance.h" |
8 #include "base/logging.h" | 8 #include "base/logging.h" |
9 #include "chrome/browser/ui/views/chrome_views_delegate.h" | 9 #include "chrome/browser/ui/views/chrome_views_delegate.h" |
10 #include "chrome/browser/ui/views/harmony/harmony_layout_delegate.h" | 10 #include "chrome/browser/ui/views/harmony/harmony_layout_delegate.h" |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 | 70 |
71 views::GridLayout::Alignment LayoutDelegate::GetControlLabelGridAlignment() | 71 views::GridLayout::Alignment LayoutDelegate::GetControlLabelGridAlignment() |
72 const { | 72 const { |
73 return views::GridLayout::TRAILING; | 73 return views::GridLayout::TRAILING; |
74 } | 74 } |
75 | 75 |
76 bool LayoutDelegate::UseExtraDialogPadding() const { | 76 bool LayoutDelegate::UseExtraDialogPadding() const { |
77 return true; | 77 return true; |
78 } | 78 } |
79 | 79 |
| 80 bool LayoutDelegate::ShouldShowWindowIcon() const { |
| 81 return true; |
| 82 } |
| 83 |
80 bool LayoutDelegate::IsHarmonyMode() const { | 84 bool LayoutDelegate::IsHarmonyMode() const { |
81 return false; | 85 return false; |
82 } | 86 } |
83 | 87 |
84 int LayoutDelegate::GetDialogPreferredWidth(DialogWidth width) const { | 88 int LayoutDelegate::GetDialogPreferredWidth(DialogWidth width) const { |
85 return 0; | 89 return 0; |
86 } | 90 } |
OLD | NEW |