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: Created Dec. 17, 2014, 10:40 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 | « metadata.common ('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
@@ -42,16 +42,20 @@
this.browserAction = new BrowserAction(this);
this.contextMenus = new ContextMenus(this);
};
Page.prototype = {
get url()
{
return this._frames[0].url;
},
+ equals: function(page)
+ {
+ return this._id == page._id;
+ },
activate: function()
{
this._tab.activate();
},
sendMessage: function(message, responseCallback)
{
this._messageProxy.sendMessage(message, responseCallback, {pageId: this._id});
}
« no previous file with comments | « metadata.common ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld