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

Side by Side Diff: extensions/common/api/runtime.json

Issue 1841543002: [Extensions] Convert APIs to use movable types [12] (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
« no previous file with comments | « extensions/common/api/printer_provider_internal.idl ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 // Note: Many of these functions and events are implemented by hand and should 5 // Note: Many of these functions and events are implemented by hand and should
6 // not elicit any code generation from the schema compiler. These items are 6 // not elicit any code generation from the schema compiler. These items are
7 // marked "nocompile." 7 // marked "nocompile."
8 [ 8 [
9 { 9 {
10 "namespace": "runtime", 10 "namespace": "runtime",
11 "description": "Use the <code>chrome.runtime</code> API to retrieve the back ground page, return details about the manifest, and listen for and respond to ev ents in the app or extension lifecycle. You can also use this API to convert the relative path of URLs to fully-qualified URLs.", 11 "description": "Use the <code>chrome.runtime</code> API to retrieve the back ground page, return details about the manifest, and listen for and respond to ev ents in the app or extension lifecycle. You can also use this API to convert the relative path of URLs to fully-qualified URLs.",
12 "compiler_options": {"use_movable_types": true},
12 "types": [ 13 "types": [
13 { 14 {
14 "id": "Port", 15 "id": "Port",
15 "type": "object", 16 "type": "object",
16 "nocompile": true, 17 "nocompile": true,
17 "description": "An object which allows two way communication with other pages.", 18 "description": "An object which allows two way communication with other pages.",
18 "properties": { 19 "properties": {
19 "name": {"type": "string"}, 20 "name": {"type": "string"},
20 "disconnect": { "type": "function" }, 21 "disconnect": { "type": "function" },
21 "onDisconnect": { "$ref": "events.Event" }, 22 "onDisconnect": { "$ref": "events.Event" },
(...skipping 502 matching lines...) Expand 10 before | Expand all | Expand 10 after
524 { 525 {
525 "$ref": "OnRestartRequiredReason", 526 "$ref": "OnRestartRequiredReason",
526 "name": "reason", 527 "name": "reason",
527 "description": "The reason that the event is being dispatched." 528 "description": "The reason that the event is being dispatched."
528 } 529 }
529 ] 530 ]
530 } 531 }
531 ] 532 ]
532 } 533 }
533 ] 534 ]
OLDNEW
« no previous file with comments | « extensions/common/api/printer_provider_internal.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698