[email protected] | 40c4cbb | 2012-01-10 23:26:07 | [diff] [blame] | 1 | // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
[email protected] | f7eb89c | 2011-12-13 09:48:54 | [diff] [blame] | 2 | // Use of this source code is governed by a BSD-style license that can be |
3 | // found in the LICENSE file. | ||||
4 | |||||
James Cook | 346c8c6 | 2017-07-18 19:38:37 | [diff] [blame] | 5 | #ifndef ASH_TEST_SHELL_DELEGATE_H_ |
6 | #define ASH_TEST_SHELL_DELEGATE_H_ | ||||
[email protected] | f7eb89c | 2011-12-13 09:48:54 | [diff] [blame] | 7 | |
dcheng | a9454747 | 2016-04-08 08:41:11 | [diff] [blame] | 8 | #include <memory> |
[email protected] | 565f32fc0 | 2013-03-05 18:51:48 | [diff] [blame] | 9 | |
James Cook | b0bf8e8 | 2017-04-09 17:01:44 | [diff] [blame] | 10 | #include "ash/shell_delegate.h" |
avi | db567a8a | 2015-12-20 17:07:24 | [diff] [blame] | 11 | #include "base/macros.h" |
[email protected] | f7eb89c | 2011-12-13 09:48:54 | [diff] [blame] | 12 | |
[email protected] | 55f59335 | 2011-12-24 05:42:46 | [diff] [blame] | 13 | namespace ash { |
[email protected] | f7eb89c | 2011-12-13 09:48:54 | [diff] [blame] | 14 | |
15 | class TestShellDelegate : public ShellDelegate { | ||||
16 | public: | ||||
17 | TestShellDelegate(); | ||||
dcheng | 0b8c9d7f | 2014-10-28 00:21:10 | [diff] [blame] | 18 | ~TestShellDelegate() override; |
[email protected] | f7eb89c | 2011-12-13 09:48:54 | [diff] [blame] | 19 | |
20 | // Overridden from ShellDelegate: | ||||
varkha | d43f5524 | 2017-05-26 20:55:58 | [diff] [blame] | 21 | bool CanShowWindowForUser(aura::Window* window) const override; |
yhanada | 8909a54 | 2017-07-11 10:06:19 | [diff] [blame] | 22 | std::unique_ptr<keyboard::KeyboardUI> CreateKeyboardUI() override; |
James Cook | 5e9d340 | 2017-11-01 00:20:12 | [diff] [blame] | 23 | std::unique_ptr<ScreenshotDelegate> CreateScreenshotDelegate() override; |
dcheng | 0b8c9d7f | 2014-10-28 00:21:10 | [diff] [blame] | 24 | AccessibilityDelegate* CreateAccessibilityDelegate() override; |
Scott Violet | 7e33efc | 2018-08-29 22:30:15 | [diff] [blame] | 25 | ws::InputDeviceControllerClient* GetInputDeviceControllerClient() override; |
warx | 4c8baedb | 2016-12-03 22:38:50 | [diff] [blame] | 26 | |
[email protected] | db913160 | 2012-02-29 19:06:32 | [diff] [blame] | 27 | private: |
[email protected] | db913160 | 2012-02-29 19:06:32 | [diff] [blame] | 28 | DISALLOW_COPY_AND_ASSIGN(TestShellDelegate); |
[email protected] | f7eb89c | 2011-12-13 09:48:54 | [diff] [blame] | 29 | }; |
30 | |||||
[email protected] | 55f59335 | 2011-12-24 05:42:46 | [diff] [blame] | 31 | } // namespace ash |
[email protected] | f7eb89c | 2011-12-13 09:48:54 | [diff] [blame] | 32 | |
James Cook | 346c8c6 | 2017-07-18 19:38:37 | [diff] [blame] | 33 | #endif // ASH_TEST_SHELL_DELEGATE_H_ |