NPAPI visibility notification proposal
turo at adobe.com
Thu Jul 8 12:57:59 PDT 2010
Seems like I am not the only one with this issue. The clip rect is not properly managed on any platform today today to access this information. It prevents plugins from throttling. I've studied the Firefox code for a while but did not see a way to retrofit this into NPP_SetWindow properly using the current architecture, especially GtkPlug. In addition NPWindow::clipRect is currently only meaningful for the Mac. Changing the behavior would likely break existing plugins.
Also see the table I posted a while ago:
From: plugin-futures-bounces at mozilla.org [plugin-futures-bounces at mozilla.org] On Behalf Of Stuart Morgan [stuartmorgan at chromium.org]
Sent: Thursday, July 08, 2010 8:45 AM
To: tuomas.2.ojamies at nokia.com
Cc: plugin-futures at mozilla.org
Subject: Re: NPAPI visibility notification proposal
On Thu, Jul 8, 2010 at 4:14 AM, <tuomas.2.ojamies at nokia.com> wrote:
> I am proposing to add an event for visibility changes to NPP_HandleEvent.
What cases does this proposal cover that aren't already handled by
NPWindow's clipRect field?
plugin-futures mailing list
plugin-futures at mozilla.org
More information about the plugin-futures