| 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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 PreloadMetaData, | 72 PreloadMetaData, |
| 73 PreloadAuto, | 73 PreloadAuto, |
| 74 }; | 74 }; |
| 75 | 75 |
| 76 // Represents synchronous exceptions that can be thrown from the Encrypted | 76 // Represents synchronous exceptions that can be thrown from the Encrypted |
| 77 // Media methods. This is different from the asynchronous MediaKeyError. | 77 // Media methods. This is different from the asynchronous MediaKeyError. |
| 78 enum MediaKeyException { | 78 enum MediaKeyException { |
| 79 MediaKeyExceptionNoError, | 79 MediaKeyExceptionNoError, |
| 80 MediaKeyExceptionInvalidPlayerState, | 80 MediaKeyExceptionInvalidPlayerState, |
| 81 MediaKeyExceptionKeySystemNotSupported, | 81 MediaKeyExceptionKeySystemNotSupported, |
| 82 MediaKeyExceptionInvalidAccess, |
| 82 }; | 83 }; |
| 83 | 84 |
| 84 enum CORSMode { | 85 enum CORSMode { |
| 85 CORSModeUnspecified, | 86 CORSModeUnspecified, |
| 86 CORSModeAnonymous, | 87 CORSModeAnonymous, |
| 87 CORSModeUseCredentials, | 88 CORSModeUseCredentials, |
| 88 }; | 89 }; |
| 89 | 90 |
| 90 enum LoadType { | 91 enum LoadType { |
| 91 LoadTypeURL, | 92 LoadTypeURL, |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 155 // Instruct WebMediaPlayer to enter/exit fullscreen. | 156 // Instruct WebMediaPlayer to enter/exit fullscreen. |
| 156 virtual void enterFullscreen() { } | 157 virtual void enterFullscreen() { } |
| 157 virtual void exitFullscreen() { } | 158 virtual void exitFullscreen() { } |
| 158 // Returns true if the player can enter fullscreen. | 159 // Returns true if the player can enter fullscreen. |
| 159 virtual bool canEnterFullscreen() const { return false; } | 160 virtual bool canEnterFullscreen() const { return false; } |
| 160 }; | 161 }; |
| 161 | 162 |
| 162 } // namespace blink | 163 } // namespace blink |
| 163 | 164 |
| 164 #endif | 165 #endif |
| OLD | NEW |