I use a Cocoa WebView to display a website which sends HTML5 Web Notifications. When browsing this page using Safari, I receive User Notifications directly in the Notification Center of Mac OS X Mountain Lion.
How I can achieve the same behavior by implementing my own WebView ? I didn't see any delegate methods related to this feature.
Edit: If this can help someone:
https://github.com/jnordberg/irccloudapp/blob/master/NotificationProvider.m
Thanks to Johan Nordberg for sharing this.