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

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

Issue 1828683002: [Extensions] Convert APIs to use movable types [3] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Antony's 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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": "contextMenusInternal", 7 "namespace": "contextMenusInternal",
8 "description": "Use the <code>chrome.contextMenus</code> API to add items to Google Chrome's context menu. You can choose what types of objects your context menu additions apply to, such as images, hyperlinks, and pages.", 8 "description": "Use the <code>chrome.contextMenus</code> API to add items to Google Chrome's context menu. You can choose what types of objects your context menu additions apply to, such as images, hyperlinks, and pages.",
9 "compiler_options": {"use_movable_types": true},
9 "types": [ 10 "types": [
10 { 11 {
11 "id": "OnClickData", 12 "id": "OnClickData",
12 "type": "object", 13 "type": "object",
13 "description": "Information sent when a context menu item is clicked.", 14 "description": "Information sent when a context menu item is clicked.",
14 "properties": { 15 "properties": {
15 "menuItemId": { 16 "menuItemId": {
16 "choices": [ 17 "choices": [
17 { "type": "integer" }, 18 { "type": "integer" },
18 { "type": "string" } 19 { "type": "string" }
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 "name": "tab", 95 "name": "tab",
95 "$ref": "tabs.Tab", 96 "$ref": "tabs.Tab",
96 "description": "The details of the tab where the click took place. I f the click did not take place in a tab, this parameter will be missing.", 97 "description": "The details of the tab where the click took place. I f the click did not take place in a tab, this parameter will be missing.",
97 "optional": true 98 "optional": true
98 } 99 }
99 ] 100 ]
100 } 101 }
101 ] 102 ]
102 } 103 }
103 ] 104 ]
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/context_menus.json ('k') | chrome/common/extensions/api/cookies.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698