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

Unified Diff: ui/views/test/test_views_delegate.h

Issue 2734113006: "Bootstrap" a toolkit-views Typography spec. (Closed)
Patch Set: Rebase (conflict in layout_delegate.h due to r457774) 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/test/test_views_delegate.h
diff --git a/ui/views/test/test_views_delegate.h b/ui/views/test/test_views_delegate.h
index 588b0d37d4c804cf63312ec66758d3a1bb4bfea8..222548f44ab182f2208c5af56c16da78ca5437dc 100644
--- a/ui/views/test/test_views_delegate.h
+++ b/ui/views/test/test_views_delegate.h
@@ -9,6 +9,7 @@
#include "base/macros.h"
#include "build/build_config.h"
+#include "ui/views/style/typography_provider.h"
#include "ui/views/views_delegate.h"
namespace views {
@@ -47,12 +48,14 @@ class TestViewsDelegate : public ViewsDelegate {
internal::NativeWidgetDelegate* delegate) override;
ui::ContextFactory* GetContextFactory() override;
ui::ContextFactoryPrivate* GetContextFactoryPrivate() override;
+ const TypographyProvider& GetTypographyProvider() const override;
private:
ui::ContextFactory* context_factory_;
ui::ContextFactoryPrivate* context_factory_private_;
bool use_desktop_native_widgets_;
bool use_transparent_windows_;
+ DefaultTypographyProvider typography_provider_;
DISALLOW_COPY_AND_ASSIGN(TestViewsDelegate);
};

Powered by Google App Engine
This is Rietveld 408576698