Re: [Desktop-extensions-team] Proposal for a page visibility API

On Thu, 20 Jan 2011 11:51:17 +0100, Charles McCathieNevile  
<chaals@opera.com> wrote:

>> Use cases
>
> * An app can provide notifications (using the Web Notification stuff  
> that is under developemnt) when it is not visible/focused, but skip them  
> when it is to minimise distractions and reduce cognitive load
> * An application can (try to) communicate with the currently focused  
> application. This is essentially what a whole class of extensions does  
> in practice. Enabling it for general HTML would be a step towards making  
> it possible to share different functionality extensions. Right now, it  
> would rely on out-of-band agreement about how to communicate, but that  
> is perfectly feasible in practice. It also introduces a clear  
> requirement for a security discussion (see the paper that Art posted  
> recently...).

Also, an app that knows it's invisible can stop, for example, some  
expensive canvas rendering that no-one will see, making your laptop  
battery happier.


-- 
Alexey Feldgendler
Software Developer, Desktop Team, Opera Software ASA
[ICQ: 115226275] http://my.opera.com/feldgendler/

Received on Friday, 21 January 2011 07:58:40 UTC