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

Unified Diff: include.preload.js

Issue 29338491: Issue 3823 - Split up message responder code (Closed)
Patch Set: Implement getPort() Created March 21, 2016, 3:25 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: include.preload.js
===================================================================
--- a/include.preload.js
+++ b/include.preload.js
@@ -177,7 +177,7 @@
{
var attr = document.documentElement.getAttribute("data-adblockkey");
if (attr)
- ext.backgroundPage.sendMessage({type: "add-sitekey", token: attr});
+ ext.backgroundPage.sendMessage({type: "filter.addKey", token: attr});
}
function getContentDocument(element)
@@ -243,7 +243,7 @@
if (matchedSelectors.length > 0)
ext.backgroundPage.sendMessage({
- type: "trace-elemhide",
+ type: "devtools.traceElemHide",
selectors: matchedSelectors
});
},

Powered by Google App Engine
This is Rietveld