Getting this information in a cross-platform way is a huge pain (do we even
do it properly for mac yet?), so it seems like a decent idea to let
extensions reuse the work done rather than reimplementing everything.

I'd suggest having the browser fire some sort of update event to the
extension whenever the metrics are updated rather than forcing the extension
to poll.  This is how the task manager works currently.

- James

On Tue, Jan 12, 2010 at 12:38 PM, Matt Perry <mpcompl...@chromium.org>wrote:

> Would it be possible to implement the same functionality using an NPAPI
> plugin? Extensions are allowed to bundle native plugins and interact with
> them from script.
>
> On Tue, Jan 12, 2010 at 10:48 AM, Charlie Reis <cr...@chromium.org> wrote:
>
>> Hi folks--
>>   I've put together a proposal for a Chromium extensions module that
>> exposes
>> data about the browser's processes.  I think this could be useful for
>> things
>> like per-tab CPU/memory utilization graphs, custom task managers, or
>> visualizing which tabs are sharing processes.
>>
>> http://docs.google.com/View?id=dhr988kp_4f76886hc
>>
>> Please let me know what you think.
>>
>> Thanks!
>> Charlie Reis
>>
>> --
>> Chromium Developers mailing list: chromium-dev@googlegroups.com
>> View archives, change email options, or unsubscribe:
>>    http://groups.google.com/group/chromium-dev
>>
>
>
> --
> Chromium Developers mailing list: chromium-dev@googlegroups.com
> View archives, change email options, or unsubscribe:
>    http://groups.google.com/group/chromium-dev
>
-- 
Chromium Developers mailing list: chromium-dev@googlegroups.com 
View archives, change email options, or unsubscribe: 
    http://groups.google.com/group/chromium-dev

Reply via email to