Index: ui/views/views_delegate.h |
diff --git a/ui/views/views_delegate.h b/ui/views/views_delegate.h |
index 04324b50a4edba52b08125bd4bd80a32b436a015..5ab30aa42997cf7bb298dcdf71caab5b07eb9c29 100644 |
--- a/ui/views/views_delegate.h |
+++ b/ui/views/views_delegate.h |
@@ -48,6 +48,7 @@ namespace views { |
class NativeWidget; |
class NonClientFrameView; |
class ViewsTouchEditingControllerFactory; |
+class TypographyProvider; |
class View; |
class Widget; |
@@ -252,6 +253,10 @@ class VIEWS_EXPORT ViewsDelegate { |
// enumeration element. |
virtual int GetDistanceMetric(DistanceMetric metric) const; |
+ // Returns the TypographyProvider, used to configure text properties such as |
+ // font, weight, color, size, and line height. Never null. |
+ virtual const TypographyProvider& GetTypographyProvider() const = 0; |
+ |
protected: |
ViewsDelegate(); |