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

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

Issue 1370723002: Include viewport visibility checks for autoplay experiment. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: identical to PS4 on 1329853004 (probably rebased) Created 5 years, 3 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 821bba1bc55d21f44b1cfda24fb9994147d20554..634a96cc0dea6bb3e29bd664f3d0640d8c3f89db 100644
--- a/third_party/WebKit/Source/core/testing/Internals.idl
+++ b/third_party/WebKit/Source/core/testing/Internals.idl
@@ -353,4 +353,6 @@
bool setScrollbarVisibilityInScrollableArea(Node node, boolean visible);
void forceRestrictIFramePermissions();
+
+ [TypeChecking=Interface] void triggerAutoplayViewportCheck(HTMLMediaElement mediaElement);
ojan 2015/10/01 06:14:26 We typically try to avoid adding one-off APIs like
esprehn 2015/10/01 07:04:15 You should be able to write a Sim test for this, s
liberato (no reviews please) 2015/10/01 22:49:03 added the TODO.
liberato (no reviews please) 2015/10/01 22:49:03 will look at this test, but for now leaving with T
};

Powered by Google App Engine
This is Rietveld 408576698