OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 script contains unprivileged javascript APIs related to chrome | 5 // This script contains unprivileged javascript APIs related to chrome |
6 // extensions. It is loaded by any extension-related context, such as content | 6 // extensions. It is loaded by any extension-related context, such as content |
7 // scripts or toolstrips. | 7 // scripts or toolstrips. |
8 // See user_script_slave.cc for script that is loaded by content scripts only. | 8 // See user_script_slave.cc for script that is loaded by content scripts only. |
9 // TODO(mpcomplete): we also load this in regular web pages, but don't need to. | 9 // TODO(mpcomplete): we also load this in regular web pages, but don't need to. |
10 | 10 |
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
297 "chromePrivate", | 297 "chromePrivate", |
298 "chromeosInfoPrivate", | 298 "chromeosInfoPrivate", |
299 "contextMenus", | 299 "contextMenus", |
300 "cookies", | 300 "cookies", |
301 "devtools", | 301 "devtools", |
302 "experimental.accessibility", | 302 "experimental.accessibility", |
303 "experimental.app", | 303 "experimental.app", |
304 "experimental.bookmarkManager", | 304 "experimental.bookmarkManager", |
305 "experimental.contentSettings", | 305 "experimental.contentSettings", |
306 "experimental.debugger", | 306 "experimental.debugger", |
| 307 "experimental.downloads", |
307 "experimental.extension", | 308 "experimental.extension", |
308 "experimental.infobars", | 309 "experimental.infobars", |
309 "experimental.input", | 310 "experimental.input", |
310 "experimental.inputUI", | 311 "experimental.inputUI", |
311 "experimental.metrics", | 312 "experimental.metrics", |
312 "experimental.popup", | 313 "experimental.popup", |
313 "experimental.processes", | 314 "experimental.processes", |
314 "experimental.rlz", | 315 "experimental.rlz", |
315 "experimental.sidebar", | 316 "experimental.sidebar", |
316 "experimental.tts", | 317 "experimental.tts", |
(...skipping 30 matching lines...) Expand all Loading... |
347 "extension.onRequestExternal", | 348 "extension.onRequestExternal", |
348 "extension.setUpdateUrlData", | 349 "extension.setUpdateUrlData", |
349 "i18n.getAcceptLanguages" | 350 "i18n.getAcceptLanguages" |
350 ]; | 351 ]; |
351 for (var i = 0; i < privileged.length; i++) { | 352 for (var i = 0; i < privileged.length; i++) { |
352 createStub(privileged[i]); | 353 createStub(privileged[i]); |
353 } | 354 } |
354 } | 355 } |
355 | 356 |
356 })(); | 357 })(); |
OLD | NEW |