Index: ash/shell_delegate.h |
diff --git a/ash/shell_delegate.h b/ash/shell_delegate.h |
index 6cd0baa9160959f947e1ef02406487d9e3d0be7a..7aadcd755e9b127c8867b9ba7ec262602760001a 100644 |
--- a/ash/shell_delegate.h |
+++ b/ash/shell_delegate.h |
@@ -42,6 +42,7 @@ class CapsLockDelegate; |
class LauncherDelegate; |
class LauncherModel; |
struct LauncherItem; |
+class MediaDelegate; |
class NewWindowDelegate; |
class RootWindowHostFactory; |
class AccessibilityDelegate; |
@@ -166,21 +167,15 @@ class ASH_EXPORT ShellDelegate { |
// Creates an application delegate. Shell takes ownership of the delegate. |
virtual NewWindowDelegate* CreateNewWindowDelegate() = 0; |
+ // Creates a media delegate. Shell takes ownership of the delegate. |
+ virtual MediaDelegate* CreateMediaDelegate() = 0; |
+ |
// Creates a user action client. Shell takes ownership of the object. |
virtual aura::client::UserActionClient* CreateUserActionClient() = 0; |
// Records that the user performed an action. |
virtual void RecordUserMetricsAction(UserMetricsAction action) = 0; |
- // Handles the Next Track Media shortcut key. |
- virtual void HandleMediaNextTrack() = 0; |
- |
- // Handles the Play/Pause Toggle Media shortcut key. |
- virtual void HandleMediaPlayPause() = 0; |
- |
- // Handles the Previous Track Media shortcut key. |
- virtual void HandleMediaPrevTrack() = 0; |
- |
// Creates a menu model of the context for the |root_window|. |
virtual ui::MenuModel* CreateContextMenu(aura::Window* root_window) = 0; |