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

Unified Diff: background.js

Issue 6528746257383424: Issue 1708 - Integrate first-run page changes in Chrome/Opera/Safari (Closed)
Patch Set: Addressed comment Created Dec. 19, 2014, 7:37 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
« .hgsubstate ('K') | « .hgsubstate ('k') | chrome/ext/background.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
@@ -562,19 +562,16 @@ ext.onMessage.addListener(function (msg,
if (sender.page)
{
sender.page.sendMessage(msg.payload, sendResponse);
// Return true to indicate that we want to call
// sendResponse asynchronously
return true;
}
break;
- default:
- sendResponse({});
- break;
}
});
// update icon when page changes location
ext.pages.onLoading.addListener(function(page)
{
page.sendMessage({type: "clickhide-deactivate"});
refreshIconAndContextMenu(page);
« .hgsubstate ('K') | « .hgsubstate ('k') | chrome/ext/background.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld