On Fri, Dec 5, 2008 at 4:13 PM, John Abd-El-Malek <[EMAIL PROTECTED]> wrote:
>
> On Fri, Dec 5, 2008 at 8:24 AM, Marc-Antoine Ruel <[EMAIL PROTECTED]> wrote:
>>
>> As an argument, you could say that isn't it funny activex controls can
>> override the specified viewport size and even resize itself whenever
>> it wants while a NPAPI has no control on its viewport?
>
> You can actually do that with NPAPI (I just verified).  Call
> NPN_GetValue for NPNVPluginElementNPObject, then  NPN_GetProperty on
> the result for "style".  You can then NPN_SetProperty on that result
> for "width" and "900px" for example (let me know if you want some
> sample code).

That's neat, I didn't know.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Chromium-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/chromium-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to