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

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: Addressed comment 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
« no previous file with comments | « third_party/WebKit/LayoutTests/media/video-controls-fullscreen.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 439d99210e77e9af92bf438d7df587fef0aa61a0..8c0f1083541509794c61c292e4bc9b1401602d05 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(),
« no previous file with comments | « third_party/WebKit/LayoutTests/media/video-controls-fullscreen.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698