| 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 298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 309 "experimental.downloads", | 309 "experimental.downloads", |
| 310 "experimental.extension", | 310 "experimental.extension", |
| 311 "experimental.infobars", | 311 "experimental.infobars", |
| 312 "experimental.input", | 312 "experimental.input", |
| 313 "experimental.inputUI", | 313 "experimental.inputUI", |
| 314 "experimental.metrics", | 314 "experimental.metrics", |
| 315 "experimental.permissions", | 315 "experimental.permissions", |
| 316 "experimental.settings", | 316 "experimental.settings", |
| 317 "experimental.popup", | 317 "experimental.popup", |
| 318 "experimental.processes", | 318 "experimental.processes", |
| 319 "experimental.privacy", |
| 319 "experimental.rlz", | 320 "experimental.rlz", |
| 320 "experimental.sidebar", | 321 "experimental.sidebar", |
| 321 "experimental.webNavigation", | 322 "experimental.webNavigation", |
| 322 "experimental.webRequest", | 323 "experimental.webRequest", |
| 323 "fileBrowserHandler", | 324 "fileBrowserHandler", |
| 324 "fileBrowserPrivate", | 325 "fileBrowserPrivate", |
| 325 "fileSystem", | 326 "fileSystem", |
| 326 "history", | 327 "history", |
| 327 "idle", | 328 "idle", |
| 328 "inputMethodPrivate", | 329 "inputMethodPrivate", |
| (...skipping 24 matching lines...) Expand all Loading... |
| 353 "extension.onRequestExternal", | 354 "extension.onRequestExternal", |
| 354 "extension.setUpdateUrlData", | 355 "extension.setUpdateUrlData", |
| 355 "i18n.getAcceptLanguages" | 356 "i18n.getAcceptLanguages" |
| 356 ]; | 357 ]; |
| 357 for (var i = 0; i < privileged.length; i++) { | 358 for (var i = 0; i < privileged.length; i++) { |
| 358 createStub(privileged[i]); | 359 createStub(privileged[i]); |
| 359 } | 360 } |
| 360 } | 361 } |
| 361 | 362 |
| 362 })(); | 363 })(); |
| OLD | NEW |