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

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

Issue 1833773002: [Extensions] Convert APIs to use movable types [8] (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": "pageAction", 7 "namespace": "pageAction",
8 "description": "Use the <code>chrome.pageAction</code> API to put icons in t he main Google Chrome toolbar, to the right of the address bar. Page actions rep resent actions that can be taken on the current page, but that aren't applicable to all pages. Page actions appear grayed out when inactive.", 8 "description": "Use the <code>chrome.pageAction</code> API to put icons in t he main Google Chrome toolbar, to the right of the address bar. Page actions rep resent actions that can be taken on the current page, but that aren't applicable to all pages. Page actions appear grayed out when inactive.",
9 "compiler_options": {"use_movable_types": true},
9 "types": [ 10 "types": [
10 { 11 {
11 "id": "ImageDataType", 12 "id": "ImageDataType",
12 "type": "object", 13 "type": "object",
13 "isInstanceOf": "ImageData", 14 "isInstanceOf": "ImageData",
14 "additionalProperties": { "type": "any" }, 15 "additionalProperties": { "type": "any" },
15 "description": "Pixel data for an image. Must be an ImageData object (fo r example, from a <code>canvas</code> element)." 16 "description": "Pixel data for an image. Must be an ImageData object (fo r example, from a <code>canvas</code> element)."
16 } 17 }
17 ], 18 ],
18 "functions": [ 19 "functions": [
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 "parameters": [ 177 "parameters": [
177 { 178 {
178 "name": "tab", 179 "name": "tab",
179 "$ref": "tabs.Tab" 180 "$ref": "tabs.Tab"
180 } 181 }
181 ] 182 ]
182 } 183 }
183 ] 184 ]
184 } 185 }
185 ] 186 ]
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/omnibox.json ('k') | chrome/common/extensions/api/page_capture.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698