Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(66)

Side by Side Diff: public/platform/WebMediaPlayer.h

Issue 62543003: Added InvalidAccessError exception (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased to master Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Source/platform/graphics/media/MediaPlayer.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « Source/platform/graphics/media/MediaPlayer.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698