Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7313)

Unified Diff: chrome/common/extensions/api/browser_action.json

Issue 1580983002: Fix the dynamic browser action setIcon path to work with any size icon. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: mac compatible image equality check Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/api/browser_action.json
diff --git a/chrome/common/extensions/api/browser_action.json b/chrome/common/extensions/api/browser_action.json
index d7ff7438db65c837a8fc27d44dfc6c952cfe23c0..0df3432ae4b6958fa6f7d4b70a74b1335b59320b 100644
--- a/chrome/common/extensions/api/browser_action.json
+++ b/chrome/common/extensions/api/browser_action.json
@@ -91,10 +91,7 @@
{ "$ref": "ImageDataType" },
{
"type": "object",
- "properties": {
- "19": {"$ref": "ImageDataType", "optional": true},
- "38": {"$ref": "ImageDataType", "optional": true}
- }
+ "additionalProperties": { "type": "any" }
}
],
"optional": true,
@@ -105,10 +102,7 @@
{ "type": "string" },
{
"type": "object",
- "properties": {
- "19": {"type": "string", "optional": true},
- "38": {"type": "string", "optional": true}
- }
+ "additionalProperties": { "type": "any" }
}
],
"optional": true,

Powered by Google App Engine
This is Rietveld 408576698