Chromium Code Reviews| 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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 66 "channel": "stable", | 66 "channel": "stable", |
| 67 "extension_types": ["extension", "legacy_packaged_app", "platform_app"], | 67 "extension_types": ["extension", "legacy_packaged_app", "platform_app"], |
| 68 "contexts": ["blessed_extension"] | 68 "contexts": ["blessed_extension"] |
| 69 }, | 69 }, |
| 70 "guestViewInternal": [ | 70 "guestViewInternal": [ |
| 71 { | 71 { |
| 72 "internal": true, | 72 "internal": true, |
| 73 "channel": "stable", | 73 "channel": "stable", |
| 74 "contexts": ["blessed_extension"] | 74 "contexts": ["blessed_extension"] |
| 75 }, { | 75 }, { |
| 76 // Component extensions can use the guestViewInternal API from iframes. | |
|
Ken Rockot(use gerrit already)
2014/09/22 20:47:33
Why are you deleting this feature?
guohui
2014/09/22 20:58:59
same as i explained in the other file, i added thi
| |
| 77 "location": "component", | |
| 78 "internal": true, | |
| 79 "dependencies": ["permission:webview"], | |
| 80 "contexts": ["unblessed_extension"] | |
| 81 }, { | |
| 82 "internal": true, | 76 "internal": true, |
| 83 "channel": "trunk", | 77 "channel": "trunk", |
| 84 "contexts": ["webui"], | 78 "contexts": ["webui"], |
| 85 "matches": ["chrome://extensions-frame/*", "chrome://extensions/*"] | 79 "matches": ["chrome://extensions-frame/*", |
|
Ken Rockot(use gerrit already)
2014/09/22 20:47:33
formatting nit: All other instances of multiline c
guohui
2014/09/22 20:58:59
Done.
| |
| 80 "chrome://extensions/*", | |
| 81 "chrome://chrome-signin/*"] | |
| 86 } | 82 } |
| 87 ], | 83 ], |
| 88 "hid": { | 84 "hid": { |
| 89 "dependencies": ["permission:hid"], | 85 "dependencies": ["permission:hid"], |
| 90 "contexts": ["blessed_extension"] | 86 "contexts": ["blessed_extension"] |
| 91 }, | 87 }, |
| 92 "power": { | 88 "power": { |
| 93 "dependencies": ["permission:power"], | 89 "dependencies": ["permission:power"], |
| 94 "contexts": ["blessed_extension"] | 90 "contexts": ["blessed_extension"] |
| 95 }, | 91 }, |
| (...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 245 "E703483CEF33DEC18B4B6DD84B5C776FB9182BDB", | 241 "E703483CEF33DEC18B4B6DD84B5C776FB9182BDB", |
| 246 "1A26E32DE447A17CBE5E9750CDBA78F58539B39C", | 242 "1A26E32DE447A17CBE5E9750CDBA78F58539B39C", |
| 247 "59048028102D7B4C681DBC7BC6CD980C3DC66DA3" | 243 "59048028102D7B4C681DBC7BC6CD980C3DC66DA3" |
| 248 ] | 244 ] |
| 249 }], | 245 }], |
| 250 "webViewInternal": [{ | 246 "webViewInternal": [{ |
| 251 "internal": true, | 247 "internal": true, |
| 252 "dependencies": ["permission:webview"], | 248 "dependencies": ["permission:webview"], |
| 253 "contexts": ["blessed_extension"] | 249 "contexts": ["blessed_extension"] |
| 254 }, { | 250 }, { |
| 255 // Component extensions can use the webViewInternal API from iframes. | |
|
Ken Rockot(use gerrit already)
2014/09/22 20:47:32
And this one?
guohui
2014/09/22 20:58:59
same as above.
| |
| 256 "location": "component", | |
| 257 "internal": true, | 251 "internal": true, |
| 258 "dependencies": ["permission:webview"], | 252 "channel": "dev", |
| 259 "contexts": ["unblessed_extension"] | 253 "contexts": ["webui"], |
| 254 "matches": ["chrome://chrome-signin/*"] | |
| 260 }] | 255 }] |
| 261 } | 256 } |
| OLD | NEW |