On Wed, Jan 7, 2009 at 17:28, Brad <[email protected]> wrote:

>
>
> We have an issue with a site wanting to remain in app mode.  At the
> time being there is no method to open a new window in that mode from
> the page (no Window.Open) and they use a multi-document interface.
> The work around would be to navigate instead of opening a new window.
> However, they do not want to change their interface for all browsers.
>
> For the time being, until a HTML5 App spec and associated DOM
> extensions are proposed, would it be possible to either
>
> 1)  Append text to the user-agent string
> 2) Send a header from the browser
> 3) Expose a boolean readonly property to the dom (say the Window
> object) where a user can query whether or not they are in app mode
> ( either Window.Application mode or possible Window.AddressBar )
>
> We would like to do (3).  Is this possible?


I think 3 is fine, but I'm not really someone who should be approving such
changes.

Other browsers have added properties to window.navigator to signal
application state (see Firefox and navigator.onLine:
https://developer.mozilla.org/en/DOM/window.navigator.onLine).

--Mark


>
>
> -brad
>
> On Jan 7, 5:07 pm, Peter Kasting <[email protected]> wrote:
> > On Wed, Jan 7, 2009 at 4:34 PM, Brian Rakowski <[email protected]>
> wrote:
> > > There's not currently, but we have considered it several times. I don't
> > > remember any arguments against it other than we weren't sure if it was
> going
> > > to be necessary.
> >
> > The main argument against it (IIRC) was that we were concerned web
> > developers might discriminate against users in various ways, i.e. refuse
> to
> > run their site if the user was in app (or not in app) mode.  Not sure
> that's
> > a big deal.
> >
> > PK
> >
>

--~--~---------~--~----~------------~-------~--~----~
Chromium Developers mailing list: [email protected] 
View archives, change email options, or unsubscribe: 
    http://groups.google.com/group/chromium-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to