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

Unified Diff: third_party/WebKit/LayoutTests/media/media-controls.js

Issue 2222163005: Updating media controls to give fullscreen button highest priority (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 4 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/LayoutTests/media/media-controls.js
diff --git a/third_party/WebKit/LayoutTests/media/media-controls.js b/third_party/WebKit/LayoutTests/media/media-controls.js
index c88eb7544a9971dcbbd4412ad123079d937adca1..572d4d468081804fc450e91f3cce505a8f6c6cdb 100644
--- a/third_party/WebKit/LayoutTests/media/media-controls.js
+++ b/third_party/WebKit/LayoutTests/media/media-controls.js
@@ -225,3 +225,9 @@ function runAfterHideMediaControlsTimerFired(func, mediaElement)
setTimeout(func, hideTimeoutMs);
}
+
+function hasFullscreenButton(element)
+{
+ var size = mediaControlsButtonDimensions(element, "fullscreen-button");
+ return size[0] > 0 && size[1] > 0;
+}

Powered by Google App Engine
This is Rietveld 408576698