Bug 1399172 - Add highlight styling to Flash notification r?johannh draft
authorDoug Thayer <dothayer@mozilla.com>
Tue, 12 Sep 2017 10:21:06 -0700
changeset 663115 21f8542b9e77f0a5b1849e70a38577c5116c7a2f
parent 663114 f5d409c77ce86a9f72895dd1835671dac4f282da
child 731101 63806e1aa36eec55dd622ef4ff4017686d8ec51f
push id79329
push userbmo:dothayer@mozilla.com
push dateTue, 12 Sep 2017 17:22:31 +0000
reviewersjohannh
bugs1399172
milestone57.0a1
Bug 1399172 - Add highlight styling to Flash notification r?johannh The Flash (plugin) notification buttons have been restyled temporarily to make them in line with other doorhangers. There is further work being done to use PopupNotifications.jsm fully for these notifications, rather than PopupNotifications + a custom XBL binding. However, this won't make it for 57, so this change fixes the temporary restyle to ensure that the default button is blue. MozReview-Commit-ID: FSlmOdLd8SW
browser/base/content/urlbarBindings.xml
--- a/browser/base/content/urlbarBindings.xml
+++ b/browser/base/content/urlbarBindings.xml
@@ -2724,16 +2724,17 @@ file, You can obtain one at http://mozil
                   class="click-to-play-plugins-notification-button-container"
                   pack="center" align="center">
           <xul:button anonid="primarybutton"
                       class="click-to-play-popup-button popup-notification-button"
                       oncommand="document.getBindingParent(this)._onButton(this)"
                       flex="1"/>
           <xul:button anonid="secondarybutton"
                       default="true"
+                      highlight="true"
                       class="click-to-play-popup-button popup-notification-button"
                       oncommand="document.getBindingParent(this)._onButton(this);"
                       flex="1"/>
         </xul:hbox>
         <xul:box hidden="true">
           <children/>
         </xul:box>
       </xul:vbox>