Title: [184140] trunk/Source/WebCore
Revision
184140
Author
[email protected]
Date
2015-05-11 18:13:30 -0700 (Mon, 11 May 2015)

Log Message

[Mac] Update device picker icon when video tracks change
https://bugs.webkit.org/show_bug.cgi?id=144889
<rdar://problem/20907253>

Reviewed by Brent Fulgham.

* Modules/mediacontrols/mediaControlsApple.js:
(Controller.prototype.updateHasVideo):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (184139 => 184140)


--- trunk/Source/WebCore/ChangeLog	2015-05-12 01:12:01 UTC (rev 184139)
+++ trunk/Source/WebCore/ChangeLog	2015-05-12 01:13:30 UTC (rev 184140)
@@ -1,3 +1,14 @@
+2015-05-11  Eric Carlson  <[email protected]>
+
+        [Mac] Update device picker icon when video tracks change
+        https://bugs.webkit.org/show_bug.cgi?id=144889
+        <rdar://problem/20907253>
+
+        Reviewed by Brent Fulgham.
+
+        * Modules/mediacontrols/mediaControlsApple.js:
+        (Controller.prototype.updateHasVideo):
+
 2015-05-11  Brent Fulgham  <[email protected]>
 
         Scroll snap logic should be triggered when resizing the WebView

Modified: trunk/Source/WebCore/Modules/mediacontrols/mediaControlsApple.js (184139 => 184140)


--- trunk/Source/WebCore/Modules/mediacontrols/mediaControlsApple.js	2015-05-12 01:12:01 UTC (rev 184139)
+++ trunk/Source/WebCore/Modules/mediacontrols/mediaControlsApple.js	2015-05-12 01:13:30 UTC (rev 184140)
@@ -1756,6 +1756,9 @@
             this.controls.panel.classList.remove(this.ClassNames.noVideo);
         else
             this.controls.panel.classList.add(this.ClassNames.noVideo);
+
+        // The wireless target picker is only visible for files with video, force an update.
+        this.updateWirelessTargetAvailable();
     },
 
     updateVolume: function()
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to