| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 | 9 // TODO(mpcomplete): we also load this in regular web pages, but don't need |
| 10 // to. | 10 // to. |
| (...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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.clipboard", | 304 "experimental.clipboard", |
| 305 "experimental.contentSettings.misc", | 305 "experimental.contentSettings.misc", |
| 306 "experimental.extension", | 306 "experimental.extension", |
| 307 "experimental.debugger", | 307 "experimental.debugger", |
| 308 "experimental.infobars", | 308 "experimental.infobars", |
| 309 "experimental.ime", |
| 310 "experimental.ime.ui", |
| 309 "experimental.input", | 311 "experimental.input", |
| 310 "experimental.metrics", | 312 "experimental.metrics", |
| 311 "experimental.popup", | 313 "experimental.popup", |
| 312 "experimental.processes", | 314 "experimental.processes", |
| 313 "experimental.tts", | 315 "experimental.tts", |
| 314 "experimental.proxy", | 316 "experimental.proxy", |
| 315 "experimental.rlz", | 317 "experimental.rlz", |
| 316 "experimental.sidebar", | 318 "experimental.sidebar", |
| 317 "experimental.webNavigation", | 319 "experimental.webNavigation", |
| 318 "experimental.webRequest", | 320 "experimental.webRequest", |
| (...skipping 22 matching lines...) Expand all Loading... |
| 341 "extension.onRequestExternal", | 343 "extension.onRequestExternal", |
| 342 "extension.setUpdateUrlData", | 344 "extension.setUpdateUrlData", |
| 343 "i18n.getAcceptLanguages" | 345 "i18n.getAcceptLanguages" |
| 344 ]; | 346 ]; |
| 345 for (var i = 0; i < privileged.length; i++) { | 347 for (var i = 0; i < privileged.length; i++) { |
| 346 createStub(privileged[i]); | 348 createStub(privileged[i]); |
| 347 } | 349 } |
| 348 } | 350 } |
| 349 | 351 |
| 350 })(); | 352 })(); |
| OLD | NEW |