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_SHELL_SHELL_DELEGATE_IMPL_H_ | 5 #ifndef ASH_SHELL_SHELL_DELEGATE_IMPL_H_ |
6 #define ASH_SHELL_SHELL_DELEGATE_IMPL_H_ | 6 #define ASH_SHELL_SHELL_DELEGATE_IMPL_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 24 matching lines...) Expand all Loading... |
35 void Exit() override; | 35 void Exit() override; |
36 keyboard::KeyboardUI* CreateKeyboardUI() override; | 36 keyboard::KeyboardUI* CreateKeyboardUI() override; |
37 void OpenUrlFromArc(const GURL& url) override; | 37 void OpenUrlFromArc(const GURL& url) override; |
38 void ShelfInit() override; | 38 void ShelfInit() override; |
39 void ShelfShutdown() override; | 39 void ShelfShutdown() override; |
40 SystemTrayDelegate* CreateSystemTrayDelegate() override; | 40 SystemTrayDelegate* CreateSystemTrayDelegate() override; |
41 std::unique_ptr<WallpaperDelegate> CreateWallpaperDelegate() override; | 41 std::unique_ptr<WallpaperDelegate> CreateWallpaperDelegate() override; |
42 SessionStateDelegate* CreateSessionStateDelegate() override; | 42 SessionStateDelegate* CreateSessionStateDelegate() override; |
43 AccessibilityDelegate* CreateAccessibilityDelegate() override; | 43 AccessibilityDelegate* CreateAccessibilityDelegate() override; |
44 std::unique_ptr<PaletteDelegate> CreatePaletteDelegate() override; | 44 std::unique_ptr<PaletteDelegate> CreatePaletteDelegate() override; |
45 ui::MenuModel* CreateContextMenu(WmShelf* wm_shelf, | 45 ui::MenuModel* CreateContextMenu(Shelf* shelf, |
46 const ShelfItem* item) override; | 46 const ShelfItem* item) override; |
47 GPUSupport* CreateGPUSupport() override; | 47 GPUSupport* CreateGPUSupport() override; |
48 base::string16 GetProductName() const override; | 48 base::string16 GetProductName() const override; |
49 gfx::Image GetDeprecatedAcceleratorImage() const override; | 49 gfx::Image GetDeprecatedAcceleratorImage() const override; |
50 PrefService* GetActiveUserPrefService() const override; | 50 PrefService* GetActiveUserPrefService() const override; |
51 bool IsTouchscreenEnabledInPrefs(bool use_local_state) const override; | 51 bool IsTouchscreenEnabledInPrefs(bool use_local_state) const override; |
52 void SetTouchscreenEnabledInPrefs(bool enabled, | 52 void SetTouchscreenEnabledInPrefs(bool enabled, |
53 bool use_local_state) override; | 53 bool use_local_state) override; |
54 void UpdateTouchscreenStatusFromPrefs() override; | 54 void UpdateTouchscreenStatusFromPrefs() override; |
55 | 55 |
56 private: | 56 private: |
57 DISALLOW_COPY_AND_ASSIGN(ShellDelegateImpl); | 57 DISALLOW_COPY_AND_ASSIGN(ShellDelegateImpl); |
58 }; | 58 }; |
59 | 59 |
60 } // namespace shell | 60 } // namespace shell |
61 } // namespace ash | 61 } // namespace ash |
62 | 62 |
63 #endif // ASH_SHELL_SHELL_DELEGATE_IMPL_H_ | 63 #endif // ASH_SHELL_SHELL_DELEGATE_IMPL_H_ |
OLD | NEW |