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

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

Issue 2765883004: Implement Harmony typography spec. (Closed)
Patch Set: respond to comments Created 3 years, 8 months 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
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
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698