Re: [chromium-dev] Re: [chromium-extensions] Re: Desktop Notifications

2009-12-12 Thread Aaron Boodman
Not implemented yet. I have a patch to make this work, but it needs somebody to volunteer to write tests for it and get it committed. Otherwise, it is backlogged behind 300 open bugs. - a On Fri, Dec 11, 2009 at 6:34 PM, Marcos Aruj marcos.a...@gmail.com wrote: Hi all, Bringing this topic back

Re: [chromium-dev] Re: [chromium-extensions] Re: Desktop Notifications

2009-12-11 Thread Marcos Aruj
Hi all, Bringing this topic back again. I've been able to show notifications from our extension, with a friendly name in the from label. What I'm not able to do is communicate with the background page. Is this implemented or not yet? Thanks On Tue, Nov 10, 2009 at 11:51 PM, Aaron Boodman

Re: [chromium-dev] Re: [chromium-extensions] Re: Desktop Notifications

2009-11-10 Thread Aaron Boodman
I did some quick spelunking with this feature this evening. It doesn't look like the integration with extensions is quite working yet. For one, when showing an HTML notification for a chrome-extension:// URL, it looks like the notification window ends up in a different process. This prevents

[chromium-dev] Re: [chromium-extensions] Re: Desktop Notifications

2009-11-10 Thread Raymond Lee
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

Re: [chromium-dev] Re: [chromium-extensions] Re: Desktop Notifications

2009-11-10 Thread Marcos Aruj
Hey Aaron, thanks for your answer. Does this mean that extension and communication will be able to communicate between them without using Shared workers? Being able to do getBackgroundPage() from extension-created notifications would be awesome. We'll star those issues. On Tue, Nov 10, 2009 at

Re: [chromium-dev] Re: [chromium-extensions] Re: Desktop Notifications

2009-11-10 Thread Aaron Boodman
On Tue, Nov 10, 2009 at 8:19 PM, Marcos Aruj marcos.a...@gmail.com wrote: Hey Aaron, thanks for your answer. Does this mean that extension and communication will be able to communicate between them without using Shared workers? Yes, also, all the extension APIs, like chrome.tabs,

[chromium-dev] Re: [chromium-extensions] Re: Desktop Notifications

2009-11-09 Thread Marcos Aruj
Hi all, We've managed to use the Notifications API from our extension, thanks to John Gregg's implementation. However we are missing a key feature for us, which is to be able to have some logic inside the notifications itself, so that we can communicate with the background script for several

[chromium-dev] Re: [chromium-extensions] Re: Desktop Notifications

2009-11-09 Thread John Gregg
Hi Marcos, It might help if you could describe (as specifically as you feel you can) the use-case you're hoping to realize, since changes to the spec should be driven by use-cases rather than just programming style. At present my concern is to make sure we remain flexible with the presentation

[chromium-dev] Re: [chromium-extensions] Re: Desktop Notifications

2009-11-09 Thread Drew Wilson
As John mentioned, SharedWorkers are intended to be the standard way for notifications (or any two pages under the same domain) to communicate. They are not yet available on Chrome, but they will be in the near future. -atw On Mon, Nov 9, 2009 at 8:33 PM, John Gregg john...@google.com wrote:

[chromium-dev] Re: [chromium-extensions] Re: Desktop Notifications

2009-11-09 Thread Marcos Aruj
Hi John, To be more specific. We have logic in our background page that acts as a single entry point for several features, including opening site pages according to some user preferences and location. Any component that needs to open a page should do it through this entry point. We also have

[chromium-dev] Re: [chromium-extensions] Re: Desktop Notifications

2009-11-05 Thread Marcos Aruj
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://XX/, but

[chromium-dev] Re: [chromium-extensions] Re: Desktop Notifications

2009-11-05 Thread Aaron Boodman
Creating a bug with a small sample attached would be great. On Thu, Nov 5, 2009 at 3: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-dev] Re: [chromium-extensions] Re: Desktop Notifications

2009-11-05 Thread John Gregg
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

[chromium-dev] Re: [chromium-extensions] Re: Desktop Notifications

2009-11-05 Thread Marcos Aruj
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

[chromium-dev] Re: [chromium-extensions] Re: Desktop Notifications

2009-10-20 Thread Darin Fisher
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

[chromium-dev] Re: [chromium-extensions] Re: Desktop Notifications

2009-10-20 Thread John Gregg
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)

[chromium-dev] Re: [chromium-extensions] Re: Desktop Notifications

2009-10-20 Thread Darin Fisher
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,

[chromium-dev] Re: [chromium-extensions] Re: Desktop Notifications

2009-10-19 Thread Aaron Boodman
Hello, sorry for not replying sooner. The reason I think nobody responded is that this proposal is not technically part of the extensions system, but would be available to all web pages (including extensions). I think that the wider mailing list chromium-dev may contain people who know what the

[chromium-dev] Re: [chromium-extensions] Re: Desktop Notifications

2009-10-19 Thread John Gregg
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,

[chromium-dev] Re: [chromium-extensions] Re: Desktop Notifications

2009-10-19 Thread Evan Martin
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

[chromium-dev] Re: [chromium-extensions] Re: Desktop Notifications

2009-10-19 Thread Ian Fette
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

[chromium-dev] Re: [chromium-extensions] Re: Desktop Notifications

2009-10-19 Thread John Gregg
I've posted the (draft) API spec to http://sites.google.com/a/chromium.org/dev/developers/design-documents/desktop-notifications/api-specification . -John On Mon, Oct 19, 2009 at 11:58 AM, Marcos Aruj marcos.a...@gmail.com wrote: Hi all, Thanks for your answer. @John Gregg, We would really

[chromium-dev] Re: [chromium-extensions] Re: Desktop Notifications

2009-10-19 Thread Drew Wilson
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