Hi Mikhail, Below is the result of my investigation. (1) I believe this is the newest spec of WebNotification : http://www.w3.org/TR/notifications/. (2) As embedder, we only need to implement some interfaces: content::ContentBrowserClient::RequestDesktopNotificationPermission() content::ContentBrowserClient::ShowDesktopNotification() content::ContentBrowserClient::CancelDesktopNotification() (3) For Linux, we can leverage the existent code inside of "ui". Basically, we only need to create a "ui::message_center::NotificationView" and invoke some interfaces of "ui::message_center::DesktopPopupAlighnmentDelegate" to show it on the corner of desktop as Chrome and Firefox do. All the class mentioned above, by my investigation, have taken X11 desktop into consideration already. (4) For Tizen, we can leverage more high level service provided by platform, as Crosswalk of Android depends on "android.app.Notification" and "android.app.NotificationManager" to implement "WebNotification".
Thank you very much for your time. Regards, Peter Wang -----Original Message----- From: Pozdnyakov, Mikhail Sent: Monday, January 19, 2015 7:30 PM To: Wang, Peter H; [email protected] Cc: Christiansen, Kenneth R; Poussa, Sakari; Balestrieri, Francesco; You, Yongkang Subject: RE: Intent to implement: Web Notification for Crosswalk Tizen and Linux Hi Peter, Could you pls attach a link to the spec and give some details on how you would like to implement it. BR, Mikhail ________________________________________ From: Wang, Peter H Sent: Monday, January 19, 2015 9:42 AM To: [email protected] Cc: Christiansen, Kenneth R; Poussa, Sakari; Pozdnyakov, Mikhail; Balestrieri, Francesco; You, Yongkang Subject: Intent to implement: Web Notification for Crosswalk Tizen and Linux Hi all, When I was investigating other problem I found Crosswalk doesn't support Web Notification on Tizen and Linux. The related bug is XWALK-286<https://crosswalk-project.org/jira/browse/XWALK-286>. I'd like to try to implement it. Thank you very much. Regards, Peter Wang _______________________________________________ Crosswalk-dev mailing list [email protected] https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-dev
