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

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

Issue 1772513002: Add frameId to contextMenus.onClicked / onclick. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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/context_menus_internal.json
diff --git a/chrome/common/extensions/api/context_menus_internal.json b/chrome/common/extensions/api/context_menus_internal.json
index da2a49f7a31aed7b00735d73f4dc6f9ab5262cb5..2e879b060db72c8bf93b3acd5e2e71461c54c779 100644
--- a/chrome/common/extensions/api/context_menus_internal.json
+++ b/chrome/common/extensions/api/context_menus_internal.json
@@ -52,6 +52,11 @@
"optional": true,
"description": " The URL of the frame of the element where the context menu was clicked, if it was in a frame."
},
+ "frameId": {
+ "type": "integer",
+ "optional": true,
+ "description": " The <a href='webNavigation#frame_ids'>ID of the frame</a> of the element where the context menu was clicked, if it was in a frame."
+ },
"selectionText": {
"type": "string",
"optional": true,

Powered by Google App Engine
This is Rietveld 408576698