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

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

Issue 12316066: Update WebKit idl files after chrome roll (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Remove deltaMode from WheelEvent template. Created 7 years, 10 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2007, 2010, 2011, 2012 Apple Inc. All rights reserved. 2 * Copyright (C) 2007, 2010, 2011, 2012 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 27 matching lines...) Expand all
38 const unsigned short NETWORK_EMPTY = 0; 38 const unsigned short NETWORK_EMPTY = 0;
39 const unsigned short NETWORK_IDLE = 1; 39 const unsigned short NETWORK_IDLE = 1;
40 const unsigned short NETWORK_LOADING = 2; 40 const unsigned short NETWORK_LOADING = 2;
41 const unsigned short NETWORK_NO_SOURCE = 3; 41 const unsigned short NETWORK_NO_SOURCE = 3;
42 readonly attribute unsigned short networkState; 42 readonly attribute unsigned short networkState;
43 attribute DOMString preload; 43 attribute DOMString preload;
44 44
45 readonly attribute TimeRanges buffered; 45 readonly attribute TimeRanges buffered;
46 void load(); 46 void load();
47 #if defined(ENABLE_ENCRYPTED_MEDIA) && ENABLE_ENCRYPTED_MEDIA 47 #if defined(ENABLE_ENCRYPTED_MEDIA) && ENABLE_ENCRYPTED_MEDIA
48 DOMString canPlayType(in [Optional=DefaultIsUndefined] DOMString type, in [Optio nal=DefaultIsUndefined, TreatNullAs=NullString, TreatUndefinedAs=NullString] DOM String keySystem); 48 DOMString canPlayType(in [Optional=DefaultIsUndefined] DOMString type, in [O ptional=DefaultIsUndefined, TreatNullAs=NullString, TreatUndefinedAs=NullString] DOMString keySystem);
49 #elif defined(ENABLE_ENCRYPTED_MEDIA_V2) && ENABLE_ENCRYPTED_MEDIA_V2
50 DOMString canPlayType(in [Optional=DefaultIsUndefined] DOMString type, in [O ptional=DefaultIsUndefined, TreatNullAs=NullString, TreatUndefinedAs=NullString] DOMString keySystem);
49 #else 51 #else
50 DOMString canPlayType(in [Optional=DefaultIsUndefined] DOMString type); 52 DOMString canPlayType(in [Optional=DefaultIsUndefined] DOMString type);
51 #endif 53 #endif
52 54
53 // ready state 55 // ready state
54 const unsigned short HAVE_NOTHING = 0; 56 const unsigned short HAVE_NOTHING = 0;
55 const unsigned short HAVE_METADATA = 1; 57 const unsigned short HAVE_METADATA = 1;
56 const unsigned short HAVE_CURRENT_DATA = 2; 58 const unsigned short HAVE_CURRENT_DATA = 2;
57 const unsigned short HAVE_FUTURE_DATA = 3; 59 const unsigned short HAVE_FUTURE_DATA = 3;
58 const unsigned short HAVE_ENOUGH_DATA = 4; 60 const unsigned short HAVE_ENOUGH_DATA = 4;
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 readonly attribute [Conditional=MEDIA_STATISTICS] unsigned long webkitVideoDecod edByteCount; 96 readonly attribute [Conditional=MEDIA_STATISTICS] unsigned long webkitVideoDecod edByteCount;
95 97
96 #if defined(ENABLE_ENCRYPTED_MEDIA) && ENABLE_ENCRYPTED_MEDIA 98 #if defined(ENABLE_ENCRYPTED_MEDIA) && ENABLE_ENCRYPTED_MEDIA
97 [V8EnabledAtRuntime=encryptedMedia] void webkitGenerateKeyRequest(in [TreatNullA s=NullString, TreatUndefinedAs=NullString] DOMString keySystem, in [Optional] Ui nt8Array initData) 99 [V8EnabledAtRuntime=encryptedMedia] void webkitGenerateKeyRequest(in [TreatNullA s=NullString, TreatUndefinedAs=NullString] DOMString keySystem, in [Optional] Ui nt8Array initData)
98 raises (DOMException); 100 raises (DOMException);
99 [V8EnabledAtRuntime=encryptedMedia] void webkitAddKey(in [TreatNullAs=NullString , TreatUndefinedAs=NullString] DOMString keySystem, in Uint8Array key, in [Optio nal] Uint8Array initData, in [Optional=DefaultIsNullString] DOMString sessionId) 101 [V8EnabledAtRuntime=encryptedMedia] void webkitAddKey(in [TreatNullAs=NullString , TreatUndefinedAs=NullString] DOMString keySystem, in Uint8Array key, in [Optio nal] Uint8Array initData, in [Optional=DefaultIsNullString] DOMString sessionId)
100 raises (DOMException); 102 raises (DOMException);
101 [V8EnabledAtRuntime=encryptedMedia] void webkitCancelKeyRequest(in [TreatNullAs= NullString, TreatUndefinedAs=NullString] DOMString keySystem, in [Optional=Defau ltIsNullString] DOMString sessionId) 103 [V8EnabledAtRuntime=encryptedMedia] void webkitCancelKeyRequest(in [TreatNullAs= NullString, TreatUndefinedAs=NullString] DOMString keySystem, in [Optional=Defau ltIsNullString] DOMString sessionId)
102 raises (DOMException); 104 raises (DOMException);
103 105
104 [V8EnabledAtRuntime=encryptedMedia] attribute EventListener onwebkitkeyadded; 106 attribute [V8EnabledAtRuntime=encryptedMedia] EventListener onwebkitkeyadded ;
105 attribute [V8EnabledAtRuntime=encryptedMedia] EventListener onwebkitkeyerror; 107 attribute [V8EnabledAtRuntime=encryptedMedia] EventListener onwebkitkeyerror ;
106 attribute [V8EnabledAtRuntime=encryptedMedia] EventListener onwebkitkeymessage; 108 attribute [V8EnabledAtRuntime=encryptedMedia] EventListener onwebkitkeymessa ge;
107 attribute [V8EnabledAtRuntime=encryptedMedia] EventListener onwebkitneedkey; 109 #endif
110 attribute [Conditional=ENCRYPTED_MEDIA|ENCRYPTED_MEDIA_V2, V8EnabledAtRuntim e=encryptedMedia] EventListener onwebkitneedkey;
111 #if defined(ENABLE_ENCRYPTED_MEDIA_V2) && ENABLE_ENCRYPTED_MEDIA_V2
112 attribute [V8EnabledAtRuntime=encryptedMedia] MediaKeys mediaKeys;
108 #endif 113 #endif
109 114
110 #if defined(ENABLE_VIDEO_TRACK) && ENABLE_VIDEO_TRACK 115 #if defined(ENABLE_VIDEO_TRACK) && ENABLE_VIDEO_TRACK
111 [V8EnabledAtRuntime=webkitVideoTrack] TextTrack addTextTrack(in DOMString kind, in [Optional] DOMString label, in [Optional] DOMString language) 116 [V8EnabledAtRuntime=webkitVideoTrack] TextTrack addTextTrack(in DOMString kind, in [Optional] DOMString label, in [Optional] DOMString language)
112 raises (DOMException); 117 raises (DOMException);
113 readonly attribute [V8EnabledAtRuntime=webkitVideoTrack] TextTrackList textTrack s; 118 readonly attribute [V8EnabledAtRuntime=webkitVideoTrack] TextTrackList textTrack s;
114 #endif 119 #endif
115 120
116 [Reflect, TreatNullAs=NullString] attribute DOMString mediaGroup; 121 [Reflect, TreatNullAs=NullString] attribute DOMString mediaGroup;
117 attribute [CustomSetter] MediaController controller; 122 attribute [CustomSetter] MediaController controller;
118 }; 123 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698