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