| 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 26 matching lines...) Expand all Loading... |
| 37 bool CanShowWindowForUser(WmWindow* window) const override; | 37 bool CanShowWindowForUser(WmWindow* window) const override; |
| 38 bool IsForceMaximizeOnFirstRun() const override; | 38 bool IsForceMaximizeOnFirstRun() const override; |
| 39 void PreInit() override; | 39 void PreInit() override; |
| 40 void PreShutdown() override; | 40 void PreShutdown() override; |
| 41 void Exit() override; | 41 void Exit() override; |
| 42 keyboard::KeyboardUI* CreateKeyboardUI() override; | 42 keyboard::KeyboardUI* CreateKeyboardUI() override; |
| 43 void OpenUrlFromArc(const GURL& url) override; | 43 void OpenUrlFromArc(const GURL& url) override; |
| 44 app_list::AppListPresenter* GetAppListPresenter() override; | 44 app_list::AppListPresenter* GetAppListPresenter() override; |
| 45 ShelfDelegate* CreateShelfDelegate(ShelfModel* model) override; | 45 ShelfDelegate* CreateShelfDelegate(ShelfModel* model) override; |
| 46 SystemTrayDelegate* CreateSystemTrayDelegate() override; | 46 SystemTrayDelegate* CreateSystemTrayDelegate() override; |
| 47 UserWallpaperDelegate* CreateUserWallpaperDelegate() override; | 47 WallpaperDelegate* CreateWallpaperDelegate() override; |
| 48 SessionStateDelegate* CreateSessionStateDelegate() override; | 48 SessionStateDelegate* CreateSessionStateDelegate() override; |
| 49 AccessibilityDelegate* CreateAccessibilityDelegate() override; | 49 AccessibilityDelegate* CreateAccessibilityDelegate() override; |
| 50 NewWindowDelegate* CreateNewWindowDelegate() override; | 50 NewWindowDelegate* CreateNewWindowDelegate() override; |
| 51 MediaDelegate* CreateMediaDelegate() override; | 51 MediaDelegate* CreateMediaDelegate() override; |
| 52 std::unique_ptr<PaletteDelegate> CreatePaletteDelegate() override; | 52 std::unique_ptr<PaletteDelegate> CreatePaletteDelegate() override; |
| 53 ui::MenuModel* CreateContextMenu(WmShelf* wm_shelf, | 53 ui::MenuModel* CreateContextMenu(WmShelf* wm_shelf, |
| 54 const ShelfItem* item) override; | 54 const ShelfItem* item) override; |
| 55 GPUSupport* CreateGPUSupport() override; | 55 GPUSupport* CreateGPUSupport() override; |
| 56 base::string16 GetProductName() const override; | 56 base::string16 GetProductName() const override; |
| 57 gfx::Image GetDeprecatedAcceleratorImage() const override; | 57 gfx::Image GetDeprecatedAcceleratorImage() const override; |
| 58 | 58 |
| 59 private: | 59 private: |
| 60 ShelfDelegateImpl* shelf_delegate_; | 60 ShelfDelegateImpl* shelf_delegate_; |
| 61 std::unique_ptr<app_list::AppListPresenterDelegateFactory> | 61 std::unique_ptr<app_list::AppListPresenterDelegateFactory> |
| 62 app_list_presenter_delegate_factory_; | 62 app_list_presenter_delegate_factory_; |
| 63 std::unique_ptr<app_list::AppListPresenterImpl> app_list_presenter_; | 63 std::unique_ptr<app_list::AppListPresenterImpl> app_list_presenter_; |
| 64 | 64 |
| 65 DISALLOW_COPY_AND_ASSIGN(ShellDelegateImpl); | 65 DISALLOW_COPY_AND_ASSIGN(ShellDelegateImpl); |
| 66 }; | 66 }; |
| 67 | 67 |
| 68 } // namespace shell | 68 } // namespace shell |
| 69 } // namespace ash | 69 } // namespace ash |
| 70 | 70 |
| 71 #endif // ASH_SHELL_SHELL_DELEGATE_IMPL_H_ | 71 #endif // ASH_SHELL_SHELL_DELEGATE_IMPL_H_ |
| OLD | NEW |