Re: [Proposal] Empowering the Widget to ask fro mode change in AE

2009-04-24 Thread Arve Bersvendsen
On Fri, 24 Apr 2009 12:26:29 +0200, ivan.demar...@orange-ftgroup.com wrote: Hello guys. What would you think of an API for empowering the Widget to ask for mode change? Something like: widget.ModeChangeRequest(mode name); Of course the WUA can ignore the request. In that case, it

Re: [Proposal] Empowering the Widget to ask fro mode change in AE

2009-04-24 Thread Marcos Caceres
On Fri, Apr 24, 2009 at 12:36 PM, Arve Bersvendsen ar...@opera.com wrote: On Fri, 24 Apr 2009 12:26:29 +0200, ivan.demar...@orange-ftgroup.com wrote: Hello guys. What would you think of an API for empowering the Widget to ask for mode change? Something like:      

Re: [Proposal] Empowering the Widget to ask fro mode change in AE

2009-04-24 Thread Arve Bersvendsen
On Fri, 24 Apr 2009 13:21:15 +0200, Marcos Caceres marc...@opera.com wrote: In that case, it is not a request, so widget.changeMode(mode name) would be more appropriate, where a user agent MAY choose to not honor the request. If it doesn't, it would throw an exception. Right? I would

Re: [Proposal] Empowering the Widget to ask fro mode change in AE

2009-04-24 Thread Marcos Caceres
On Fri, Apr 24, 2009 at 1:25 PM, Arve Bersvendsen ar...@opera.com wrote: On Fri, 24 Apr 2009 13:21:15 +0200, Marcos Caceres marc...@opera.com wrote: In that case, it is not a request, so widget.changeMode(mode name) would be more appropriate, where a user agent MAY choose to not honor the

RE: [Proposal] Empowering the Widget to ask fro mode change in AE

2009-04-24 Thread ivan.demarino
I agree. - No exception to maintain coherence. - Name changeMode(mode name). Arve It should be noted, however, that this is problematic on device for a number of reasons, given that floating or mini widgets would typically exist on some desktop or in an application grid, so these mode