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

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

Issue 2297043002: Web expose FileSystemFileEntry, FileSystemDirectoryEntry and friends (Closed)
Patch Set: Rebased Created 4 years 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/app_runtime.idl ('k') | ppapi/tests/test_post_message.cc » ('j') | 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",
(...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after
402 "name": "platformInfo", 402 "name": "platformInfo",
403 "$ref": "PlatformInfo" 403 "$ref": "PlatformInfo"
404 } 404 }
405 ] 405 ]
406 } 406 }
407 ] 407 ]
408 }, 408 },
409 { 409 {
410 "name": "getPackageDirectoryEntry", 410 "name": "getPackageDirectoryEntry",
411 "type": "function", 411 "type": "function",
412 "description": "Returns a DirectoryEntry for the package directory.", 412 "description": "Returns a FileSystemDirectoryEntry for the package direc tory.",
413 "parameters": [ 413 "parameters": [
414 { 414 {
415 "type": "function", 415 "type": "function",
416 "name": "callback", 416 "name": "callback",
417 "parameters": [ 417 "parameters": [
418 { 418 {
419 "name": "directoryEntry", 419 "name": "directoryEntry",
420 "type": "object", 420 "type": "object",
421 "additionalProperties": { "type": "any" }, 421 "additionalProperties": { "type": "any" },
422 "isInstanceOf": "DirectoryEntry" 422 "isInstanceOf": "FileSystemDirectoryEntry"
423 } 423 }
424 ] 424 ]
425 } 425 }
426 ] 426 ]
427 } 427 }
428 ], 428 ],
429 "events": [ 429 "events": [
430 { 430 {
431 "name": "onStartup", 431 "name": "onStartup",
432 "type": "function", 432 "type": "function",
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
561 { 561 {
562 "$ref": "OnRestartRequiredReason", 562 "$ref": "OnRestartRequiredReason",
563 "name": "reason", 563 "name": "reason",
564 "description": "The reason that the event is being dispatched." 564 "description": "The reason that the event is being dispatched."
565 } 565 }
566 ] 566 ]
567 } 567 }
568 ] 568 ]
569 } 569 }
570 ] 570 ]
OLDNEW
« no previous file with comments | « extensions/common/api/app_runtime.idl ('k') | ppapi/tests/test_post_message.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698