| 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 "browserAction", | 297 "browserAction", |
| 298 "chromeAuthPrivate", | 298 "chromeAuthPrivate", |
| 299 "chromePrivate", | 299 "chromePrivate", |
| 300 "chromeosInfoPrivate", | 300 "chromeosInfoPrivate", |
| 301 "contextMenus", | 301 "contextMenus", |
| 302 "cookies", | 302 "cookies", |
| 303 "devtools", | 303 "devtools", |
| 304 "experimental.accessibility", | 304 "experimental.accessibility", |
| 305 "experimental.app", | 305 "experimental.app", |
| 306 "experimental.bookmarkManager", | 306 "experimental.bookmarkManager", |
| 307 "experimental.clear", |
| 307 "experimental.contentSettings", | 308 "experimental.contentSettings", |
| 308 "experimental.debugger", | 309 "experimental.debugger", |
| 309 "experimental.downloads", | 310 "experimental.downloads", |
| 310 "experimental.extension", | 311 "experimental.extension", |
| 311 "experimental.infobars", | 312 "experimental.infobars", |
| 312 "experimental.input", | 313 "experimental.input", |
| 313 "experimental.inputUI", | 314 "experimental.inputUI", |
| 314 "experimental.metrics", | 315 "experimental.metrics", |
| 315 "experimental.permissions", | 316 "experimental.permissions", |
| 316 "experimental.settings", | 317 "experimental.settings", |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 354 "extension.onRequestExternal", | 355 "extension.onRequestExternal", |
| 355 "extension.setUpdateUrlData", | 356 "extension.setUpdateUrlData", |
| 356 "i18n.getAcceptLanguages" | 357 "i18n.getAcceptLanguages" |
| 357 ]; | 358 ]; |
| 358 for (var i = 0; i < privileged.length; i++) { | 359 for (var i = 0; i < privileged.length; i++) { |
| 359 createStub(privileged[i]); | 360 createStub(privileged[i]); |
| 360 } | 361 } |
| 361 } | 362 } |
| 362 | 363 |
| 363 })(); | 364 })(); |
| OLD | NEW |