| 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 383 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 394 "experimental.devtools.console": { | 394 "experimental.devtools.console": { |
| 395 "dependencies": ["permission:experimental", "manifest:devtools_page"], | 395 "dependencies": ["permission:experimental", "manifest:devtools_page"], |
| 396 "contexts": ["blessed_extension"] | 396 "contexts": ["blessed_extension"] |
| 397 }, | 397 }, |
| 398 "extension": { | 398 "extension": { |
| 399 "channel": "stable", | 399 "channel": "stable", |
| 400 "extension_types": ["extension", "legacy_packaged_app"], | 400 "extension_types": ["extension", "legacy_packaged_app"], |
| 401 "contexts": ["blessed_extension"] | 401 "contexts": ["blessed_extension"] |
| 402 }, | 402 }, |
| 403 "extension.getURL": { | 403 "extension.getURL": { |
| 404 "contexts": ["blessed_extension", "unblessed_extension", "content_script"] | 404 "contexts": ["blessed_extension", "unblessed_extension", "content_script", "
extension_service_worker"] |
| 405 }, | 405 }, |
| 406 "extension.getViews": [ | 406 "extension.getViews": [ |
| 407 { | 407 { |
| 408 "channel": "stable", | 408 "channel": "stable", |
| 409 "contexts": ["blessed_extension"], | 409 "contexts": ["blessed_extension"], |
| 410 "extension_types": ["extension", "legacy_packaged_app"] | 410 "extension_types": ["extension", "legacy_packaged_app"] |
| 411 }, | 411 }, |
| 412 { | 412 { |
| 413 // TODO(yoz): Eliminate this usage. | 413 // TODO(yoz): Eliminate this usage. |
| 414 "channel": "stable", | 414 "channel": "stable", |
| (...skipping 430 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 845 "dependencies": ["api:tabs"], | 845 "dependencies": ["api:tabs"], |
| 846 "contexts": ["blessed_extension"] | 846 "contexts": ["blessed_extension"] |
| 847 }, { | 847 }, { |
| 848 "channel": "stable", | 848 "channel": "stable", |
| 849 "contexts": ["webui"], | 849 "contexts": ["webui"], |
| 850 "matches": [ | 850 "matches": [ |
| 851 "chrome://bookmarks/*" | 851 "chrome://bookmarks/*" |
| 852 ] | 852 ] |
| 853 }] | 853 }] |
| 854 } | 854 } |
| OLD | NEW |