| OLD | NEW |
| 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 // This features file defines extension APIs implemented under src/chrome. | 5 // This features file defines extension APIs implemented under src/chrome. |
| 6 // See extensions/common/features/* to understand this file, in particular | 6 // See extensions/common/features/* to understand this file, in particular |
| 7 // feature.h, simple_feature.h, and base_feature_provider.h. | 7 // feature.h, simple_feature.h, and base_feature_provider.h. |
| 8 // | 8 // |
| 9 // 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 |
| 10 // type will require manually updating chrome/renderer/resources/dispatcher.cc. | 10 // type will require manually updating chrome/renderer/resources/dispatcher.cc. |
| (...skipping 626 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 637 "contexts": ["blessed_extension"] | 637 "contexts": ["blessed_extension"] |
| 638 }, | 638 }, |
| 639 "serial": { | 639 "serial": { |
| 640 "dependencies": ["permission:serial"], | 640 "dependencies": ["permission:serial"], |
| 641 "contexts": ["blessed_extension"] | 641 "contexts": ["blessed_extension"] |
| 642 }, | 642 }, |
| 643 "sessions": { | 643 "sessions": { |
| 644 "dependencies": ["permission:sessions"], | 644 "dependencies": ["permission:sessions"], |
| 645 "contexts": ["blessed_extension"] | 645 "contexts": ["blessed_extension"] |
| 646 }, | 646 }, |
| 647 // TODO(jamescook): Move this to app_shell _api_features.json once that file |
| 648 // exists. |
| 649 "shell": { |
| 650 "contexts": ["blessed_extension"], |
| 651 "extension_types": ["platform_app"] |
| 652 }, |
| 647 "signedInDevices": { | 653 "signedInDevices": { |
| 648 "dependencies": ["permission:signedInDevices"], | 654 "dependencies": ["permission:signedInDevices"], |
| 649 "contexts": ["blessed_extension"] | 655 "contexts": ["blessed_extension"] |
| 650 }, | 656 }, |
| 651 "streamsPrivate": { | 657 "streamsPrivate": { |
| 652 "dependencies": ["permission:streamsPrivate"], | 658 "dependencies": ["permission:streamsPrivate"], |
| 653 "contexts": ["blessed_extension"] | 659 "contexts": ["blessed_extension"] |
| 654 }, | 660 }, |
| 655 "syncFileSystem": { | 661 "syncFileSystem": { |
| 656 "dependencies": ["permission:syncFileSystem"], | 662 "dependencies": ["permission:syncFileSystem"], |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 788 "internal": true, | 794 "internal": true, |
| 789 "channel": "stable", | 795 "channel": "stable", |
| 790 "dependencies": ["permission:webview"], | 796 "dependencies": ["permission:webview"], |
| 791 "contexts": ["blessed_extension"] | 797 "contexts": ["blessed_extension"] |
| 792 }, | 798 }, |
| 793 "windows": { | 799 "windows": { |
| 794 "dependencies": ["api:tabs"], | 800 "dependencies": ["api:tabs"], |
| 795 "contexts": ["blessed_extension"] | 801 "contexts": ["blessed_extension"] |
| 796 } | 802 } |
| 797 } | 803 } |
| OLD | NEW |