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

Unified Diff: chrome/ext/content.js

Issue 6276084194607104: Issue 338 - Updated minimum version to Chrome 28 and got rid of legacy compatibility code (Closed)
Patch Set: Created April 16, 2014, 9:54 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
« no previous file with comments | « chrome/ext/common.js ('k') | metadata.chrome » ('j') | popupBlocker.js » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/ext/content.js
===================================================================
--- a/chrome/ext/content.js
+++ b/chrome/ext/content.js
@@ -1,1 +1,4 @@
-ext._setupMessageListener(function() { return {}; });
+chrome.runtime.onMessage.addListener(function(message, sender, sendResponse)
+{
+ return ext.onMessage._dispatch(message, {}, sendResponse);
+});
« no previous file with comments | « chrome/ext/common.js ('k') | metadata.chrome » ('j') | popupBlocker.js » ('J')

Powered by Google App Engine
This is Rietveld