I am trying to use the desktop notifications in an extension but I couldn't find a way to access any Chrome APIs inside a notification. Is there any way to do that? If not, is it possible to exchange messages for *indirect* access to the extension data like content scripts and their parent extension?
Thanks. Raymond Lee On Nov 6, 8:22 am, Marcos Aruj <marcos.a...@gmail.com> wrote: > Ok, done:http://www.crbug.com/26859 > > I attached a crx to the report that triggers the bug. > > Thanks! > > > > > > On Thu, Nov 5, 2009 at 5:19 PM, John Gregg <john...@google.com> wrote: > > Thanks for the bug report, I am currently working on getting Notifications > > working for extensions and I'm familiar with this issue, although I don't > > think there is a bug for it yet. If you would create one I can update it as > > I get the fix checked in (which will hopefully be tomorrow, I think it's a > > fairly easy fix). > > > -John > > > On Thu, Nov 5, 2009 at 6:11 PM, Marcos Aruj <marcos.a...@gmail.com> wrote: > > >> Hi all, > > >> We've been testing the Notifications API and have shown them successfully > >> on a regular page. We are trying to use it from within an extension, but > >> Chromium crashes when calling requestPermission. It correctly asks to allow > >> notifications for chrome-extension://XXXXXXXXXXXXXXXXXXXXXX/, but after > >> allowing or denying, it crashes. > > >> Let me know if a bug needs to be created, if it's a known issue or if we > >> are missing something. > > >> Thanks, > > >> Marcos > > >> On Fri, Oct 30, 2009 at 3:57 PM, Marcos Aruj <marcos.a...@gmail.com>wrote: > > >>> Hi all, > > >>> Quick question, how is the Notifications API going for the release of > >>> 4.0? Are there any news on this? Any sample code? Just wanted to know if > >>> we > >>> can rely on it now or if we should wait. > > >>> Thanks! > > >>> Marcos > > >>> On Tue, Oct 20, 2009 at 11:04 AM, Darin Fisher <da...@chromium.org>wrote: > > >>>> OK, that sounds reasonable to me. > >>>> -Darin > > >>>> On Tue, Oct 20, 2009 at 9:51 AM, John Gregg <john...@google.com> wrote: > > >>>>> Not precisely embedding a TabContents; I'm drawing a custom toast using > >>>>> views and putting a RenderViewHost+RenderWidgetHostView in it. > > >>>>> -John > > >>>>> On Tue, Oct 20, 2009 at 12:27 AM, Darin Fisher > >>>>> <da...@chromium.org>wrote: > > >>>>>> Is this accomplished by embedding a TabContents in a custom drawn > >>>>>> (using Views) toast? > >>>>>> -Darin > > >>>>>> On Mon, Oct 19, 2009 at 2:17 PM, Drew Wilson > >>>>>> <atwil...@chromium.org>wrote: > > >>>>>>> To be clear - our priority is to support HTML notifications on all > >>>>>>> platforms *before* investigating support for native notification > >>>>>>> platforms > >>>>>>> (like Growl/libnotify). > > >>>>>>> -atw > > >>>>>>> On Mon, Oct 19, 2009 at 11:25 AM, Ian Fette <i...@chromium.org>wrote: > > >>>>>>>> We're trying to come up with a way to display html notifications on > >>>>>>>> these platforms, once we get the windows one checked in. (Likely > >>>>>>>> code that > >>>>>>>> we will have to write.) > > >>>>>>>> 2009/10/19 Evan Martin <e...@chromium.org> > > >>>>>>>>> On Mon, Oct 19, 2009 at 11:16 AM, John Gregg <john...@google.com> > >>>>>>>>> wrote: > >>>>>>>>> > The implementation of notifications is nearly complete for > >>>>>>>>> Windows chromium > >>>>>>>>> > with the final pieces being reviewed right now. Hopefully it > >>>>>>>>> will be > >>>>>>>>> > available on the dev channel very soon behind a command-line > >>>>>>>>> switch for > >>>>>>>>> > developers to start using. > >>>>>>>>> > If you have questions about the specifics of the API, let me > >>>>>>>>> know, I'm happy > >>>>>>>>> > to answer them and/or provide more documentation. > > >>>>>>>>> I had alluded to this before, but I don't still see a good answer: > >>>>>>>>> what is the plan on Mac/Linux when the API is called with HTML? > > >>> -- > >>> Marcos Aruj Alvarez > >>> Ingeniero de Software > >>> ------------------------------- > >>> marcos.a...@gmail.com > >>> ----- > > >> -- > >> Marcos Aruj Alvarez > >> Ingeniero de Software > >> ------------------------------- > >> marcos.a...@gmail.com > >> ----- > > -- > Marcos Aruj Alvarez > Ingeniero de Software > ------------------------------- > marcos.a...@gmail.com > ----- -- Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev