Chromium Code Reviews| Index: ui/views/views_delegate.h |
| diff --git a/ui/views/views_delegate.h b/ui/views/views_delegate.h |
| index 16ecca03ce7f543c5f76dc7e994642fdaf0f883e..9297a8b71b3283f03a8d2b2619f9bd812d9655fa 100644 |
| --- a/ui/views/views_delegate.h |
| +++ b/ui/views/views_delegate.h |
| @@ -38,6 +38,7 @@ class Rect; |
| namespace ui { |
| class ContextFactory; |
| +class NativeTheme; |
| } |
| namespace views { |
| @@ -191,6 +192,10 @@ class VIEWS_EXPORT ViewsDelegate { |
| // Returns a blocking pool task runner given a TaskRunnerType. |
| virtual scoped_refptr<base::TaskRunner> GetBlockingPoolTaskRunner(); |
| + // Returns a value which, if non-null, will be used as the NativeTheme for |
| + // |widget| in place of the platform default native theme. |
| + virtual ui::NativeTheme* GetNonDefaultNativeTheme(const Widget* widget); |
|
Peter Kasting
2015/11/11 00:34:46
Can this return the platform default native theme
Evan Stade
2015/11/11 01:05:32
I don't know how we'd do this because ViewsDelegat
Peter Kasting
2015/11/11 01:25:47
I meant for Widget to so something like:
return
|
| + |
| protected: |
| ViewsDelegate(); |