Index: third_party/WebKit/Source/core/testing/Internals.idl |
diff --git a/third_party/WebKit/Source/core/testing/Internals.idl b/third_party/WebKit/Source/core/testing/Internals.idl |
index dc692028d53ebbadc8b34e706de500287341ecc4..050c17f1be15b5f747a1b4e2e9e3a1fa98a71478 100644 |
--- a/third_party/WebKit/Source/core/testing/Internals.idl |
+++ b/third_party/WebKit/Source/core/testing/Internals.idl |
@@ -29,6 +29,11 @@ |
GarbageCollected, |
ConstructorCallWith=ScriptState, |
] interface Internals { |
+ // WebMediaPlayer Preload States |
+ const unsigned short PRELOAD_NONE = 0; |
+ const unsigned short PRELOAD_METADATA = 1; |
+ const unsigned short PRELOAD_AUTO = 2; |
+ |
DOMString address(Node node); |
GCObservation observeGC(any observed); |
@@ -214,6 +219,7 @@ |
[RaisesException] void setIsCursorVisible(Document document, boolean isVisible); |
double effectiveMediaVolume(HTMLMediaElement mediaElement); |
+ unsigned short effectivePreloadType(HTMLMediaElement mediaElement); |
void mediaPlayerRemoteRouteAvailabilityChanged(HTMLMediaElement mediaElement, boolean available); |
void mediaPlayerPlayingRemotelyChanged(HTMLMediaElement mediaElement, boolean remote); |
void setAllowHiddenVolumeControls(HTMLMediaElement mediaElement, boolean allow); |