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

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

Issue 10918103: Give platform apps control over launcher right-click context menu. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase and fix conflicts Created 8 years, 3 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
« no previous file with comments | « chrome/chrome_browser_extensions.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/api/context_menus.json
diff --git a/chrome/common/extensions/api/context_menus.json b/chrome/common/extensions/api/context_menus.json
index 5a333ebb9f6aa7ab61b44dc4cc57f5f59371e3d4..364bac49c9fe495ff742ed274756e238229094af 100644
--- a/chrome/common/extensions/api/context_menus.json
+++ b/chrome/common/extensions/api/context_menus.json
@@ -44,7 +44,8 @@
},
"pageUrl": {
"type": "string",
- "description": "The URL of the page where the menu item was clicked."
+ "optional": true,
+ "description": "The URL of the page where the menu item was clicked. This property is not set if the click occured in a context where there is no current page, such as in a launcher context menu."
},
"frameUrl": {
"type": "string",
@@ -115,7 +116,7 @@
"type": "array",
"items": {
"type": "string",
- "enum": ["all", "page", "frame", "selection", "link", "editable", "image", "video", "audio"]
+ "enum": ["all", "page", "frame", "selection", "link", "editable", "image", "video", "audio", "launcher"]
},
"minItems": 1,
"optional": true,
@@ -209,7 +210,7 @@
"type": "array",
"items": {
"type": "string",
- "enum": ["all", "page", "frame", "selection", "link", "editable", "image", "video", "audio"]
+ "enum": ["all", "page", "frame", "selection", "link", "editable", "image", "video", "audio", "launcher"]
},
"minItems": 1,
"optional": true
« no previous file with comments | « chrome/chrome_browser_extensions.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698