OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All rights
reserved. | 2 * Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All rights
reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 17 matching lines...) Expand all Loading... |
28 | 28 |
29 #include "public/platform/WebMediaPlayer.h" | 29 #include "public/platform/WebMediaPlayer.h" |
30 #include "wtf/Forward.h" | 30 #include "wtf/Forward.h" |
31 #include "wtf/Noncopyable.h" | 31 #include "wtf/Noncopyable.h" |
32 | 32 |
33 namespace blink { | 33 namespace blink { |
34 | 34 |
35 class AudioSourceProvider; | 35 class AudioSourceProvider; |
36 class KURL; | 36 class KURL; |
37 class MediaPlayer; | 37 class MediaPlayer; |
38 class TimeRanges; | |
39 class WebContentDecryptionModule; | |
40 class WebInbandTextTrack; | 38 class WebInbandTextTrack; |
41 class WebLayer; | 39 class WebLayer; |
42 class WebMediaSource; | 40 class WebMediaSource; |
43 | 41 |
44 class MediaPlayerClient { | 42 class MediaPlayerClient { |
45 public: | 43 public: |
46 virtual ~MediaPlayerClient() { } | 44 virtual ~MediaPlayerClient() { } |
47 | 45 |
48 // the network state has changed | 46 // the network state has changed |
49 virtual void mediaPlayerNetworkStateChanged() = 0; | 47 virtual void mediaPlayerNetworkStateChanged() = 0; |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 | 101 |
104 #if ENABLE(WEB_AUDIO) | 102 #if ENABLE(WEB_AUDIO) |
105 virtual AudioSourceProvider* audioSourceProvider() = 0; | 103 virtual AudioSourceProvider* audioSourceProvider() = 0; |
106 #endif | 104 #endif |
107 virtual WebMediaPlayer* webMediaPlayer() const = 0; | 105 virtual WebMediaPlayer* webMediaPlayer() const = 0; |
108 }; | 106 }; |
109 | 107 |
110 } // namespace blink | 108 } // namespace blink |
111 | 109 |
112 #endif // MediaPlayer_h | 110 #endif // MediaPlayer_h |
OLD | NEW |