| 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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 | 109 |
| 110 // Warning: This method will destruct the caller. | 110 // Warning: This method will destruct the caller. |
| 111 virtual void requestReload(const WebURL& newUrl) = 0; | 111 virtual void requestReload(const WebURL& newUrl) = 0; |
| 112 | 112 |
| 113 // Returns if there's a selected video track. | 113 // Returns if there's a selected video track. |
| 114 virtual bool hasSelectedVideoTrack() = 0; | 114 virtual bool hasSelectedVideoTrack() = 0; |
| 115 | 115 |
| 116 // Returns the selected video track id (or an empty id if there's none). | 116 // Returns the selected video track id (or an empty id if there's none). |
| 117 virtual WebMediaPlayer::TrackId getSelectedVideoTrackId() = 0; | 117 virtual WebMediaPlayer::TrackId getSelectedVideoTrackId() = 0; |
| 118 | 118 |
| 119 // Informs that media starts/stops being rendered and played back remotely. |
| 120 virtual void mediaRemotingStarted() {} |
| 121 virtual void mediaRemotingStopped() {} |
| 122 |
| 119 protected: | 123 protected: |
| 120 ~WebMediaPlayerClient() {} | 124 ~WebMediaPlayerClient() {} |
| 121 }; | 125 }; |
| 122 | 126 |
| 123 } // namespace blink | 127 } // namespace blink |
| 124 | 128 |
| 125 #endif | 129 #endif |
| OLD | NEW |