We need a MAX-signal. It'd be like the bat signal but with cats.
On Fri, Nov 23, 2012 at 12:43 AM, Tommy-Carlos Williams <to...@devgeeks.org>wrote: > At some point Gather used ChildBrowser for Oauth, but I think they might > not be anymore. Max left the list shortly after joining, so I could try and > ping him on IRC if it would help? > > > On 23/11/2012, at 10:40 AM, Andrew Grieve <agri...@chromium.org> wrote: > > > The more events the better! :) Really though, it would be good if someone > > knew of an app that used ChildBrowser for the purposes of OAuth. That > seems > > like one of the most important use-cases, so we should make sure to have > > all of the events that it requires. > > > > > > On Thu, Nov 22, 2012 at 4:26 PM, Simon MacDonald > > <simon.macdon...@gmail.com>wrote: > > > >> Just looking at this again and... > >> > >> webview.addEventListener('exit', handleExit); > >> webview.addEventListener('loadstart', handleLoadStart); > >> > >> would seem to map to our: > >> > >> onClose > >> onLocationChanged > >> > >> methods from the ChildBrowser. At least on Android I fire location > changed > >> event when the page starts to load not when it is finished. > >> > >> Simon Mac Donald > >> http://hi.im/simonmacdonald > >> > >> > >> On Thu, Nov 22, 2012 at 1:53 PM, Simon MacDonald > >> <simon.macdon...@gmail.com>wrote: > >> > >>> Is this required for the 2.3.0 release? > >>> > >>> Simon Mac Donald > >>> http://hi.im/simonmacdonald > >>> > >>> > >>> > >>> On Wed, Nov 21, 2012 at 11:30 PM, Shazron <shaz...@gmail.com> wrote: > >>> > >>>> Great! Let's stick with one API, since we have Chrome members on the > >>>> Cordova team the choice is obvious :) > >>>> > >>>> > >>>> On Wed, Nov 21, 2012 at 8:06 PM, Andrew Grieve <agri...@chromium.org> > >>>> wrote: > >>>> > >>>>> Looks that way. Given how similar they are, I don't think it matters > >>>> which > >>>>> one we go with (or if we come up with our own event names), but it'd > >> be > >>>>> good to follow the same pattern of having events and an API like > >>>>> canGoBack(), goForward(), etc. If they ever move to standardize, then > >> we > >>>>> can follow suit. > >>>>> > >>>>> > >>>>> On Wed, Nov 21, 2012 at 7:18 PM, Shazron <shaz...@gmail.com> wrote: > >>>>> > >>>>>> Mozilla's 'locationchange' is similar to what we have for > >>>> ChildBrowser, > >>>>> but > >>>>>> I don't see the equivalent in the Chrome example - I suppose it is > >>>>>> 'loadstop'? > >>>>>> > >>>>>> I suppose if we were to adopt either, it would go something like > >> this: > >>>>>> > >>>>>> var iab = window.open('http://apache.org', '_blank'); > >>>>>> // Firefox > >>>>>> iab.addEventListener('locationchange', handleLocationChange); > >>>>>> // Chrome > >>>>>> iab.addEventListener('loadstop', handleLoadStop); > >>>>>> > >>>>>> // Firefox > >>>>>> function handleLocationChange(e) { > >>>>>> console.log('location changed to: ' + e.detail); > >>>>>> } > >>>>>> // Chrome > >>>>>> function handleLoadStop(e) { > >>>>>> console.log('location changed to: ' + e.url); > >>>>>> } > >>>>>> > >>>>>> On Wed, Nov 21, 2012 at 1:32 PM, Andrew Grieve < > >> agri...@chromium.org> > >>>>>> wrote: > >>>>>> > >>>>>>> > >>>>>>> > >>>>>> > >>>>> > >>>> > >> > https://github.com/GoogleChrome/chrome-app-samples/blob/master/browser/browser.js > >>>>>> > >>>>> > >>>> > >>> > >>> > >> > >