| 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 303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 314 "experimental.sidebar", | 314 "experimental.sidebar", |
| 315 "experimental.tts", | 315 "experimental.tts", |
| 316 "experimental.webNavigation", | 316 "experimental.webNavigation", |
| 317 "experimental.webRequest", | 317 "experimental.webRequest", |
| 318 "fileBrowserHandler", | 318 "fileBrowserHandler", |
| 319 "fileBrowserPrivate", | 319 "fileBrowserPrivate", |
| 320 "fileSystem", | 320 "fileSystem", |
| 321 "history", | 321 "history", |
| 322 "idle", | 322 "idle", |
| 323 "management", | 323 "management", |
| 324 "mediaPlayerPrivate", |
| 324 "omnibox", | 325 "omnibox", |
| 325 "pageAction", | 326 "pageAction", |
| 326 "pageActions", | 327 "pageActions", |
| 327 "preferences", | 328 "preferences", |
| 328 "proxy", | 329 "proxy", |
| 329 "tabs", | 330 "tabs", |
| 330 "test", | 331 "test", |
| 331 "toolstrip", | 332 "toolstrip", |
| 332 "webSocketProxyPrivate", | 333 "webSocketProxyPrivate", |
| 333 "webstorePrivate", | 334 "webstorePrivate", |
| (...skipping 10 matching lines...) Expand all Loading... |
| 344 "extension.onRequestExternal", | 345 "extension.onRequestExternal", |
| 345 "extension.setUpdateUrlData", | 346 "extension.setUpdateUrlData", |
| 346 "i18n.getAcceptLanguages" | 347 "i18n.getAcceptLanguages" |
| 347 ]; | 348 ]; |
| 348 for (var i = 0; i < privileged.length; i++) { | 349 for (var i = 0; i < privileged.length; i++) { |
| 349 createStub(privileged[i]); | 350 createStub(privileged[i]); |
| 350 } | 351 } |
| 351 } | 352 } |
| 352 | 353 |
| 353 })(); | 354 })(); |
| OLD | NEW |