NPAPI visibility notification proposal

Tinic Uro turo at
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 [plugin-futures-bounces at] On Behalf Of Stuart Morgan [stuartmorgan at]
Sent: Thursday, July 08, 2010 8:45 AM
To: tuomas.2.ojamies at
Cc: plugin-futures at
Subject: Re: NPAPI visibility notification proposal

On Thu, Jul 8, 2010 at 4:14 AM,  <tuomas.2.ojamies at> 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

More information about the plugin-futures mailing list