| 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 | 
| 11 #include "ash/shell_delegate.h" | 11 #include "ash/shell_delegate.h" | 
| 12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" | 
| 13 #include "base/macros.h" | 13 #include "base/macros.h" | 
| 14 | 14 | 
| 15 namespace app_list { |  | 
| 16 class AppListShowerDelegateFactory; |  | 
| 17 class AppListShowerImpl; |  | 
| 18 } |  | 
| 19 |  | 
| 20 namespace keyboard { | 15 namespace keyboard { | 
| 21 class KeyboardUI; | 16 class KeyboardUI; | 
| 22 } | 17 } | 
| 23 | 18 | 
| 24 namespace ash { | 19 namespace ash { | 
| 25 namespace shell { | 20 namespace shell { | 
| 26 | 21 | 
| 27 class ShelfDelegateImpl; | 22 class ShelfDelegateImpl; | 
| 28 | 23 | 
| 29 class ShellDelegateImpl : public ash::ShellDelegate { | 24 class ShellDelegateImpl : public ash::ShellDelegate { | 
| (...skipping 10 matching lines...) Expand all  Loading... | 
| 40   void PreInit() override; | 35   void PreInit() override; | 
| 41   void PreShutdown() override; | 36   void PreShutdown() override; | 
| 42   void Exit() override; | 37   void Exit() override; | 
| 43   keyboard::KeyboardUI* CreateKeyboardUI() override; | 38   keyboard::KeyboardUI* CreateKeyboardUI() override; | 
| 44   void VirtualKeyboardActivated(bool activated) override; | 39   void VirtualKeyboardActivated(bool activated) override; | 
| 45   void AddVirtualKeyboardStateObserver( | 40   void AddVirtualKeyboardStateObserver( | 
| 46       VirtualKeyboardStateObserver* observer) override; | 41       VirtualKeyboardStateObserver* observer) override; | 
| 47   void RemoveVirtualKeyboardStateObserver( | 42   void RemoveVirtualKeyboardStateObserver( | 
| 48       VirtualKeyboardStateObserver* observer) override; | 43       VirtualKeyboardStateObserver* observer) override; | 
| 49   void OpenUrl(const GURL& url) override; | 44   void OpenUrl(const GURL& url) override; | 
| 50   app_list::AppListShower* GetAppListShower() override; | 45   app_list::AppListViewDelegate* GetAppListViewDelegate() override; | 
| 51   ShelfDelegate* CreateShelfDelegate(ShelfModel* model) override; | 46   ShelfDelegate* CreateShelfDelegate(ShelfModel* model) override; | 
| 52   ash::SystemTrayDelegate* CreateSystemTrayDelegate() override; | 47   ash::SystemTrayDelegate* CreateSystemTrayDelegate() override; | 
| 53   ash::UserWallpaperDelegate* CreateUserWallpaperDelegate() override; | 48   ash::UserWallpaperDelegate* CreateUserWallpaperDelegate() override; | 
| 54   ash::SessionStateDelegate* CreateSessionStateDelegate() override; | 49   ash::SessionStateDelegate* CreateSessionStateDelegate() override; | 
| 55   ash::AccessibilityDelegate* CreateAccessibilityDelegate() override; | 50   ash::AccessibilityDelegate* CreateAccessibilityDelegate() override; | 
| 56   ash::NewWindowDelegate* CreateNewWindowDelegate() override; | 51   ash::NewWindowDelegate* CreateNewWindowDelegate() override; | 
| 57   ash::MediaDelegate* CreateMediaDelegate() override; | 52   ash::MediaDelegate* CreateMediaDelegate() override; | 
| 58   ui::MenuModel* CreateContextMenu(ash::Shelf* shelf, | 53   ui::MenuModel* CreateContextMenu(ash::Shelf* shelf, | 
| 59                                    const ash::ShelfItem* item) override; | 54                                    const ash::ShelfItem* item) override; | 
| 60   GPUSupport* CreateGPUSupport() override; | 55   GPUSupport* CreateGPUSupport() override; | 
| 61   base::string16 GetProductName() const override; | 56   base::string16 GetProductName() const override; | 
| 62   gfx::Image GetDeprecatedAcceleratorImage() const override; | 57   gfx::Image GetDeprecatedAcceleratorImage() const override; | 
| 63 | 58 | 
| 64  private: | 59  private: | 
| 65   ShelfDelegateImpl* shelf_delegate_; | 60   ShelfDelegateImpl* shelf_delegate_; | 
| 66   std::unique_ptr<app_list::AppListShowerDelegateFactory> | 61   std::unique_ptr<app_list::AppListViewDelegate> app_list_view_delegate_; | 
| 67       app_list_shower_delegate_factory_; |  | 
| 68   std::unique_ptr<app_list::AppListShowerImpl> app_list_shower_; |  | 
| 69 | 62 | 
| 70   DISALLOW_COPY_AND_ASSIGN(ShellDelegateImpl); | 63   DISALLOW_COPY_AND_ASSIGN(ShellDelegateImpl); | 
| 71 }; | 64 }; | 
| 72 | 65 | 
| 73 }  // namespace shell | 66 }  // namespace shell | 
| 74 }  // namespace ash | 67 }  // namespace ash | 
| 75 | 68 | 
| 76 #endif  // ASH_SHELL_SHELL_DELEGATE_IMPL_H_ | 69 #endif  // ASH_SHELL_SHELL_DELEGATE_IMPL_H_ | 
| OLD | NEW | 
|---|