| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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 chrome/common/extensions/api/_features.md to understand this file, as | 6 // See chrome/common/extensions/api/_features.md to understand this file, as |
| 7 // well as feature.h, simple_feature.h, and feature_provider.h. | 7 // well as feature.h, simple_feature.h, and 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 349 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 360 "experimental.devtools.console": { | 360 "experimental.devtools.console": { |
| 361 "dependencies": ["permission:experimental", "manifest:devtools_page"], | 361 "dependencies": ["permission:experimental", "manifest:devtools_page"], |
| 362 "contexts": ["blessed_extension"] | 362 "contexts": ["blessed_extension"] |
| 363 }, | 363 }, |
| 364 "extension": { | 364 "extension": { |
| 365 "channel": "stable", | 365 "channel": "stable", |
| 366 "extension_types": ["extension", "legacy_packaged_app"], | 366 "extension_types": ["extension", "legacy_packaged_app"], |
| 367 "contexts": ["blessed_extension"] | 367 "contexts": ["blessed_extension"] |
| 368 }, | 368 }, |
| 369 "extension.getURL": { | 369 "extension.getURL": { |
| 370 "contexts": ["blessed_extension", "unblessed_extension", "content_script"] | 370 "contexts": ["blessed_extension", "unblessed_extension", "content_script", "
extension_service_worker"] |
| 371 }, | 371 }, |
| 372 "extension.getViews": [ | 372 "extension.getViews": [ |
| 373 { | 373 { |
| 374 "channel": "stable", | 374 "channel": "stable", |
| 375 "contexts": ["blessed_extension"], | 375 "contexts": ["blessed_extension"], |
| 376 "extension_types": ["extension", "legacy_packaged_app"] | 376 "extension_types": ["extension", "legacy_packaged_app"] |
| 377 }, | 377 }, |
| 378 { | 378 { |
| 379 // TODO(yoz): Eliminate this usage. | 379 // TODO(yoz): Eliminate this usage. |
| 380 "channel": "stable", | 380 "channel": "stable", |
| (...skipping 430 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 811 "dependencies": ["api:tabs"], | 811 "dependencies": ["api:tabs"], |
| 812 "contexts": ["blessed_extension"] | 812 "contexts": ["blessed_extension"] |
| 813 }, { | 813 }, { |
| 814 "channel": "stable", | 814 "channel": "stable", |
| 815 "contexts": ["webui"], | 815 "contexts": ["webui"], |
| 816 "matches": [ | 816 "matches": [ |
| 817 "chrome://bookmarks/*" | 817 "chrome://bookmarks/*" |
| 818 ] | 818 ] |
| 819 }] | 819 }] |
| 820 } | 820 } |
| OLD | NEW |