- From: Marcos Caceres <marcosc@opera.com>
- Date: Fri, 24 Apr 2009 13:21:15 +0200
- To: Arve Bersvendsen <arveb@opera.com>
- Cc: ivan.demarino@orange-ftgroup.com, public-webapps@w3.org, mali.ext@orange-ftgroup.com, rafel.uddin@orange-ftgroup.com
On Fri, Apr 24, 2009 at 12:36 PM, Arve Bersvendsen <arveb@opera.com> wrote: > On Fri, 24 Apr 2009 12:26:29 +0200, <ivan.demarino@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 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? > 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 changes are problematic from a UX-view (and may as well have a security implication or two) > Agreed. -- Marcos Caceres http://datadriven.com.au
Received on Friday, 24 April 2009 11:22:07 UTC