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/harmony_layout_delegate.h" | 5 #include "chrome/browser/ui/views/harmony/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 | 9 |
10 static base::LazyInstance<HarmonyLayoutDelegate>::DestructorAtExit | 10 static base::LazyInstance<HarmonyLayoutDelegate>::DestructorAtExit |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 case DialogWidth::SMALL: | 89 case DialogWidth::SMALL: |
90 return 320; | 90 return 320; |
91 case DialogWidth::MEDIUM: | 91 case DialogWidth::MEDIUM: |
92 return 448; | 92 return 448; |
93 case DialogWidth::LARGE: | 93 case DialogWidth::LARGE: |
94 return 512; | 94 return 512; |
95 } | 95 } |
96 NOTREACHED(); | 96 NOTREACHED(); |
97 return 0; | 97 return 0; |
98 } | 98 } |
| 99 |
| 100 const views::TypographyProvider& HarmonyLayoutDelegate::GetTypographyProvider() |
| 101 const { |
| 102 return typography_provider_; |
| 103 } |
OLD | NEW |