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

Unified Diff: third_party/WebKit/Source/core/testing/Internals.idl

Issue 1522463003: Refactor resource load and resource selection algorithms as per spec (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added tests using internals.idl Created 4 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 side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698