| 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 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 "dependencies": ["permission:app.window.shape"], | 69 "dependencies": ["permission:app.window.shape"], |
| 70 "contexts": ["blessed_extension"] | 70 "contexts": ["blessed_extension"] |
| 71 }, | 71 }, |
| 72 // The API for the *embedder* of appview. Appview has both an embedder and | 72 // The API for the *embedder* of appview. Appview has both an embedder and |
| 73 // guest API, which are different. | 73 // guest API, which are different. |
| 74 "appViewEmbedderInternal": { | 74 "appViewEmbedderInternal": { |
| 75 "internal": true, | 75 "internal": true, |
| 76 "contexts": ["blessed_extension"], | 76 "contexts": ["blessed_extension"], |
| 77 "dependencies": ["permission:appview"] | 77 "dependencies": ["permission:appview"] |
| 78 }, | 78 }, |
| 79 // Note that exposing this doesn't necessarily expose AppView, |
| 80 // appViewEmbedderInternal is required for that. |
| 81 // See http://crbug.com/437891. |
| 79 "appViewGuestInternal": { | 82 "appViewGuestInternal": { |
| 80 "internal": true, | 83 "internal": true, |
| 81 "channel": "dev", | 84 "channel": "stable", |
| 82 "contexts": ["blessed_extension"] | 85 "contexts": ["blessed_extension"] |
| 83 }, | 86 }, |
| 84 "bluetooth": { | 87 "bluetooth": { |
| 85 "dependencies": ["manifest:bluetooth"], | 88 "dependencies": ["manifest:bluetooth"], |
| 86 "contexts": ["blessed_extension"] | 89 "contexts": ["blessed_extension"] |
| 87 }, | 90 }, |
| 88 "bluetoothLowEnergy": { | 91 "bluetoothLowEnergy": { |
| 89 "dependencies": ["manifest:bluetooth"], | 92 "dependencies": ["manifest:bluetooth"], |
| 90 "contexts": ["blessed_extension"] | 93 "contexts": ["blessed_extension"] |
| 91 }, | 94 }, |
| (...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 351 }], | 354 }], |
| 352 "webViewRequest": [{ | 355 "webViewRequest": [{ |
| 353 "dependencies": ["permission:webview"], | 356 "dependencies": ["permission:webview"], |
| 354 "contexts": ["blessed_extension"] | 357 "contexts": ["blessed_extension"] |
| 355 }, { | 358 }, { |
| 356 "channel": "stable", | 359 "channel": "stable", |
| 357 "contexts": ["webui"], | 360 "contexts": ["webui"], |
| 358 "matches": ["chrome://chrome-signin/*"] | 361 "matches": ["chrome://chrome-signin/*"] |
| 359 }] | 362 }] |
| 360 } | 363 } |
| OLD | NEW |