Chromium Code Reviews| 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 30 matching lines...) Expand all Loading... | |
| 41 class WebAudioSourceProvider; | 41 class WebAudioSourceProvider; |
| 42 class WebAudioSourceProviderClient; | 42 class WebAudioSourceProviderClient; |
| 43 class WebContentDecryptionModule; | 43 class WebContentDecryptionModule; |
| 44 class WebMediaPlayerClient; | 44 class WebMediaPlayerClient; |
| 45 class WebString; | 45 class WebString; |
| 46 class WebURL; | 46 class WebURL; |
| 47 struct WebRect; | 47 struct WebRect; |
| 48 struct WebSize; | 48 struct WebSize; |
| 49 class WebGraphicsContext3D; | 49 class WebGraphicsContext3D; |
| 50 | 50 |
| 51 typedef unsigned WebTrackId; | |
|
acolwell GONE FROM CHROMIUM
2014/05/16 19:47:56
nit: I'm a little nervous about putting this in th
| |
| 52 | |
| 51 class WebMediaPlayer { | 53 class WebMediaPlayer { |
| 52 public: | 54 public: |
| 53 enum NetworkState { | 55 enum NetworkState { |
| 54 NetworkStateEmpty, | 56 NetworkStateEmpty, |
| 55 NetworkStateIdle, | 57 NetworkStateIdle, |
| 56 NetworkStateLoading, | 58 NetworkStateLoading, |
| 57 NetworkStateLoaded, | 59 NetworkStateLoaded, |
| 58 NetworkStateFormatError, | 60 NetworkStateFormatError, |
| 59 NetworkStateNetworkError, | 61 NetworkStateNetworkError, |
| 60 NetworkStateDecodeError, | 62 NetworkStateDecodeError, |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 155 virtual void setContentDecryptionModule(WebContentDecryptionModule* cdm) { } | 157 virtual void setContentDecryptionModule(WebContentDecryptionModule* cdm) { } |
| 156 | 158 |
| 157 // Sets the poster image URL. | 159 // Sets the poster image URL. |
| 158 virtual void setPoster(const WebURL& poster) { } | 160 virtual void setPoster(const WebURL& poster) { } |
| 159 | 161 |
| 160 // Instruct WebMediaPlayer to enter/exit fullscreen. | 162 // Instruct WebMediaPlayer to enter/exit fullscreen. |
| 161 virtual void enterFullscreen() { } | 163 virtual void enterFullscreen() { } |
| 162 virtual void exitFullscreen() { } | 164 virtual void exitFullscreen() { } |
| 163 // Returns true if the player can enter fullscreen. | 165 // Returns true if the player can enter fullscreen. |
| 164 virtual bool canEnterFullscreen() const { return false; } | 166 virtual bool canEnterFullscreen() const { return false; } |
| 167 | |
| 168 virtual void enabledAudioTracksChanged(const WebVector<WebTrackId>& enabledT rackIds) { } | |
| 169 virtual void selectedVideoTrackChanged(WebTrackId* selectedTrackId) { } | |
|
acolwell GONE FROM CHROMIUM
2014/05/16 19:47:56
docs.
landell
2014/05/19 13:50:28
Yes, I am especially interested to know why this i
philipj_slow
2014/05/19 14:06:45
I had to find a way to say that no video track at
| |
| 165 }; | 170 }; |
| 166 | 171 |
| 167 } // namespace blink | 172 } // namespace blink |
| 168 | 173 |
| 169 #endif | 174 #endif |
| OLD | NEW |