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_DELEGATE_H_ | 5 #ifndef ASH_SHELL_DELEGATE_H_ |
6 #define ASH_SHELL_DELEGATE_H_ | 6 #define ASH_SHELL_DELEGATE_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "ash/ash_export.h" | 10 #include "ash/ash_export.h" |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 virtual UserWallpaperDelegate* CreateUserWallpaperDelegate() = 0; | 130 virtual UserWallpaperDelegate* CreateUserWallpaperDelegate() = 0; |
131 | 131 |
132 // Creates a user action client. Shell takes ownership of the object. | 132 // Creates a user action client. Shell takes ownership of the object. |
133 virtual aura::client::UserActionClient* CreateUserActionClient() = 0; | 133 virtual aura::client::UserActionClient* CreateUserActionClient() = 0; |
134 | 134 |
135 // Opens the feedback page for "Report Issue". | 135 // Opens the feedback page for "Report Issue". |
136 virtual void OpenFeedbackPage() = 0; | 136 virtual void OpenFeedbackPage() = 0; |
137 | 137 |
138 // Records that the user performed an action. | 138 // Records that the user performed an action. |
139 virtual void RecordUserMetricsAction(UserMetricsAction action) = 0; | 139 virtual void RecordUserMetricsAction(UserMetricsAction action) = 0; |
| 140 |
| 141 // Handles the Next Track Media shortcut key. |
| 142 virtual void HandleMediaNextTrack() = 0; |
| 143 |
| 144 // Handles the Play/Pause Toggle Media shortcut key. |
| 145 virtual void HandleMediaPlayPause() = 0; |
| 146 |
| 147 // Handles the Previous Track Media shortcut key. |
| 148 virtual void HandleMediaPrevTrack() = 0; |
140 }; | 149 }; |
141 | 150 |
142 } // namespace ash | 151 } // namespace ash |
143 | 152 |
144 #endif // ASH_SHELL_DELEGATE_H_ | 153 #endif // ASH_SHELL_DELEGATE_H_ |
OLD | NEW |