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

Unified Diff: Source/core/testing/Internals.h

Issue 1329853004: Include viewport visibility checks for autoplay experiment. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@autoplay_step1
Patch Set: 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: Source/core/testing/Internals.h
diff --git a/Source/core/testing/Internals.h b/Source/core/testing/Internals.h
index 9d809e68ea3f5f9ded9259d141f0bbd1da07c800..02835baf356ffccf6c189ff1aca256967d0af7f9 100644
--- a/Source/core/testing/Internals.h
+++ b/Source/core/testing/Internals.h
@@ -384,6 +384,9 @@ public:
bool setScrollbarVisibilityInScrollableArea(Node*, bool visible);
void forceRestrictIFramePermissions();
+
+ void triggerAutoplayViewportCheck(HTMLMediaElement*);
+
private:
explicit Internals(ScriptState*);
Document* contextDocument() const;

Powered by Google App Engine
This is Rietveld 408576698