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

Unified Diff: blockElement.postload.js

Issue 29338491: Issue 3823 - Split up message responder code (Closed)
Patch Set: Created March 17, 2016, 2:04 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
« no previous file with comments | « background.js ('k') | chrome/devtools.js » ('j') | lib/filterComposer.js » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blockElement.postload.js
===================================================================
--- a/blockElement.postload.js
+++ b/blockElement.postload.js
@@ -44,7 +44,7 @@
{
ext.backgroundPage.sendMessage(
{
- type: "compose-filters",
+ type: "composer.getFilters",
tagName: element.localName,
id: element.id,
src: element.getAttribute("src"),
@@ -385,7 +385,7 @@
ext.backgroundPage.sendMessage(
{
- type: "blockelement-open-popup"
+ type: "composer.openDialog"
},
popupId =>
{
@@ -585,5 +585,5 @@
});
if (window == window.top)
- ext.backgroundPage.sendMessage({type: "report-html-page"});
+ ext.backgroundPage.sendMessage({type: "composer.ready"});
}
« no previous file with comments | « background.js ('k') | chrome/devtools.js » ('j') | lib/filterComposer.js » ('J')

Powered by Google App Engine
This is Rietveld