Closed Bug 785190 Opened 13 years ago Closed 13 years ago

Plugin preview overlay shows click-to-play icon when preview is present

Categories

(Core Graveyard :: Plug-ins, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: yury, Assigned: yury)

References

Details

Attachments

(1 file, 1 obsolete file)

Per bug 776208 comment 61: (In reply to David Keeler from comment #59) > Comment on attachment 654628 [details] [diff] [review] [diff] [review] > Plugin overlay API > > Review of attachment 654628 [details] [diff] [review] [diff] [review]: > ----------------------------------------------------------------- > > ::: browser/base/content/browser-plugins.js > @@ +198,5 @@ > > let cwu = aContentWindow.QueryInterface(Ci.nsIInterfaceRequestor) > > .getInterface(Ci.nsIDOMWindowUtils); > > let haveUnplayedPlugins = cwu.plugins.some(function(plugin) { > > let objLoadingContent = plugin.QueryInterface(Ci.nsIObjectLoadingContent); > > + return (plugin != aPlugin && gPluginHandler.canActivatePlugin(objLoadingContent)); > > Looks like we still need a similar check in reshowClickToPlayNotification Yeah, that might case to show an icon on desktop when preview exists and click-to-play is on. > and _removeClickToPlayOverlays. Not really necessary -- the preview does not use mainBox (it's hidden in this mode).
Attachment #654743 - Attachment is patch: true
Attachment #654743 - Flags: review?(dkeeler)
Depends on: 776208
Comment on attachment 654743 [details] [diff] [review] adds canActivatePlugin check to reshowClickToPlayNotification Review of attachment 654743 [details] [diff] [review]: ----------------------------------------------------------------- Looks good to me. I'm sure you could just add this in to the patch you're getting ready to land in bug 776208 and carry over the r+s. I can't r+, so I'll just mark this feedback+.
Attachment #654743 - Flags: review?(dkeeler) → feedback+
Attachment #654743 - Attachment is obsolete: true
Assignee: nobody → async.processingjs
Status: NEW → ASSIGNED
Keywords: checkin-needed
Keywords: checkin-needed
Sorry, I had to back this out because it depends on bug 776208 which was backed out: https://hg.mozilla.org/integration/mozilla-inbound/rev/7058cad952ca
The patch added to/combined with the bug 776208 Plugin overlay API patch
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: