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

Unified Diff: third_party/WebKit/Source/core/html/shadow/MediaControls.cpp

Issue 2222163005: Updating media controls to give fullscreen button highest priority (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/Source/core/html/shadow/MediaControls.cpp
diff --git a/third_party/WebKit/Source/core/html/shadow/MediaControls.cpp b/third_party/WebKit/Source/core/html/shadow/MediaControls.cpp
index abb61be1737dbf90b0fbd6bf02ba85b5ec31cd1f..a451a351f1f3ff4ddda2975f3500e3f5da4366d6 100644
--- a/third_party/WebKit/Source/core/html/shadow/MediaControls.cpp
+++ b/third_party/WebKit/Source/core/html/shadow/MediaControls.cpp
@@ -689,8 +689,8 @@ void MediaControls::computeWhichControlsFit()
// Controls that we'll hide / show, in order of decreasing priority.
MediaControlElement* elements[] = {
// Exclude m_playButton; we handle it specially.
- m_toggleClosedCaptionsButton.get(),
m_fullScreenButton.get(),
+ m_toggleClosedCaptionsButton.get(),
m_timeline.get(),
m_currentTimeDisplay.get(),
m_volumeSlider.get(),

Powered by Google App Engine
This is Rietveld 408576698