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 |
(...skipping 23 matching lines...) Expand all Loading... |
34 ::service_manager::Connector* GetShellConnector() const override; | 34 ::service_manager::Connector* GetShellConnector() const override; |
35 bool IsIncognitoAllowed() const override; | 35 bool IsIncognitoAllowed() const override; |
36 bool IsMultiProfilesEnabled() const override; | 36 bool IsMultiProfilesEnabled() const override; |
37 bool IsRunningInForcedAppMode() const override; | 37 bool IsRunningInForcedAppMode() const override; |
38 bool CanShowWindowForUser(WmWindow* window) const override; | 38 bool CanShowWindowForUser(WmWindow* window) const override; |
39 bool IsForceMaximizeOnFirstRun() const override; | 39 bool IsForceMaximizeOnFirstRun() const override; |
40 void PreInit() override; | 40 void PreInit() override; |
41 void PreShutdown() override; | 41 void PreShutdown() override; |
42 void Exit() override; | 42 void Exit() override; |
43 keyboard::KeyboardUI* CreateKeyboardUI() override; | 43 keyboard::KeyboardUI* CreateKeyboardUI() override; |
| 44 void ShelfInit() override; |
| 45 void ShelfShutdown() override; |
44 void OpenUrlFromArc(const GURL& url) override; | 46 void OpenUrlFromArc(const GURL& url) override; |
45 ShelfDelegate* CreateShelfDelegate(ShelfModel* model) override; | |
46 SystemTrayDelegate* CreateSystemTrayDelegate() override; | 47 SystemTrayDelegate* CreateSystemTrayDelegate() override; |
47 std::unique_ptr<WallpaperDelegate> CreateWallpaperDelegate() override; | 48 std::unique_ptr<WallpaperDelegate> CreateWallpaperDelegate() override; |
48 TestSessionStateDelegate* CreateSessionStateDelegate() override; | 49 TestSessionStateDelegate* CreateSessionStateDelegate() override; |
49 AccessibilityDelegate* CreateAccessibilityDelegate() override; | 50 AccessibilityDelegate* CreateAccessibilityDelegate() override; |
50 std::unique_ptr<PaletteDelegate> CreatePaletteDelegate() override; | 51 std::unique_ptr<PaletteDelegate> CreatePaletteDelegate() override; |
51 ui::MenuModel* CreateContextMenu(WmShelf* wm_shelf, | 52 ui::MenuModel* CreateContextMenu(WmShelf* wm_shelf, |
52 const ShelfItem* item) override; | 53 const ShelfItem* item) override; |
53 GPUSupport* CreateGPUSupport() override; | 54 GPUSupport* CreateGPUSupport() override; |
54 base::string16 GetProductName() const override; | 55 base::string16 GetProductName() const override; |
55 gfx::Image GetDeprecatedAcceleratorImage() const override; | 56 gfx::Image GetDeprecatedAcceleratorImage() const override; |
(...skipping 16 matching lines...) Expand all Loading... |
72 bool touchscreen_enabled_in_local_pref_; | 73 bool touchscreen_enabled_in_local_pref_; |
73 std::unique_ptr<ShelfInitializer> shelf_initializer_; | 74 std::unique_ptr<ShelfInitializer> shelf_initializer_; |
74 | 75 |
75 DISALLOW_COPY_AND_ASSIGN(TestShellDelegate); | 76 DISALLOW_COPY_AND_ASSIGN(TestShellDelegate); |
76 }; | 77 }; |
77 | 78 |
78 } // namespace test | 79 } // namespace test |
79 } // namespace ash | 80 } // namespace ash |
80 | 81 |
81 #endif // ASH_TEST_TEST_SHELL_DELEGATE_H_ | 82 #endif // ASH_TEST_TEST_SHELL_DELEGATE_H_ |
OLD | NEW |