| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/extensions. | 5 // This features file defines extension APIs implemented under src/extensions. |
| 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 base_feature_provider.h. | 7 // well as 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 428 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 439 }, | 439 }, |
| 440 "test": [{ | 440 "test": [{ |
| 441 "channel": "stable", | 441 "channel": "stable", |
| 442 "extension_types": "all", | 442 "extension_types": "all", |
| 443 // Everything except web pages and WebUI. WebUI is declared in a separate | 443 // Everything except web pages and WebUI. WebUI is declared in a separate |
| 444 // rule to keep the "matches" property isolated. | 444 // rule to keep the "matches" property isolated. |
| 445 "contexts": [ | 445 "contexts": [ |
| 446 "blessed_extension", | 446 "blessed_extension", |
| 447 "blessed_web_page", | 447 "blessed_web_page", |
| 448 "content_script", | 448 "content_script", |
| 449 "extension_service_worker", |
| 449 "unblessed_extension" | 450 "unblessed_extension" |
| 450 ] | 451 ] |
| 451 }, { | 452 }, { |
| 452 "channel": "stable", | 453 "channel": "stable", |
| 453 "contexts": ["webui"], | 454 "contexts": ["webui"], |
| 454 "matches": [ | 455 "matches": [ |
| 455 "chrome://extensions/*", | 456 "chrome://extensions/*", |
| 456 "chrome://extensions-frame/*", | 457 "chrome://extensions-frame/*", |
| 457 "chrome://chrome/extensions/*" | 458 "chrome://chrome/extensions/*" |
| 458 ] | 459 ] |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 517 }, { | 518 }, { |
| 518 "channel": "stable", | 519 "channel": "stable", |
| 519 "contexts": ["webui"], | 520 "contexts": ["webui"], |
| 520 "matches": [ | 521 "matches": [ |
| 521 "chrome://chrome-signin/*", | 522 "chrome://chrome-signin/*", |
| 522 "chrome://media-router/*", | 523 "chrome://media-router/*", |
| 523 "chrome://oobe/*" | 524 "chrome://oobe/*" |
| 524 ] | 525 ] |
| 525 }] | 526 }] |
| 526 } | 527 } |
| OLD | NEW |