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

Unified Diff: chrome/ext/common.js

Issue 6098518317989888: Fix: Notification popup is broken (Closed)
Patch Set: Changes after Thomas notes Created Feb. 18, 2014, 10:13 a.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/common.js
===================================================================
--- a/chrome/ext/common.js
+++ b/chrome/ext/common.js
@@ -112,4 +112,7 @@
ext.backgroundPage.sendMessage = chrome.extension.sendMessage;
else
ext.backgroundPage.sendMessage = chrome.extension.sendRequest;
+
+ if ("notifications" in chrome)
Thomas Greiner 2014/02/18 14:26:17 Add a check for the OS name because Linux support
saroyanm 2014/02/18 16:20:28 Done.
+ ext.notifications = chrome.notifications;
})();

Powered by Google App Engine
This is Rietveld