Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(207)

Side by Side Diff: extensions/common/api/_api_features.json

Issue 1115213004: Add chrome.hid.getUserSelectedDevices API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 "internal": true, 161 "internal": true,
162 "channel": "trunk", 162 "channel": "trunk",
163 "contexts": "all", 163 "contexts": "all",
164 "matches": ["<all_urls>"] 164 "matches": ["<all_urls>"]
165 } 165 }
166 ], 166 ],
167 "hid": { 167 "hid": {
168 "dependencies": ["permission:hid"], 168 "dependencies": ["permission:hid"],
169 "contexts": ["blessed_extension"] 169 "contexts": ["blessed_extension"]
170 }, 170 },
171 "hid.getUserSelectedDevices": {
172 "contexts": ["blessed_extension"],
173 "channel": "dev",
174 "dependencies": ["permission:hid"]
175 },
171 "idle": { 176 "idle": {
172 "dependencies": ["permission:idle"], 177 "dependencies": ["permission:idle"],
173 "contexts": ["blessed_extension"] 178 "contexts": ["blessed_extension"]
174 }, 179 },
175 "management": [{ 180 "management": [{
176 "dependencies": ["permission:management"], 181 "dependencies": ["permission:management"],
177 "contexts": ["blessed_extension"], 182 "contexts": ["blessed_extension"],
178 "default_parent": true 183 "default_parent": true
179 }, { 184 }, {
180 "channel": "stable", 185 "channel": "stable",
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
418 }], 423 }],
419 "webViewRequest": [{ 424 "webViewRequest": [{
420 "dependencies": ["permission:webview"], 425 "dependencies": ["permission:webview"],
421 "contexts": ["blessed_extension"] 426 "contexts": ["blessed_extension"]
422 }, { 427 }, {
423 "channel": "stable", 428 "channel": "stable",
424 "contexts": ["webui"], 429 "contexts": ["webui"],
425 "matches": ["chrome://chrome-signin/*", "chrome://oobe/*"] 430 "matches": ["chrome://chrome-signin/*", "chrome://oobe/*"]
426 }] 431 }]
427 } 432 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698