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

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

Issue 1848103005: [Extensions] Remove the "use_movable_types" entry from idl/json files (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 (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 "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},
10 "properties": { 9 "properties": {
11 "ACTION_MENU_TOP_LEVEL_LIMIT": { 10 "ACTION_MENU_TOP_LEVEL_LIMIT": {
12 "value": 6, 11 "value": 6,
13 "description": "The maximum number of top level extension items that can be added to an extension action context menu. Any items beyond this limit will be ignored." 12 "description": "The maximum number of top level extension items that can be added to an extension action context menu. Any items beyond this limit will be ignored."
14 } 13 }
15 }, 14 },
16 "types": [ 15 "types": [
17 { 16 {
18 "id": "ContextType", 17 "id": "ContextType",
19 "type": "string", 18 "type": "string",
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 ], 250 ],
252 "events": [ 251 "events": [
253 { 252 {
254 "name": "onClicked", 253 "name": "onClicked",
255 "type": "function", 254 "type": "function",
256 "$ref": "contextMenusInternal.onClicked" 255 "$ref": "contextMenusInternal.onClicked"
257 } 256 }
258 ] 257 ]
259 } 258 }
260 ] 259 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698