| 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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 virtual WebMediaPlayer::TrackId addVideoTrack(const WebString& id, | 79 virtual WebMediaPlayer::TrackId addVideoTrack(const WebString& id, |
| 80 VideoTrackKind, | 80 VideoTrackKind, |
| 81 const WebString& label, | 81 const WebString& label, |
| 82 const WebString& language, | 82 const WebString& language, |
| 83 bool selected) = 0; | 83 bool selected) = 0; |
| 84 virtual void removeVideoTrack(WebMediaPlayer::TrackId) = 0; | 84 virtual void removeVideoTrack(WebMediaPlayer::TrackId) = 0; |
| 85 virtual void addTextTrack(WebInbandTextTrack*) = 0; | 85 virtual void addTextTrack(WebInbandTextTrack*) = 0; |
| 86 virtual void removeTextTrack(WebInbandTextTrack*) = 0; | 86 virtual void removeTextTrack(WebInbandTextTrack*) = 0; |
| 87 virtual void mediaSourceOpened(WebMediaSource*) = 0; | 87 virtual void mediaSourceOpened(WebMediaSource*) = 0; |
| 88 virtual void requestSeek(double) = 0; | 88 virtual void requestSeek(double) = 0; |
| 89 virtual void remoteRouteAvailabilityChanged(bool) = 0; | 89 virtual void remoteRouteAvailabilityChanged(bool isRouteAvailable, |
| 90 bool isSourceCompatible) = 0; |
| 90 virtual void connectedToRemoteDevice() = 0; | 91 virtual void connectedToRemoteDevice() = 0; |
| 91 virtual void disconnectedFromRemoteDevice() = 0; | 92 virtual void disconnectedFromRemoteDevice() = 0; |
| 92 virtual void cancelledRemotePlaybackRequest() = 0; | 93 virtual void cancelledRemotePlaybackRequest() = 0; |
| 93 virtual void remotePlaybackStarted() = 0; | 94 virtual void remotePlaybackStarted() = 0; |
| 94 | 95 |
| 95 // Returns whether the media element is in an autoplay muted state. | 96 // Returns whether the media element is in an autoplay muted state. |
| 96 virtual bool isAutoplayingMuted() = 0; | 97 virtual bool isAutoplayingMuted() = 0; |
| 97 | 98 |
| 98 // Warning: This method will destruct the caller. | 99 // Warning: This method will destruct the caller. |
| 99 virtual void requestReload(const WebURL& newUrl) = 0; | 100 virtual void requestReload(const WebURL& newUrl) = 0; |
| 100 | 101 |
| 101 protected: | 102 protected: |
| 102 ~WebMediaPlayerClient() {} | 103 ~WebMediaPlayerClient() {} |
| 103 }; | 104 }; |
| 104 | 105 |
| 105 } // namespace blink | 106 } // namespace blink |
| 106 | 107 |
| 107 #endif | 108 #endif |
| OLD | NEW |