| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google 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 are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 AudioTrackKindAlternative, | 57 AudioTrackKindAlternative, |
| 58 AudioTrackKindDescriptions, | 58 AudioTrackKindDescriptions, |
| 59 AudioTrackKindMain, | 59 AudioTrackKindMain, |
| 60 AudioTrackKindMainDescriptions, | 60 AudioTrackKindMainDescriptions, |
| 61 AudioTrackKindTranslation, | 61 AudioTrackKindTranslation, |
| 62 AudioTrackKindCommentary | 62 AudioTrackKindCommentary |
| 63 }; | 63 }; |
| 64 | 64 |
| 65 virtual void networkStateChanged() = 0; | 65 virtual void networkStateChanged() = 0; |
| 66 virtual void readyStateChanged() = 0; | 66 virtual void readyStateChanged() = 0; |
| 67 virtual void timeChanged() = 0; | 67 virtual void timeChanged(bool) = 0; |
| 68 virtual void repaint() = 0; | 68 virtual void repaint() = 0; |
| 69 virtual void durationChanged() = 0; | 69 virtual void durationChanged() = 0; |
| 70 virtual void sizeChanged() = 0; | 70 virtual void sizeChanged() = 0; |
| 71 virtual void playbackStateChanged() = 0; | 71 virtual void playbackStateChanged() = 0; |
| 72 virtual void setWebLayer(WebLayer*) = 0; | 72 virtual void setWebLayer(WebLayer*) = 0; |
| 73 virtual WebMediaPlayer::TrackId addAudioTrack(const WebString& id, | 73 virtual WebMediaPlayer::TrackId addAudioTrack(const WebString& id, |
| 74 AudioTrackKind, | 74 AudioTrackKind, |
| 75 const WebString& label, | 75 const WebString& label, |
| 76 const WebString& language, | 76 const WebString& language, |
| 77 bool enabled) = 0; | 77 bool enabled) = 0; |
| (...skipping 16 matching lines...) Expand all Loading... |
| 94 // Warning: This method will destruct the caller. | 94 // Warning: This method will destruct the caller. |
| 95 virtual void requestReload(const WebURL& newUrl) = 0; | 95 virtual void requestReload(const WebURL& newUrl) = 0; |
| 96 | 96 |
| 97 protected: | 97 protected: |
| 98 ~WebMediaPlayerClient() {} | 98 ~WebMediaPlayerClient() {} |
| 99 }; | 99 }; |
| 100 | 100 |
| 101 } // namespace blink | 101 } // namespace blink |
| 102 | 102 |
| 103 #endif | 103 #endif |
| OLD | NEW |