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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 virtual void setWebLayer(WebLayer*) = 0; | 90 virtual void setWebLayer(WebLayer*) = 0; |
91 virtual WebMediaPlayer::TrackId addAudioTrack(const WebString& id, AudioTrac
kKind, const WebString& label, const WebString& language, bool enabled) = 0; | 91 virtual WebMediaPlayer::TrackId addAudioTrack(const WebString& id, AudioTrac
kKind, const WebString& label, const WebString& language, bool enabled) = 0; |
92 virtual void removeAudioTrack(WebMediaPlayer::TrackId) = 0; | 92 virtual void removeAudioTrack(WebMediaPlayer::TrackId) = 0; |
93 virtual WebMediaPlayer::TrackId addVideoTrack(const WebString& id, VideoTrac
kKind, const WebString& label, const WebString& language, bool selected) = 0; | 93 virtual WebMediaPlayer::TrackId addVideoTrack(const WebString& id, VideoTrac
kKind, const WebString& label, const WebString& language, bool selected) = 0; |
94 virtual void removeVideoTrack(WebMediaPlayer::TrackId) = 0; | 94 virtual void removeVideoTrack(WebMediaPlayer::TrackId) = 0; |
95 virtual void addTextTrack(WebInbandTextTrack*) = 0; | 95 virtual void addTextTrack(WebInbandTextTrack*) = 0; |
96 virtual void removeTextTrack(WebInbandTextTrack*) = 0; | 96 virtual void removeTextTrack(WebInbandTextTrack*) = 0; |
97 virtual void mediaSourceOpened(WebMediaSource*) = 0; | 97 virtual void mediaSourceOpened(WebMediaSource*) = 0; |
98 virtual void requestFullscreen() = 0; | 98 virtual void requestFullscreen() = 0; |
99 virtual void requestSeek(double) = 0; | 99 virtual void requestSeek(double) = 0; |
| 100 virtual void remoteRouteAvailabilityChanged(bool) = 0; |
| 101 virtual void connectedToRemoteDevice() = 0; |
| 102 virtual void disconnectedFromRemoteDevice() = 0; |
100 | 103 |
101 protected: | 104 protected: |
102 ~WebMediaPlayerClient() { } | 105 ~WebMediaPlayerClient() { } |
103 }; | 106 }; |
104 | 107 |
105 } // namespace blink | 108 } // namespace blink |
106 | 109 |
107 #endif | 110 #endif |
OLD | NEW |