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: Popup notification fix Created Feb. 26, 2014, 4:14 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
« background.js ('K') | « background.js ('k') | metadata.chrome » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
})();
« background.js ('K') | « background.js ('k') | metadata.chrome » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld