Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(75)

Side by Side Diff: ash/media_delegate.h

Issue 48523010: [Refactor] Introduce MediaDelegate (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ash/accelerators/accelerator_controller.cc ('k') | ash/shell.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef ASH_MEDIA_DELEGATE_H_
6 #define ASH_MEDIA_DELEGATE_H_
7
8 namespace ash {
9
10 // A delegate class to control media playback.
11 class MediaDelegate {
12 public:
13 MediaDelegate() {}
14 virtual ~MediaDelegate() {}
stevenjb 2013/10/31 20:40:03 Protect destructor or use DISALLOW... nit: constru
oshima 2013/11/01 00:30:25 owned by shell, so can't be protected, and i belie
15
16 // Handles the Next Track Media shortcut key.
17 virtual void HandleMediaNextTrack() = 0;
18
19 // Handles the Play/Pause Toggle Media shortcut key.
20 virtual void HandleMediaPlayPause() = 0;
21
22 // Handles the Previous Track Media shortcut key.
23 virtual void HandleMediaPrevTrack() = 0;
24 };
25
26 } // namespace ash
27
28 #endif // ASH_MEDIA_DELEGATE_H_
OLDNEW
« no previous file with comments | « ash/accelerators/accelerator_controller.cc ('k') | ash/shell.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698