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

Unified Diff: ui/views/mus/aura_init.cc

Issue 2734113006: "Bootstrap" a toolkit-views Typography spec. (Closed)
Patch Set: respond to comments Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: ui/views/mus/aura_init.cc
diff --git a/ui/views/mus/aura_init.cc b/ui/views/mus/aura_init.cc
index eff8317ef121ed585070fcc3b2cab8f5542f10cd..fe7406ccf782b713366af090c6bb3c01baa2a31f 100644
--- a/ui/views/mus/aura_init.cc
+++ b/ui/views/mus/aura_init.cc
@@ -20,6 +20,7 @@
#include "ui/base/resource/resource_bundle.h"
#include "ui/base/ui_base_paths.h"
#include "ui/views/mus/mus_client.h"
+#include "ui/views/style/typography_provider.h"
#include "ui/views/views_delegate.h"
#if defined(OS_LINUX)
@@ -43,6 +44,12 @@ class MusViewsDelegate : public ViewsDelegate {
Widget::InitParams* params,
internal::NativeWidgetDelegate* delegate) override {}
+ const TypographyProvider& GetTypographyProvider() const override {
+ return typography_provider_;
+ }
+
+ DefaultTypographyProvider typography_provider_;
+
DISALLOW_COPY_AND_ASSIGN(MusViewsDelegate);
};

Powered by Google App Engine
This is Rietveld 408576698