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

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

Issue 329001: Remove pageAction badge functions (Closed)
Patch Set: pre commit Created 11 years, 2 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/extension_api.json
diff --git a/chrome/common/extensions/api/extension_api.json b/chrome/common/extensions/api/extension_api.json
index ab44b7de5e52e6725deea3bd7cc3b3bceaf3c56c..aca58f6f7deec25d2dc2c71b4737c163dfb0ef2a 100755
--- a/chrome/common/extensions/api/extension_api.json
+++ b/chrome/common/extensions/api/extension_api.json
@@ -931,71 +931,6 @@
}
}
]
- },
- {
- "name": "setBadgeText",
- "type": "function",
- "description": "Sets the badge text for the page action. The badge is displayed on top of the icon.",
- "parameters": [
- {
- "name": "details",
- "type": "object",
- "properties": {
- "tabId": {"type": "integer", "minimum": 0, "description": "The id of the tab for which you want to modify the page action."},
- "text": {"type": "string", "description": "Any number of characters can be passed, but only about four can fit in the space."}
- }
- }
- ]
- },
- {
- "name": "setBadgeTextColor",
- "type": "function",
- "description": "Sets the text color for the badge.",
- "parameters": [
- {
- "name": "details",
- "type": "object",
- "properties": {
- "tabId": {"type": "integer", "minimum": 0, "description": "The id of the tab for which you want to modify the page action."},
- "color": {
- "type": "array",
- "description": "An array of four integers in the range [0,255] that make up the RGBA color for the text of the badge.",
- "items": {
- "type": "integer",
- "minimum": 0,
- "maximum": 255
- },
- "minItems": 4,
- "maxItems": 4
- }
- }
- }
- ]
- },
- {
- "name": "setBadgeBackgroundColor",
- "type": "function",
- "description": "Sets the background color for the badge.",
- "parameters": [
- {
- "name": "details",
- "type": "object",
- "properties": {
- "tabId": {"type": "integer", "minimum": 0, "description": "The id of the tab for which you want to modify the page action."},
- "color": {
- "type": "array",
- "description": "An array of four integers in the range [0,255] that make up the RGBA color of the badge. For example, opaque red is <code>[255, 0, 0, 255]</code>.",
- "items": {
- "type": "integer",
- "minimum": 0,
- "maximum": 255
- },
- "minItems": 4,
- "maxItems": 4
- }
- }
- }
- ]
}
],
"events": [
« no previous file with comments | « chrome/browser/extensions/extension_page_actions_module.cc ('k') | chrome/common/extensions/docs/pageAction.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698