Chromium Code Reviews| Index: chrome/browser/ui/views/harmony/layout_delegate.h |
| diff --git a/chrome/browser/ui/views/harmony/layout_delegate.h b/chrome/browser/ui/views/harmony/layout_delegate.h |
| index e37879f86ed5e5433edaf45c5a8b4f31ef58058a..b15854c3ab48138d6366d01cf61a774c29112686 100644 |
| --- a/chrome/browser/ui/views/harmony/layout_delegate.h |
| +++ b/chrome/browser/ui/views/harmony/layout_delegate.h |
| @@ -7,6 +7,10 @@ |
| #include "ui/views/layout/grid_layout.h" |
| +namespace views { |
| +class TypographyProvider; |
| +} |
| + |
| class LayoutDelegate { |
| public: |
| enum class Metric { |
| @@ -96,6 +100,10 @@ class LayoutDelegate { |
| // May return 0 if the dialog has no preferred width. |
| virtual int GetDialogPreferredWidth(DialogWidth width) const; |
| + // Returns the class that maps views::style (TextContext and TextStyle) to |
|
Peter Kasting
2017/03/17 20:59:39
Nit: style -> style values (or style enums)
tapted
2017/03/20 07:33:35
Done.
|
| + // specific font properties (e.g. typeface, size, color, line spacing). |
| + virtual const views::TypographyProvider& GetTypographyProvider() const; |
| + |
| private: |
| DISALLOW_COPY_AND_ASSIGN(LayoutDelegate); |
| }; |