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

Side by Side Diff: Source/WebCore/html/HTMLMediaElement.idl

Issue 9621004: Uncomment IDL fragments which we used to fail to parse. (Closed) Base URL: svn://svn.chromium.org/multivm/trunk/webkit
Patch Set: Created 8 years, 9 months 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/WebCore/html/HTMLTrackElement.idl » ('j') | 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) 2007, 2010, 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2007, 2010, 2011 Apple 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 readonly attribute [Conditional=MEDIA_STATISTICS] unsigned long webkitVideoD ecodedByteCount; 92 readonly attribute [Conditional=MEDIA_STATISTICS] unsigned long webkitVideoD ecodedByteCount;
93 93
94 #if defined(ENABLE_MEDIA_SOURCE) && ENABLE_MEDIA_SOURCE 94 #if defined(ENABLE_MEDIA_SOURCE) && ENABLE_MEDIA_SOURCE
95 // URL passed to src attribute to enable the media source logic. 95 // URL passed to src attribute to enable the media source logic.
96 readonly attribute [V8EnabledAtRuntime=webkitMediaSource, URL] DOMString web kitMediaSourceURL; 96 readonly attribute [V8EnabledAtRuntime=webkitMediaSource, URL] DOMString web kitMediaSourceURL;
97 97
98 // Appends media to to the source. 98 // Appends media to to the source.
99 [V8EnabledAtRuntime=webkitMediaSource] void webkitSourceAppend(in Uint8Array data) raises (DOMException); 99 [V8EnabledAtRuntime=webkitMediaSource] void webkitSourceAppend(in Uint8Array data) raises (DOMException);
100 100
101 // Signals the end of stream. 101 // Signals the end of stream.
102 // FIXME(antonm)
103 #if 0
104 [V8EnabledAtRuntime=webkitMediaSource] const unsigned short EOS_NO_ERROR = 0 ; // End of stream reached w/o error. 102 [V8EnabledAtRuntime=webkitMediaSource] const unsigned short EOS_NO_ERROR = 0 ; // End of stream reached w/o error.
sra1 2012/03/07 18:42:31 The WekBit source seems to use const [ExtAttrs] Wh
105 [V8EnabledAtRuntime=webkitMediaSource] const unsigned short EOS_NETWORK_ERR = 1; // A network error triggered end of stream. 103 [V8EnabledAtRuntime=webkitMediaSource] const unsigned short EOS_NETWORK_ERR = 1; // A network error triggered end of stream.
106 [V8EnabledAtRuntime=webkitMediaSource] const unsigned short EOS_DECODE_ERR = 2; // A decode error triggered end of stream. 104 [V8EnabledAtRuntime=webkitMediaSource] const unsigned short EOS_DECODE_ERR = 2; // A decode error triggered end of stream.
107 #endif
108 [V8EnabledAtRuntime=webkitMediaSource] void webkitSourceEndOfStream(in unsig ned short status) raises (DOMException); 105 [V8EnabledAtRuntime=webkitMediaSource] void webkitSourceEndOfStream(in unsig ned short status) raises (DOMException);
109 106
110 // Indicates the current state of the media source. 107 // Indicates the current state of the media source.
111 // FIXME(antonm)
112 #if 0
113 [V8EnabledAtRuntime=webkitMediaSource] const unsigned short SOURCE_CLOSED = 0; 108 [V8EnabledAtRuntime=webkitMediaSource] const unsigned short SOURCE_CLOSED = 0;
114 [V8EnabledAtRuntime=webkitMediaSource] const unsigned short SOURCE_OPEN = 1; 109 [V8EnabledAtRuntime=webkitMediaSource] const unsigned short SOURCE_OPEN = 1;
115 [V8EnabledAtRuntime=webkitMediaSource] const unsigned short SOURCE_ENDED = 2 ; 110 [V8EnabledAtRuntime=webkitMediaSource] const unsigned short SOURCE_ENDED = 2 ;
116 #endif
117 readonly attribute [V8EnabledAtRuntime=webkitMediaSource] unsigned short web kitSourceState; 111 readonly attribute [V8EnabledAtRuntime=webkitMediaSource] unsigned short web kitSourceState;
118 #endif 112 #endif
119 113
120 #if defined(ENABLE_VIDEO_TRACK) && ENABLE_VIDEO_TRACK 114 #if defined(ENABLE_VIDEO_TRACK) && ENABLE_VIDEO_TRACK
121 [V8EnabledAtRuntime=webkitVideoTrack] TextTrack addTextTrack(in DOMString ki nd, in [Optional] DOMString label, in [Optional] DOMString language) 115 [V8EnabledAtRuntime=webkitVideoTrack] TextTrack addTextTrack(in DOMString ki nd, in [Optional] DOMString label, in [Optional] DOMString language)
122 raises (DOMException); 116 raises (DOMException);
123 readonly attribute [V8EnabledAtRuntime=webkitVideoTrack] TextTrackList textT racks; 117 readonly attribute [V8EnabledAtRuntime=webkitVideoTrack] TextTrackList textT racks;
124 #endif 118 #endif
125 119
126 attribute [Reflect, TreatNullAs=NullString] DOMString mediaGroup; 120 attribute [Reflect, TreatNullAs=NullString] DOMString mediaGroup;
127 attribute [CustomSetter] MediaController controller; 121 attribute [CustomSetter] MediaController controller;
128 }; 122 };
129 } 123 }
OLDNEW
« no previous file with comments | « no previous file | Source/WebCore/html/HTMLTrackElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698