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 "ash/shell_delegate.h" | 8 #include "ash/shell_delegate.h" |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 | 10 |
(...skipping 28 matching lines...) Expand all Loading... |
39 virtual void ShowTaskManager() OVERRIDE; | 39 virtual void ShowTaskManager() OVERRIDE; |
40 virtual content::BrowserContext* GetCurrentBrowserContext() OVERRIDE; | 40 virtual content::BrowserContext* GetCurrentBrowserContext() OVERRIDE; |
41 virtual void ToggleSpokenFeedback() OVERRIDE; | 41 virtual void ToggleSpokenFeedback() OVERRIDE; |
42 virtual bool IsSpokenFeedbackEnabled() const OVERRIDE; | 42 virtual bool IsSpokenFeedbackEnabled() const OVERRIDE; |
43 virtual app_list::AppListViewDelegate* CreateAppListViewDelegate() OVERRIDE; | 43 virtual app_list::AppListViewDelegate* CreateAppListViewDelegate() OVERRIDE; |
44 virtual ash::LauncherDelegate* CreateLauncherDelegate( | 44 virtual ash::LauncherDelegate* CreateLauncherDelegate( |
45 ash::LauncherModel* model) OVERRIDE; | 45 ash::LauncherModel* model) OVERRIDE; |
46 virtual ash::SystemTrayDelegate* CreateSystemTrayDelegate( | 46 virtual ash::SystemTrayDelegate* CreateSystemTrayDelegate( |
47 ash::SystemTray* tray) OVERRIDE; | 47 ash::SystemTray* tray) OVERRIDE; |
48 virtual ash::UserWallpaperDelegate* CreateUserWallpaperDelegate() OVERRIDE; | 48 virtual ash::UserWallpaperDelegate* CreateUserWallpaperDelegate() OVERRIDE; |
| 49 virtual ash::CapsLockDelegate* CreateCapsLockDelegate() OVERRIDE; |
49 virtual aura::client::UserActionClient* CreateUserActionClient() OVERRIDE; | 50 virtual aura::client::UserActionClient* CreateUserActionClient() OVERRIDE; |
50 virtual void OpenFeedbackPage() OVERRIDE; | 51 virtual void OpenFeedbackPage() OVERRIDE; |
51 virtual void RecordUserMetricsAction(UserMetricsAction action) OVERRIDE; | 52 virtual void RecordUserMetricsAction(UserMetricsAction action) OVERRIDE; |
52 | 53 |
53 private: | 54 private: |
54 // Used to update Launcher. Owned by main. | 55 // Used to update Launcher. Owned by main. |
55 WindowWatcher* watcher_; | 56 WindowWatcher* watcher_; |
56 | 57 |
57 LauncherDelegateImpl* launcher_delegate_; | 58 LauncherDelegateImpl* launcher_delegate_; |
58 | 59 |
59 bool locked_; | 60 bool locked_; |
60 bool spoken_feedback_enabled_; | 61 bool spoken_feedback_enabled_; |
61 | 62 |
62 DISALLOW_COPY_AND_ASSIGN(ShellDelegateImpl); | 63 DISALLOW_COPY_AND_ASSIGN(ShellDelegateImpl); |
63 }; | 64 }; |
64 | 65 |
65 } // namespace shell | 66 } // namespace shell |
66 } // namespace ash | 67 } // namespace ash |
67 | 68 |
68 #endif // ASH_SHELL_SHELL_DELEGATE_IMPL_H_ | 69 #endif // ASH_SHELL_SHELL_DELEGATE_IMPL_H_ |
OLD | NEW |