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

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

Issue 246423002: Split feature definitions into extensions and chrome features. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: minor Created 6 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 | Annotate | Revision Log
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 // See c/c/e/features/* to understand this file, in particular feature.h, 5 // This features file defines extension APIs implemented under src/chrome.
6 // simple_feature.h, and base_feature_provider.h. 6 // See extensions/common/features/* to understand this file, in particular
7 // feature.h, simple_feature.h, and base_feature_provider.h.
7 // 8 //
8 // Note that specifying "web_page", "blessed_web_page", or "all" as a context 9 // Note that specifying "web_page", "blessed_web_page", or "all" as a context
9 // type will require manually updating chrome/renderer/resources/dispatcher.cc. 10 // type will require manually updating chrome/renderer/resources/dispatcher.cc.
10 11
11 { 12 {
12 "accessibilityFeatures": [{ 13 "accessibilityFeatures": [{
13 "platforms": ["chromeos"], 14 "platforms": ["chromeos"],
14 "dependencies": ["permission:accessibilityFeatures.modify"], 15 "dependencies": ["permission:accessibilityFeatures.modify"],
15 "contexts": ["blessed_extension"] 16 "contexts": ["blessed_extension"]
16 }, { 17 }, {
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 }, 247 },
247 "diagnostics": { 248 "diagnostics": {
248 "dependencies": ["permission:diagnostics"], 249 "dependencies": ["permission:diagnostics"],
249 "extension_types": ["platform_app"], 250 "extension_types": ["platform_app"],
250 "contexts": ["blessed_extension"] 251 "contexts": ["blessed_extension"]
251 }, 252 },
252 "dial": { 253 "dial": {
253 "dependencies": ["permission:dial"], 254 "dependencies": ["permission:dial"],
254 "contexts": ["blessed_extension"] 255 "contexts": ["blessed_extension"]
255 }, 256 },
256 "dns": {
257 "dependencies": ["permission:dns"],
258 "contexts": ["blessed_extension"]
259 },
260 "downloads": { 257 "downloads": {
261 "dependencies": ["permission:downloads"], 258 "dependencies": ["permission:downloads"],
262 "contexts": ["blessed_extension"] 259 "contexts": ["blessed_extension"]
263 }, 260 },
264 "downloadsInternal": { 261 "downloadsInternal": {
265 "internal": true, 262 "internal": true,
266 "channel": "stable", 263 "channel": "stable",
267 "contexts": ["blessed_extension", "unblessed_extension", "content_script"] 264 "contexts": ["blessed_extension", "unblessed_extension", "content_script"]
268 }, 265 },
269 "echoPrivate": { 266 "echoPrivate": {
(...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after
636 "contexts": ["blessed_extension"] 633 "contexts": ["blessed_extension"]
637 }, 634 },
638 "sessions": { 635 "sessions": {
639 "dependencies": ["permission:sessions"], 636 "dependencies": ["permission:sessions"],
640 "contexts": ["blessed_extension"] 637 "contexts": ["blessed_extension"]
641 }, 638 },
642 "signedInDevices": { 639 "signedInDevices": {
643 "dependencies": ["permission:signedInDevices"], 640 "dependencies": ["permission:signedInDevices"],
644 "contexts": ["blessed_extension"] 641 "contexts": ["blessed_extension"]
645 }, 642 },
646 "socket": {
647 "dependencies": ["permission:socket"],
648 "contexts": ["blessed_extension"]
649 },
650 "sockets.tcp": {
651 "dependencies": ["manifest:sockets"],
652 "contexts": ["blessed_extension"]
653 },
654 "sockets.tcpServer": {
655 "dependencies": ["manifest:sockets"],
656 "contexts": ["blessed_extension"]
657 },
658 "sockets.udp": {
659 "dependencies": ["manifest:sockets"],
660 "contexts": ["blessed_extension"]
661 },
662 "storage": {
663 "dependencies": ["permission:storage"],
664 "contexts": ["blessed_extension", "unblessed_extension", "content_script"]
665 },
666 "streamsPrivate": { 643 "streamsPrivate": {
667 "dependencies": ["permission:streamsPrivate"], 644 "dependencies": ["permission:streamsPrivate"],
668 "contexts": ["blessed_extension"] 645 "contexts": ["blessed_extension"]
669 }, 646 },
670 "syncFileSystem": { 647 "syncFileSystem": {
671 "dependencies": ["permission:syncFileSystem"], 648 "dependencies": ["permission:syncFileSystem"],
672 "contexts": ["blessed_extension"] 649 "contexts": ["blessed_extension"]
673 }, 650 },
674 "systemIndicator": { 651 "systemIndicator": {
675 "dependencies": ["manifest:system_indicator"], 652 "dependencies": ["manifest:system_indicator"],
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
709 "tabs": { 686 "tabs": {
710 "channel": "stable", 687 "channel": "stable",
711 "extension_types": ["extension", "legacy_packaged_app"], 688 "extension_types": ["extension", "legacy_packaged_app"],
712 "contexts": ["blessed_extension"] 689 "contexts": ["blessed_extension"]
713 }, 690 },
714 "terminalPrivate": { 691 "terminalPrivate": {
715 "platforms": ["chromeos"], 692 "platforms": ["chromeos"],
716 "dependencies": ["permission:terminalPrivate"], 693 "dependencies": ["permission:terminalPrivate"],
717 "contexts": ["blessed_extension"] 694 "contexts": ["blessed_extension"]
718 }, 695 },
719 "test": {
720 "internal": true,
721 "channel": "stable",
722 "extension_types": "all",
723 "contexts": ["blessed_extension", "unblessed_extension", "content_script"]
724 },
725 "topSites": { 696 "topSites": {
726 "dependencies": ["permission:topSites"], 697 "dependencies": ["permission:topSites"],
727 "contexts": ["blessed_extension"] 698 "contexts": ["blessed_extension"]
728 }, 699 },
729 "tts": { 700 "tts": {
730 "dependencies": ["permission:tts"], 701 "dependencies": ["permission:tts"],
731 "contexts": ["blessed_extension"] 702 "contexts": ["blessed_extension"]
732 }, 703 },
733 "ttsEngine": { 704 "ttsEngine": {
734 "dependencies": ["permission:ttsEngine"], 705 "dependencies": ["permission:ttsEngine"],
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
809 "internal": true, 780 "internal": true,
810 "channel": "stable", 781 "channel": "stable",
811 "dependencies": ["permission:webview"], 782 "dependencies": ["permission:webview"],
812 "contexts": ["blessed_extension"] 783 "contexts": ["blessed_extension"]
813 }, 784 },
814 "windows": { 785 "windows": {
815 "dependencies": ["api:tabs"], 786 "dependencies": ["api:tabs"],
816 "contexts": ["blessed_extension"] 787 "contexts": ["blessed_extension"]
817 } 788 }
818 } 789 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698