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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 | 52 |
53 // time has jumped, eg. not as a result of normal playback | 53 // time has jumped, eg. not as a result of normal playback |
54 virtual void mediaPlayerTimeChanged() = 0; | 54 virtual void mediaPlayerTimeChanged() = 0; |
55 | 55 |
56 // the media file duration has changed, or is now known | 56 // the media file duration has changed, or is now known |
57 virtual void mediaPlayerDurationChanged() = 0; | 57 virtual void mediaPlayerDurationChanged() = 0; |
58 | 58 |
59 // the play/pause status changed | 59 // the play/pause status changed |
60 virtual void mediaPlayerPlaybackStateChanged() = 0; | 60 virtual void mediaPlayerPlaybackStateChanged() = 0; |
61 | 61 |
62 virtual void mediaPlayerRequestFullscreen() = 0; | |
63 | |
64 virtual void mediaPlayerRequestSeek(double) = 0; | 62 virtual void mediaPlayerRequestSeek(double) = 0; |
65 | 63 |
66 // The URL for video poster image. | 64 // The URL for video poster image. |
67 // FIXME: Remove this when WebMediaPlayerClientImpl::loadInternal does not d
epend on it. | 65 // FIXME: Remove this when WebMediaPlayerClientImpl::loadInternal does not d
epend on it. |
68 virtual KURL mediaPlayerPosterURL() = 0; | 66 virtual KURL mediaPlayerPosterURL() = 0; |
69 | 67 |
70 // Presentation-related methods | 68 // Presentation-related methods |
71 // a new frame of video is available | 69 // a new frame of video is available |
72 virtual void mediaPlayerRepaint() = 0; | 70 virtual void mediaPlayerRepaint() = 0; |
73 | 71 |
(...skipping 26 matching lines...) Expand all Loading... |
100 | 98 |
101 #if ENABLE(WEB_AUDIO) | 99 #if ENABLE(WEB_AUDIO) |
102 virtual AudioSourceProvider* audioSourceProvider() = 0; | 100 virtual AudioSourceProvider* audioSourceProvider() = 0; |
103 #endif | 101 #endif |
104 virtual WebMediaPlayer* webMediaPlayer() const = 0; | 102 virtual WebMediaPlayer* webMediaPlayer() const = 0; |
105 }; | 103 }; |
106 | 104 |
107 } // namespace blink | 105 } // namespace blink |
108 | 106 |
109 #endif // MediaPlayer_h | 107 #endif // MediaPlayer_h |
OLD | NEW |