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

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: + 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 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 }, 248 },
248 "diagnostics": { 249 "diagnostics": {
249 "dependencies": ["permission:diagnostics"], 250 "dependencies": ["permission:diagnostics"],
250 "extension_types": ["platform_app"], 251 "extension_types": ["platform_app"],
251 "contexts": ["blessed_extension"] 252 "contexts": ["blessed_extension"]
252 }, 253 },
253 "dial": { 254 "dial": {
254 "dependencies": ["permission:dial"], 255 "dependencies": ["permission:dial"],
255 "contexts": ["blessed_extension"] 256 "contexts": ["blessed_extension"]
256 }, 257 },
257 "dns": {
258 "dependencies": ["permission:dns"],
259 "contexts": ["blessed_extension"]
260 },
261 "downloads": { 258 "downloads": {
262 "dependencies": ["permission:downloads"], 259 "dependencies": ["permission:downloads"],
263 "contexts": ["blessed_extension"] 260 "contexts": ["blessed_extension"]
264 }, 261 },
265 "downloadsInternal": { 262 "downloadsInternal": {
266 "internal": true, 263 "internal": true,
267 "channel": "stable", 264 "channel": "stable",
268 "contexts": ["blessed_extension", "unblessed_extension", "content_script"] 265 "contexts": ["blessed_extension", "unblessed_extension", "content_script"]
269 }, 266 },
270 "echoPrivate": { 267 "echoPrivate": {
(...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after
637 "contexts": ["blessed_extension"] 634 "contexts": ["blessed_extension"]
638 }, 635 },
639 "sessions": { 636 "sessions": {
640 "dependencies": ["permission:sessions"], 637 "dependencies": ["permission:sessions"],
641 "contexts": ["blessed_extension"] 638 "contexts": ["blessed_extension"]
642 }, 639 },
643 "signedInDevices": { 640 "signedInDevices": {
644 "dependencies": ["permission:signedInDevices"], 641 "dependencies": ["permission:signedInDevices"],
645 "contexts": ["blessed_extension"] 642 "contexts": ["blessed_extension"]
646 }, 643 },
647 "socket": {
648 "dependencies": ["permission:socket"],
649 "contexts": ["blessed_extension"]
650 },
651 "sockets.tcp": {
652 "dependencies": ["manifest:sockets"],
653 "contexts": ["blessed_extension"]
654 },
655 "sockets.tcpServer": {
656 "dependencies": ["manifest:sockets"],
657 "contexts": ["blessed_extension"]
658 },
659 "sockets.udp": {
660 "dependencies": ["manifest:sockets"],
661 "contexts": ["blessed_extension"]
662 },
663 "storage": {
664 "dependencies": ["permission:storage"],
665 "contexts": ["blessed_extension", "unblessed_extension", "content_script"]
666 },
667 "streamsPrivate": { 644 "streamsPrivate": {
668 "dependencies": ["permission:streamsPrivate"], 645 "dependencies": ["permission:streamsPrivate"],
669 "contexts": ["blessed_extension"] 646 "contexts": ["blessed_extension"]
670 }, 647 },
671 "syncFileSystem": { 648 "syncFileSystem": {
672 "dependencies": ["permission:syncFileSystem"], 649 "dependencies": ["permission:syncFileSystem"],
673 "contexts": ["blessed_extension"] 650 "contexts": ["blessed_extension"]
674 }, 651 },
675 "systemIndicator": { 652 "systemIndicator": {
676 "dependencies": ["manifest:system_indicator"], 653 "dependencies": ["manifest:system_indicator"],
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
710 "tabs": { 687 "tabs": {
711 "channel": "stable", 688 "channel": "stable",
712 "extension_types": ["extension", "legacy_packaged_app"], 689 "extension_types": ["extension", "legacy_packaged_app"],
713 "contexts": ["blessed_extension"] 690 "contexts": ["blessed_extension"]
714 }, 691 },
715 "terminalPrivate": { 692 "terminalPrivate": {
716 "platforms": ["chromeos"], 693 "platforms": ["chromeos"],
717 "dependencies": ["permission:terminalPrivate"], 694 "dependencies": ["permission:terminalPrivate"],
718 "contexts": ["blessed_extension"] 695 "contexts": ["blessed_extension"]
719 }, 696 },
720 "test": {
721 "internal": true,
722 "channel": "stable",
723 "extension_types": "all",
724 "contexts": ["blessed_extension", "unblessed_extension", "content_script"]
725 },
726 "topSites": { 697 "topSites": {
727 "dependencies": ["permission:topSites"], 698 "dependencies": ["permission:topSites"],
728 "contexts": ["blessed_extension"] 699 "contexts": ["blessed_extension"]
729 }, 700 },
730 "tts": { 701 "tts": {
731 "dependencies": ["permission:tts"], 702 "dependencies": ["permission:tts"],
732 "contexts": ["blessed_extension"] 703 "contexts": ["blessed_extension"]
733 }, 704 },
734 "ttsEngine": { 705 "ttsEngine": {
735 "dependencies": ["permission:ttsEngine"], 706 "dependencies": ["permission:ttsEngine"],
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
810 "internal": true, 781 "internal": true,
811 "channel": "stable", 782 "channel": "stable",
812 "dependencies": ["permission:webview"], 783 "dependencies": ["permission:webview"],
813 "contexts": ["blessed_extension"] 784 "contexts": ["blessed_extension"]
814 }, 785 },
815 "windows": { 786 "windows": {
816 "dependencies": ["api:tabs"], 787 "dependencies": ["api:tabs"],
817 "contexts": ["blessed_extension"] 788 "contexts": ["blessed_extension"]
818 } 789 }
819 } 790 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698