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

Side by Side Diff: Source/core/html/HTMLVideoElement.idl

Issue 35803004: Remove TreatNullAs=NullString for media interfaces (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 2 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
« no previous file with comments | « Source/core/html/HTMLTrackElement.idl ('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) 2007, 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2007, 2010 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 12 matching lines...) Expand all
23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24 */ 24 */
25 25
26 [ 26 [
27 RuntimeEnabled=Media 27 RuntimeEnabled=Media
28 ] interface HTMLVideoElement : HTMLMediaElement { 28 ] interface HTMLVideoElement : HTMLMediaElement {
29 [Reflect] attribute unsigned long width; 29 [Reflect] attribute unsigned long width;
30 [Reflect] attribute unsigned long height; 30 [Reflect] attribute unsigned long height;
31 readonly attribute unsigned long videoWidth; 31 readonly attribute unsigned long videoWidth;
32 readonly attribute unsigned long videoHeight; 32 readonly attribute unsigned long videoHeight;
33 [Reflect, TreatNullAs=NullString, URL] attribute DOMString poster; 33 [Reflect, URL] attribute DOMString poster;
34 34
35 [MeasureAs=PrefixedVideoSupportsFullscreen] readonly attribute boolean webki tSupportsFullscreen; 35 [MeasureAs=PrefixedVideoSupportsFullscreen] readonly attribute boolean webki tSupportsFullscreen;
36 [MeasureAs=PrefixedVideoDisplayingFullscreen] readonly attribute boolean web kitDisplayingFullscreen; 36 [MeasureAs=PrefixedVideoDisplayingFullscreen] readonly attribute boolean web kitDisplayingFullscreen;
37 37
38 [MeasureAs=PrefixedVideoEnterFullscreen, RaisesException, PerWorldBindings, ActivityLogging=AccessForAllWorlds] void webkitEnterFullscreen(); 38 [MeasureAs=PrefixedVideoEnterFullscreen, RaisesException, PerWorldBindings, ActivityLogging=AccessForAllWorlds] void webkitEnterFullscreen();
39 [MeasureAs=PrefixedVideoExitFullscreen] void webkitExitFullscreen(); 39 [MeasureAs=PrefixedVideoExitFullscreen] void webkitExitFullscreen();
40 40
41 // Note the different capitalization of the "S" in FullScreen. 41 // Note the different capitalization of the "S" in FullScreen.
42 [MeasureAs=PrefixedVideoEnterFullScreen, ImplementedAs=webkitEnterFullscreen , RaisesException, PerWorldBindings, ActivityLogging=AccessForAllWorlds] void we bkitEnterFullScreen(); 42 [MeasureAs=PrefixedVideoEnterFullScreen, ImplementedAs=webkitEnterFullscreen , RaisesException, PerWorldBindings, ActivityLogging=AccessForAllWorlds] void we bkitEnterFullScreen();
43 [MeasureAs=PrefixedVideoExitFullScreen, ImplementedAs=webkitExitFullscreen] void webkitExitFullScreen(); 43 [MeasureAs=PrefixedVideoExitFullScreen, ImplementedAs=webkitExitFullscreen] void webkitExitFullScreen();
44 44
45 // The number of frames that have been decoded and made available for 45 // The number of frames that have been decoded and made available for
46 // playback. 46 // playback.
47 [MeasureAs=PrefixedVideoDecodedFrameCount] readonly attribute unsigned long webkitDecodedFrameCount; 47 [MeasureAs=PrefixedVideoDecodedFrameCount] readonly attribute unsigned long webkitDecodedFrameCount;
48 48
49 // The number of decoded frames that have been dropped by the player 49 // The number of decoded frames that have been dropped by the player
50 // for performance reasons during playback. 50 // for performance reasons during playback.
51 [MeasureAs=PrefixedVideoDroppedFrameCount] readonly attribute unsigned long webkitDroppedFrameCount; 51 [MeasureAs=PrefixedVideoDroppedFrameCount] readonly attribute unsigned long webkitDroppedFrameCount;
52 }; 52 };
OLDNEW
« no previous file with comments | « Source/core/html/HTMLTrackElement.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698