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