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

Unified Diff: chrome/ext/background.js

Issue 4593389433520128: Issue 1742 - Use "highlighted" property instead deprecated "selected" property (Closed)
Patch Set: Created Dec. 30, 2014, 2:16 a.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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/ext/background.js
===================================================================
--- a/chrome/ext/background.js
+++ b/chrome/ext/background.js
@@ -48,7 +48,7 @@
},
activate: function()
{
- chrome.tabs.update(this._id, {selected: true});
+ chrome.tabs.update(this._id, {highlighted: true});
},
sendMessage: function(message, responseCallback)
{
@@ -411,7 +411,7 @@
var tab = tabs[0];
chrome.windows.update(tab.windowId, {focused: true});
- chrome.tabs.update(tab.id, {selected: true});
+ chrome.tabs.update(tab.id, {highlighted: true});
if (callback)
callback(new Page(tab));
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld