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

Unified Diff: chrome/ext/background.js

Issue 29349240: Issue 4218 - Browser icons for newer Chrome + Edge (Closed)
Patch Set: Improved 20px icons, compressed with pngout Created Aug. 9, 2016, 1:51 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 | chrome/icons/abp-16.png » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/ext/background.js
diff --git a/chrome/ext/background.js b/chrome/ext/background.js
index 44fe36ebdc33532d3175801a8d5fd5e25b4c5633..fe0cd37f2fa1b68ff83ab00a5ab9a4f46811777b 100644
--- a/chrome/ext/background.js
+++ b/chrome/ext/background.js
@@ -183,8 +183,12 @@
chrome.browserAction.setIcon({
tabId: this._tabId,
path: {
+ 16: this._changes.iconPath.replace("$size", "16"),
19: this._changes.iconPath.replace("$size", "19"),
- 38: this._changes.iconPath.replace("$size", "38")
+ 20: this._changes.iconPath.replace("$size", "20"),
+ 32: this._changes.iconPath.replace("$size", "32"),
+ 38: this._changes.iconPath.replace("$size", "38"),
+ 40: this._changes.iconPath.replace("$size", "40")
}
});
}
« no previous file with comments | « no previous file | chrome/icons/abp-16.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld