| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #ifndef ASH_TEST_TEST_SHELL_DELEGATE_H_ | 5 #ifndef ASH_TEST_TEST_SHELL_DELEGATE_H_ |
| 6 #define ASH_TEST_TEST_SHELL_DELEGATE_H_ | 6 #define ASH_TEST_TEST_SHELL_DELEGATE_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "ash/media_delegate.h" | 11 #include "ash/media_delegate.h" |
| 12 #include "ash/shell_delegate.h" | 12 #include "ash/shell_delegate.h" |
| 13 #include "ash/test/test_session_state_delegate.h" | 13 #include "ash/test/test_session_state_delegate.h" |
| 14 #include "base/compiler_specific.h" | |
| 15 #include "base/macros.h" | 14 #include "base/macros.h" |
| 16 #include "base/observer_list.h" | 15 #include "base/observer_list.h" |
| 17 | 16 |
| 18 namespace app_list { | 17 namespace app_list { |
| 19 class AppListPresenterDelegateFactory; | 18 class AppListPresenterDelegateFactory; |
| 20 class AppListPresenterImpl; | 19 class AppListPresenterImpl; |
| 21 } | 20 } |
| 22 | 21 |
| 23 namespace keyboard { | 22 namespace keyboard { |
| 24 class KeyboardUI; | 23 class KeyboardUI; |
| (...skipping 29 matching lines...) Expand all Loading... |
| 54 VirtualKeyboardStateObserver* observer) override; | 53 VirtualKeyboardStateObserver* observer) override; |
| 55 void OpenUrl(const GURL& url) override; | 54 void OpenUrl(const GURL& url) override; |
| 56 app_list::AppListPresenter* GetAppListPresenter() override; | 55 app_list::AppListPresenter* GetAppListPresenter() override; |
| 57 ShelfDelegate* CreateShelfDelegate(ShelfModel* model) override; | 56 ShelfDelegate* CreateShelfDelegate(ShelfModel* model) override; |
| 58 SystemTrayDelegate* CreateSystemTrayDelegate() override; | 57 SystemTrayDelegate* CreateSystemTrayDelegate() override; |
| 59 UserWallpaperDelegate* CreateUserWallpaperDelegate() override; | 58 UserWallpaperDelegate* CreateUserWallpaperDelegate() override; |
| 60 TestSessionStateDelegate* CreateSessionStateDelegate() override; | 59 TestSessionStateDelegate* CreateSessionStateDelegate() override; |
| 61 AccessibilityDelegate* CreateAccessibilityDelegate() override; | 60 AccessibilityDelegate* CreateAccessibilityDelegate() override; |
| 62 NewWindowDelegate* CreateNewWindowDelegate() override; | 61 NewWindowDelegate* CreateNewWindowDelegate() override; |
| 63 MediaDelegate* CreateMediaDelegate() override; | 62 MediaDelegate* CreateMediaDelegate() override; |
| 64 std::unique_ptr<ContainerDelegate> CreateContainerDelegate() override; | |
| 65 std::unique_ptr<PointerWatcherDelegate> CreatePointerWatcherDelegate() | 63 std::unique_ptr<PointerWatcherDelegate> CreatePointerWatcherDelegate() |
| 66 override; | 64 override; |
| 67 ui::MenuModel* CreateContextMenu(WmShelf* wm_shelf, | 65 ui::MenuModel* CreateContextMenu(WmShelf* wm_shelf, |
| 68 const ShelfItem* item) override; | 66 const ShelfItem* item) override; |
| 69 GPUSupport* CreateGPUSupport() override; | 67 GPUSupport* CreateGPUSupport() override; |
| 70 base::string16 GetProductName() const override; | 68 base::string16 GetProductName() const override; |
| 71 gfx::Image GetDeprecatedAcceleratorImage() const override; | 69 gfx::Image GetDeprecatedAcceleratorImage() const override; |
| 72 | 70 |
| 73 int num_exit_requests() const { return num_exit_requests_; } | 71 int num_exit_requests() const { return num_exit_requests_; } |
| 74 | 72 |
| (...skipping 18 matching lines...) Expand all Loading... |
| 93 base::ObserverList<ash::VirtualKeyboardStateObserver> | 91 base::ObserverList<ash::VirtualKeyboardStateObserver> |
| 94 keyboard_state_observer_list_; | 92 keyboard_state_observer_list_; |
| 95 | 93 |
| 96 DISALLOW_COPY_AND_ASSIGN(TestShellDelegate); | 94 DISALLOW_COPY_AND_ASSIGN(TestShellDelegate); |
| 97 }; | 95 }; |
| 98 | 96 |
| 99 } // namespace test | 97 } // namespace test |
| 100 } // namespace ash | 98 } // namespace ash |
| 101 | 99 |
| 102 #endif // ASH_TEST_TEST_SHELL_DELEGATE_H_ | 100 #endif // ASH_TEST_TEST_SHELL_DELEGATE_H_ |
| OLD | NEW |