On Fri, Oct 2, 2009 at 4:33 PM, Aaron Boodman <[email protected]> wrote: > > On Fri, Oct 2, 2009 at 4:20 PM, Colin Bleckner <[email protected]> wrote: >> I just saw that (some version of) browser actions have been included in >> the latest developer channel push. Sweet! I hadn't even heard of them >> until a few minutes ago, but they look very promising. > > I'm glad to hear that. We're hopeful :) > >> I tried creating >> a simple test following the proposal page >> (http://code.google.com/p/chromium/wiki/BrowserActions) and ran into a >> couple of issues and questions: > > The API that is documented there is the "dream" API, but the one that > is currently implemented is more expedient. We are still trying to > validate that we like this idea before spending a bunch of time > perfecting the API. > > The best way to see the current API is to look at the samples that are > checked in. Here are several: > > http://src.chromium.org/viewvc/chrome/trunk/src/chrome/test/data/extensions/samples/print_browser_action/ > http://src.chromium.org/viewvc/chrome/trunk/src/chrome/test/data/extensions/samples/make_page_red/ > http://src.chromium.org/viewvc/chrome/trunk/src/chrome/test/data/extensions/samples/make_page_red_no_icon/ > > Not all of this API will be working in the dev channel, since the dev > channel is about a week behind trunk.
Actually, some of this does in fact work now (220.1). They pushed out a surprise update on Friday: http://googlechromereleases.blogspot.com/2009/10/dev-channel-updated-with-fixes.html Unfortunately, it doesn't have everything. >> - I don't see my browser actions in the UI, has that been implemented yet? > > Yes, probably an API mismatch issue per above. > >> - You mention that if a popup is specified that there will no >> browserAction.onClick event. What happens in that case if the user >> clicks the my item from the Extensions menu? > > No idea. Erik, have you thought this through yet? :) Yeah, this is an oversight on my part. My guess is that we'll not show these in the menu, but I need to think more about this. >> I know I'm probably jumping the gun a little early here, but it's fun to >> play with new stuff. :) > > Yes, it's pretty early, but we'd like feedback. If you want to see the > bleeding edge, get a trunk build: > > http://build.chromium.org/buildbot/snapshots/chromium-rel-xp/ > > BTW, I should be landing badges tonight, hopefully. > > - a > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Chromium-extensions" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/chromium-extensions?hl=en -~----------~----~----~----~------~----~------~--~---
