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