Scott Violet | afd2355 | 2017-06-23 18:20:16 | [diff] [blame] | 1 | // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | #ifndef ASH_SHELL_SHELL_VIEWS_DELEGATE_H_ |
| 6 | #define ASH_SHELL_SHELL_VIEWS_DELEGATE_H_ |
| 7 | |
| 8 | #include "ui/views/test/test_views_delegate.h" |
| 9 | |
| 10 | namespace ash { |
| 11 | namespace shell { |
| 12 | |
| 13 | class ShellViewsDelegate : public views::TestViewsDelegate { |
| 14 | public: |
| 15 | ShellViewsDelegate(); |
| 16 | ~ShellViewsDelegate() override; |
| 17 | |
| 18 | // views::TestViewsDelegate: |
| 19 | views::NonClientFrameView* CreateDefaultNonClientFrameView( |
| 20 | views::Widget* widget) override; |
| 21 | void OnBeforeWidgetInit( |
| 22 | views::Widget::InitParams* params, |
| 23 | views::internal::NativeWidgetDelegate* delegate) override; |
| 24 | |
| 25 | private: |
| 26 | DISALLOW_COPY_AND_ASSIGN(ShellViewsDelegate); |
| 27 | }; |
| 28 | |
| 29 | } // namespace shell |
| 30 | } // namespace ash |
| 31 | |
| 32 | #endif // ASH_SHELL_SHELL_VIEWS_DELEGATE_H_ |