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

Unified Diff: safari/ext/background.js

Issue 6528746257383424: Issue 1708 - Integrate first-run page changes in Chrome/Opera/Safari (Closed)
Patch Set: Rebased Created Dec. 19, 2014, 8:09 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 | « options.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: safari/ext/background.js
===================================================================
--- a/safari/ext/background.js
+++ b/safari/ext/background.js
@@ -52,16 +52,21 @@
this._tab.activate();
},
sendMessage: function(message, responseCallback)
{
this._messageProxy.sendMessage(message, responseCallback, {pageId: this._id});
}
};
+ ext._getPage = function(id)
+ {
+ return pages[id];
+ };
+
var isPageActive = function(page)
{
var tab = page._tab;
var win = tab.browserWindow;
return win && tab == win.activeTab && page == tab._visiblePage;
};
var forgetPage = function(id)
« no previous file with comments | « options.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld