| 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 <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "ash/shell_delegate.h" | 10 #include "ash/shell_delegate.h" |
| (...skipping 27 matching lines...) Expand all Loading... |
| 38 virtual bool IsIncognitoAllowed() const OVERRIDE; | 38 virtual bool IsIncognitoAllowed() const OVERRIDE; |
| 39 virtual bool IsMultiProfilesEnabled() const OVERRIDE; | 39 virtual bool IsMultiProfilesEnabled() const OVERRIDE; |
| 40 virtual bool IsRunningInForcedAppMode() const OVERRIDE; | 40 virtual bool IsRunningInForcedAppMode() const OVERRIDE; |
| 41 virtual void PreInit() OVERRIDE; | 41 virtual void PreInit() OVERRIDE; |
| 42 virtual void Shutdown() OVERRIDE; | 42 virtual void Shutdown() OVERRIDE; |
| 43 virtual void Exit() OVERRIDE; | 43 virtual void Exit() OVERRIDE; |
| 44 virtual keyboard::KeyboardControllerProxy* | 44 virtual keyboard::KeyboardControllerProxy* |
| 45 CreateKeyboardControllerProxy() OVERRIDE; | 45 CreateKeyboardControllerProxy() OVERRIDE; |
| 46 virtual content::BrowserContext* GetCurrentBrowserContext() OVERRIDE; | 46 virtual content::BrowserContext* GetCurrentBrowserContext() OVERRIDE; |
| 47 virtual app_list::AppListViewDelegate* CreateAppListViewDelegate() OVERRIDE; | 47 virtual app_list::AppListViewDelegate* CreateAppListViewDelegate() OVERRIDE; |
| 48 virtual ash::LauncherDelegate* CreateLauncherDelegate( | 48 virtual LauncherDelegate* CreateLauncherDelegate(ShelfModel* model) OVERRIDE; |
| 49 ash::LauncherModel* model) OVERRIDE; | |
| 50 virtual ash::SystemTrayDelegate* CreateSystemTrayDelegate() OVERRIDE; | 49 virtual ash::SystemTrayDelegate* CreateSystemTrayDelegate() OVERRIDE; |
| 51 virtual ash::UserWallpaperDelegate* CreateUserWallpaperDelegate() OVERRIDE; | 50 virtual ash::UserWallpaperDelegate* CreateUserWallpaperDelegate() OVERRIDE; |
| 52 virtual ash::CapsLockDelegate* CreateCapsLockDelegate() OVERRIDE; | 51 virtual ash::CapsLockDelegate* CreateCapsLockDelegate() OVERRIDE; |
| 53 virtual ash::SessionStateDelegate* CreateSessionStateDelegate() OVERRIDE; | 52 virtual ash::SessionStateDelegate* CreateSessionStateDelegate() OVERRIDE; |
| 54 virtual ash::AccessibilityDelegate* CreateAccessibilityDelegate() OVERRIDE; | 53 virtual ash::AccessibilityDelegate* CreateAccessibilityDelegate() OVERRIDE; |
| 55 virtual ash::NewWindowDelegate* CreateNewWindowDelegate() OVERRIDE; | 54 virtual ash::NewWindowDelegate* CreateNewWindowDelegate() OVERRIDE; |
| 56 virtual ash::MediaDelegate* CreateMediaDelegate() OVERRIDE; | 55 virtual ash::MediaDelegate* CreateMediaDelegate() OVERRIDE; |
| 57 virtual aura::client::UserActionClient* CreateUserActionClient() OVERRIDE; | 56 virtual aura::client::UserActionClient* CreateUserActionClient() OVERRIDE; |
| 58 virtual void RecordUserMetricsAction(UserMetricsAction action) OVERRIDE; | 57 virtual void RecordUserMetricsAction(UserMetricsAction action) OVERRIDE; |
| 59 virtual ui::MenuModel* CreateContextMenu( | 58 virtual ui::MenuModel* CreateContextMenu( |
| 60 aura::Window* root_window) OVERRIDE; | 59 aura::Window* root_window) OVERRIDE; |
| 61 virtual RootWindowHostFactory* CreateRootWindowHostFactory() OVERRIDE; | 60 virtual RootWindowHostFactory* CreateRootWindowHostFactory() OVERRIDE; |
| 62 virtual base::string16 GetProductName() const OVERRIDE; | 61 virtual base::string16 GetProductName() const OVERRIDE; |
| 63 | 62 |
| 64 private: | 63 private: |
| 65 // Used to update Launcher. Owned by main. | 64 // Used to update Launcher. Owned by main. |
| 66 WindowWatcher* watcher_; | 65 WindowWatcher* watcher_; |
| 67 | 66 |
| 68 LauncherDelegateImpl* launcher_delegate_; | 67 LauncherDelegateImpl* launcher_delegate_; |
| 69 content::BrowserContext* browser_context_; | 68 content::BrowserContext* browser_context_; |
| 70 | 69 |
| 71 DISALLOW_COPY_AND_ASSIGN(ShellDelegateImpl); | 70 DISALLOW_COPY_AND_ASSIGN(ShellDelegateImpl); |
| 72 }; | 71 }; |
| 73 | 72 |
| 74 } // namespace shell | 73 } // namespace shell |
| 75 } // namespace ash | 74 } // namespace ash |
| 76 | 75 |
| 77 #endif // ASH_SHELL_SHELL_DELEGATE_IMPL_H_ | 76 #endif // ASH_SHELL_SHELL_DELEGATE_IMPL_H_ |
| OLD | NEW |