| 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 300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 311 "experimental.bookmarkManager", | 311 "experimental.bookmarkManager", |
| 312 "experimental.clear", | 312 "experimental.clear", |
| 313 "experimental.contentSettings", | 313 "experimental.contentSettings", |
| 314 "experimental.debugger", | 314 "experimental.debugger", |
| 315 "experimental.downloads", | 315 "experimental.downloads", |
| 316 "experimental.extension", | 316 "experimental.extension", |
| 317 "experimental.infobars", | 317 "experimental.infobars", |
| 318 "experimental.input", | 318 "experimental.input", |
| 319 "experimental.inputUI", | 319 "experimental.inputUI", |
| 320 "experimental.metrics", | 320 "experimental.metrics", |
| 321 "experimental.offscreenTabs", |
| 321 "experimental.permissions", | 322 "experimental.permissions", |
| 322 "experimental.settings", | 323 "experimental.settings", |
| 323 "experimental.popup", | 324 "experimental.popup", |
| 324 "experimental.processes", | 325 "experimental.processes", |
| 325 "experimental.privacy", | 326 "experimental.privacy", |
| 326 "experimental.rlz", | 327 "experimental.rlz", |
| 327 "experimental.sidebar", | 328 "experimental.sidebar", |
| 328 "experimental.webNavigation", | 329 "experimental.webNavigation", |
| 329 "experimental.webRequest", | 330 "experimental.webRequest", |
| 330 "fileBrowserHandler", | 331 "fileBrowserHandler", |
| (...skipping 29 matching lines...) Expand all Loading... |
| 360 "extension.onRequestExternal", | 361 "extension.onRequestExternal", |
| 361 "extension.setUpdateUrlData", | 362 "extension.setUpdateUrlData", |
| 362 "i18n.getAcceptLanguages" | 363 "i18n.getAcceptLanguages" |
| 363 ]; | 364 ]; |
| 364 for (var i = 0; i < privileged.length; i++) { | 365 for (var i = 0; i < privileged.length; i++) { |
| 365 createStub(privileged[i]); | 366 createStub(privileged[i]); |
| 366 } | 367 } |
| 367 } | 368 } |
| 368 | 369 |
| 369 })(); | 370 })(); |
| OLD | NEW |