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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
94 virtual void disconnectedFromRemoteDevice() = 0; | 94 virtual void disconnectedFromRemoteDevice() = 0; |
95 virtual void cancelledRemotePlaybackRequest() = 0; | 95 virtual void cancelledRemotePlaybackRequest() = 0; |
96 virtual void remotePlaybackStarted() = 0; | 96 virtual void remotePlaybackStarted() = 0; |
97 | 97 |
98 // Returns whether the media element is in an autoplay muted state. | 98 // Returns whether the media element is in an autoplay muted state. |
99 virtual bool isAutoplayingMuted() = 0; | 99 virtual bool isAutoplayingMuted() = 0; |
100 | 100 |
101 // Warning: This method will destruct the caller. | 101 // Warning: This method will destruct the caller. |
102 virtual void requestReload(const WebURL& newUrl) = 0; | 102 virtual void requestReload(const WebURL& newUrl) = 0; |
103 | 103 |
104 // Returns if there's a selected video track. | |
105 virtual bool hasSelectedVideoTrack() = 0; | |
106 // Returns the selected video track id (or an empty id if there's none). | |
pfeldman
2016/11/22 19:55:56
nit:blank line above.
whywhat
2016/11/23 02:23:38
Thanks! Done.
| |
107 virtual WebMediaPlayer::TrackId getSelectedVideoTrackId() = 0; | |
108 | |
104 protected: | 109 protected: |
105 ~WebMediaPlayerClient() {} | 110 ~WebMediaPlayerClient() {} |
106 }; | 111 }; |
107 | 112 |
108 } // namespace blink | 113 } // namespace blink |
109 | 114 |
110 #endif | 115 #endif |
OLD | NEW |