OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "ui/views/test/test_views_delegate.h" | 5 #include "ui/views/test/test_views_delegate.h" |
6 | 6 |
7 #include "ui/views/widget/native_widget_mac.h" | 7 #include "ui/views/widget/native_widget_mac.h" |
8 | 8 |
9 namespace views { | 9 namespace views { |
10 | 10 |
(...skipping 20 matching lines...) Expand all Loading... |
31 } | 31 } |
32 | 32 |
33 ui::ContextFactory* TestViewsDelegate::GetContextFactory() { | 33 ui::ContextFactory* TestViewsDelegate::GetContextFactory() { |
34 return context_factory_; | 34 return context_factory_; |
35 } | 35 } |
36 | 36 |
37 ui::ContextFactoryPrivate* TestViewsDelegate::GetContextFactoryPrivate() { | 37 ui::ContextFactoryPrivate* TestViewsDelegate::GetContextFactoryPrivate() { |
38 return context_factory_private_; | 38 return context_factory_private_; |
39 } | 39 } |
40 | 40 |
| 41 const TypographyProvider& TestViewsDelegate::GetTypographyProvider() const { |
| 42 return typography_provider_; |
| 43 } |
| 44 |
41 } // namespace views | 45 } // namespace views |
OLD | NEW |