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

Side by Side Diff: webkit/media/webmediaplayer_delegate.h

Issue 8570010: Moving media-related files from webkit/glue/ to webkit/media/. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src
Patch Set: minor fixes Created 9 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 | « webkit/media/webkit_media.gypi ('k') | webkit/media/webmediaplayer_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 WEBKIT_GLUE_WEBMEDIAPLAYER_DELEGATE_H_ 5 #ifndef WEBKIT_MEDIA_WEBMEDIAPLAYER_DELEGATE_H_
6 #define WEBKIT_GLUE_WEBMEDIAPLAYER_DELEGATE_H_ 6 #define WEBKIT_MEDIA_WEBMEDIAPLAYER_DELEGATE_H_
7 7
8 namespace webkit_glue { 8 namespace webkit_media {
9 9
10 class WebMediaPlayerImpl; 10 class WebMediaPlayerImpl;
11 11
12 // An interface to allow a WebMediaPlayerImpl to communicate changes of state 12 // An interface to allow a WebMediaPlayerImpl to communicate changes of state
13 // to objects that need to know. 13 // to objects that need to know.
14 class WebMediaPlayerDelegate { 14 class WebMediaPlayerDelegate {
15 public: 15 public:
16 WebMediaPlayerDelegate() {} 16 WebMediaPlayerDelegate() {}
17 virtual ~WebMediaPlayerDelegate() {} 17 virtual ~WebMediaPlayerDelegate() {}
18 18
19 // The specified player started playing media. 19 // The specified player started playing media.
20 virtual void DidPlay(WebMediaPlayerImpl* player) {} 20 virtual void DidPlay(WebMediaPlayerImpl* player) {}
21 21
22 // The specified player stopped playing media. 22 // The specified player stopped playing media.
23 virtual void DidPause(WebMediaPlayerImpl* player) {} 23 virtual void DidPause(WebMediaPlayerImpl* player) {}
24 24
25 // The specified player was destroyed. Do not call any methods on it. 25 // The specified player was destroyed. Do not call any methods on it.
26 virtual void PlayerGone(WebMediaPlayerImpl* player) {} 26 virtual void PlayerGone(WebMediaPlayerImpl* player) {}
27 }; 27 };
28 28
29 } // namespace webkit_glue 29 } // namespace webkit_media
30 30
31 #endif // WEBKIT_GLUE_WEBMEDIAPLAYER_DELEGATE_H_ 31 #endif // WEBKIT_MEDIA_WEBMEDIAPLAYER_DELEGATE_H_
OLDNEW
« no previous file with comments | « webkit/media/webkit_media.gypi ('k') | webkit/media/webmediaplayer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698