Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: chrome/ext/background.js

Issue 6098518317989888: Fix: Notification popup is broken (Closed)
Patch Set: Change back activeNotification unset Created Feb. 26, 2014, 6:31 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/ext/background.js
===================================================================
--- a/chrome/ext/background.js
+++ b/chrome/ext/background.js
@@ -579,4 +579,7 @@
};
ext.onMessage = new BackgroundMessageEventTarget();
+ // Chrome on Linux does not fully support chrome.notifications yet ( https://code.google.com/p/chromium/issues/detail?id=291485 )
+ if ("notifications" in chrome && navigator.platform.indexOf("Linux") == -1)
+ ext.browserNotifications = chrome.notifications;
Sebastian Noack 2014/02/28 09:56:03 This doesn't belong into the abstraction layer, si
Thomas Greiner 2014/02/28 10:10:55 Without having further looked into it Safari does
Sebastian Noack 2014/02/28 10:19:45 No, it is not for Safari, but for Mac OS. It looks
saroyanm 2014/02/28 11:18:43 Guys not that much know about safari extension dev
Sebastian Noack 2014/02/28 12:35:03 What Thomas suggested was Mac OS stuff, which we c
saroyanm 2014/02/28 13:47:04 Now I see your point Sebastian, make sense. What y
Thomas Greiner 2014/02/28 16:04:14 If there is actually no Safari-specific implementa
Sebastian Noack 2014/02/28 16:59:22 Not for rich notfications with UI elements and stu
})();

Powered by Google App Engine
This is Rietveld