| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_MUS_SHELL_DELEGATE_MUS_H_ | 5 #ifndef ASH_MUS_SHELL_DELEGATE_MUS_H_ |
| 6 #define ASH_MUS_SHELL_DELEGATE_MUS_H_ | 6 #define ASH_MUS_SHELL_DELEGATE_MUS_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "ash/shell_delegate.h" | 10 #include "ash/shell_delegate.h" |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 bool IsForceMaximizeOnFirstRun() const override; | 30 bool IsForceMaximizeOnFirstRun() const override; |
| 31 void PreInit() override; | 31 void PreInit() override; |
| 32 void PreShutdown() override; | 32 void PreShutdown() override; |
| 33 void Exit() override; | 33 void Exit() override; |
| 34 keyboard::KeyboardUI* CreateKeyboardUI() override; | 34 keyboard::KeyboardUI* CreateKeyboardUI() override; |
| 35 void OpenUrlFromArc(const GURL& url) override; | 35 void OpenUrlFromArc(const GURL& url) override; |
| 36 void ShelfInit() override; | 36 void ShelfInit() override; |
| 37 void ShelfShutdown() override; | 37 void ShelfShutdown() override; |
| 38 SystemTrayDelegate* CreateSystemTrayDelegate() override; | 38 SystemTrayDelegate* CreateSystemTrayDelegate() override; |
| 39 std::unique_ptr<WallpaperDelegate> CreateWallpaperDelegate() override; | 39 std::unique_ptr<WallpaperDelegate> CreateWallpaperDelegate() override; |
| 40 SessionStateDelegate* CreateSessionStateDelegate() override; | |
| 41 AccessibilityDelegate* CreateAccessibilityDelegate() override; | 40 AccessibilityDelegate* CreateAccessibilityDelegate() override; |
| 42 std::unique_ptr<PaletteDelegate> CreatePaletteDelegate() override; | 41 std::unique_ptr<PaletteDelegate> CreatePaletteDelegate() override; |
| 43 ui::MenuModel* CreateContextMenu(Shelf* shelf, | 42 ui::MenuModel* CreateContextMenu(Shelf* shelf, |
| 44 const ShelfItem* item) override; | 43 const ShelfItem* item) override; |
| 45 GPUSupport* CreateGPUSupport() override; | 44 GPUSupport* CreateGPUSupport() override; |
| 46 base::string16 GetProductName() const override; | 45 base::string16 GetProductName() const override; |
| 47 gfx::Image GetDeprecatedAcceleratorImage() const override; | 46 gfx::Image GetDeprecatedAcceleratorImage() const override; |
| 48 PrefService* GetActiveUserPrefService() const override; | 47 PrefService* GetActiveUserPrefService() const override; |
| 49 bool IsTouchscreenEnabledInPrefs(bool use_local_state) const override; | 48 bool IsTouchscreenEnabledInPrefs(bool use_local_state) const override; |
| 50 void SetTouchscreenEnabledInPrefs(bool enabled, | 49 void SetTouchscreenEnabledInPrefs(bool enabled, |
| 51 bool use_local_state) override; | 50 bool use_local_state) override; |
| 52 void UpdateTouchscreenStatusFromPrefs() override; | 51 void UpdateTouchscreenStatusFromPrefs() override; |
| 53 | 52 |
| 54 private: | 53 private: |
| 55 // |connector_| may be null in tests. | 54 // |connector_| may be null in tests. |
| 56 service_manager::Connector* connector_; | 55 service_manager::Connector* connector_; |
| 57 | 56 |
| 58 DISALLOW_COPY_AND_ASSIGN(ShellDelegateMus); | 57 DISALLOW_COPY_AND_ASSIGN(ShellDelegateMus); |
| 59 }; | 58 }; |
| 60 | 59 |
| 61 } // namespace ash | 60 } // namespace ash |
| 62 | 61 |
| 63 #endif // ASH_MUS_SHELL_DELEGATE_MUS_H_ | 62 #endif // ASH_MUS_SHELL_DELEGATE_MUS_H_ |
| OLD | NEW |