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

Unified Diff: background.js

Issue 29338771: Issue 3843 - Move page load logic to their respective modules (Closed)
Patch Set: Created March 20, 2016, 3:46 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 | « no previous file | lib/filterComposer.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: background.js
===================================================================
--- a/background.js
+++ b/background.js
@@ -37,7 +37,6 @@
var ElemHide = require("elemHide").ElemHide;
var defaultMatcher = require("matcher").defaultMatcher;
var Prefs = require("prefs").Prefs;
-var showNextNotificationForUrl = require("notificationHelper").showNextNotificationForUrl;
var port = require("messaging").port;
var devtools = require("devtools");
@@ -144,10 +143,3 @@
targetPage.sendMessage(msg.payload);
}
});
-
-// update icon when page changes location
-ext.pages.onLoading.addListener(function(page)
-{
- page.sendMessage({type: "composer.content.finished"});
- showNextNotificationForUrl(page.url);
-});
« no previous file with comments | « no previous file | lib/filterComposer.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld