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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 aura::client::UserActionClient* CreateUserActionClient() OVERRIDE; | 49 virtual aura::client::UserActionClient* CreateUserActionClient() OVERRIDE; |
50 virtual void OpenFeedbackPage() OVERRIDE; | 50 virtual void OpenFeedbackPage() OVERRIDE; |
51 virtual void RecordUserMetricsAction(UserMetricsAction action) OVERRIDE; | 51 virtual void RecordUserMetricsAction(UserMetricsAction action) OVERRIDE; |
| 52 virtual void HandleMediaNextTrack() OVERRIDE; |
| 53 virtual void HandleMediaPlayPause() OVERRIDE; |
| 54 virtual void HandleMediaPrevTrack() OVERRIDE; |
52 | 55 |
53 private: | 56 private: |
54 // Used to update Launcher. Owned by main. | 57 // Used to update Launcher. Owned by main. |
55 WindowWatcher* watcher_; | 58 WindowWatcher* watcher_; |
56 | 59 |
57 LauncherDelegateImpl* launcher_delegate_; | 60 LauncherDelegateImpl* launcher_delegate_; |
58 | 61 |
59 bool locked_; | 62 bool locked_; |
60 bool spoken_feedback_enabled_; | 63 bool spoken_feedback_enabled_; |
61 | 64 |
62 DISALLOW_COPY_AND_ASSIGN(ShellDelegateImpl); | 65 DISALLOW_COPY_AND_ASSIGN(ShellDelegateImpl); |
63 }; | 66 }; |
64 | 67 |
65 } // namespace shell | 68 } // namespace shell |
66 } // namespace ash | 69 } // namespace ash |
67 | 70 |
68 #endif // ASH_SHELL_SHELL_DELEGATE_IMPL_H_ | 71 #endif // ASH_SHELL_SHELL_DELEGATE_IMPL_H_ |
OLD | NEW |