Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(251)

Side by Side Diff: chrome/common/extensions/api/context_menus.json

Issue 10832348: Tab value for context menu onclick event should be optional. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 [ 5 [
6 { 6 {
7 "namespace": "contextMenus", 7 "namespace": "contextMenus",
8 "dependencies": [ "tabs" ], 8 "dependencies": [ "tabs" ],
9 "types": [ 9 "types": [
10 { 10 {
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after
295 "description": "Fired when a context menu item is clicked.", 295 "description": "Fired when a context menu item is clicked.",
296 "parameters": [ 296 "parameters": [
297 { 297 {
298 "name": "info", 298 "name": "info",
299 "$ref": "OnClickData", 299 "$ref": "OnClickData",
300 "description": "Information about the item clicked and the context w here the click happened." 300 "description": "Information about the item clicked and the context w here the click happened."
301 }, 301 },
302 { 302 {
303 "name": "tab", 303 "name": "tab",
304 "$ref": "tabs.Tab", 304 "$ref": "tabs.Tab",
305 "description": "The details of the tab where the click took place." 305 "description": "The details of the tab where the click took place.",
Mihai Parparita -not on Chrome 2012/08/16 19:52:42 Mention that the parameter will be missing in case
306 "optional": true
306 } 307 }
307 ] 308 ]
308 } 309 }
309 ] 310 ]
310 } 311 }
311 ] 312 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698