| 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 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 294 // Entire namespaces. | 294 // Entire namespaces. |
| 295 "bookmarks", | 295 "bookmarks", |
| 296 "browserAction", | 296 "browserAction", |
| 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.bookmarkManager", | 303 "experimental.bookmarkManager", |
| 304 "experimental.contentSettings.misc", | 304 "experimental.contentSettings.global", |
| 305 "experimental.debugger", | 305 "experimental.debugger", |
| 306 "experimental.extension", | 306 "experimental.extension", |
| 307 "experimental.infobars", | 307 "experimental.infobars", |
| 308 "experimental.input", | 308 "experimental.input", |
| 309 "experimental.inputUI", | 309 "experimental.inputUI", |
| 310 "experimental.metrics", | 310 "experimental.metrics", |
| 311 "experimental.popup", | 311 "experimental.popup", |
| 312 "experimental.processes", | 312 "experimental.processes", |
| 313 "experimental.rlz", | 313 "experimental.rlz", |
| 314 "experimental.sidebar", | 314 "experimental.sidebar", |
| (...skipping 30 matching lines...) Expand all Loading... |
| 345 "extension.onRequestExternal", | 345 "extension.onRequestExternal", |
| 346 "extension.setUpdateUrlData", | 346 "extension.setUpdateUrlData", |
| 347 "i18n.getAcceptLanguages" | 347 "i18n.getAcceptLanguages" |
| 348 ]; | 348 ]; |
| 349 for (var i = 0; i < privileged.length; i++) { | 349 for (var i = 0; i < privileged.length; i++) { |
| 350 createStub(privileged[i]); | 350 createStub(privileged[i]); |
| 351 } | 351 } |
| 352 } | 352 } |
| 353 | 353 |
| 354 })(); | 354 })(); |
| OLD | NEW |