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 296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
307 "experimental.debugger", | 307 "experimental.debugger", |
308 "experimental.extension", | 308 "experimental.extension", |
309 "experimental.infobars", | 309 "experimental.infobars", |
310 "experimental.input", | 310 "experimental.input", |
311 "experimental.inputUI", | 311 "experimental.inputUI", |
312 "experimental.metrics", | 312 "experimental.metrics", |
313 "experimental.popup", | 313 "experimental.popup", |
314 "experimental.processes", | 314 "experimental.processes", |
315 "experimental.rlz", | 315 "experimental.rlz", |
316 "experimental.sidebar", | 316 "experimental.sidebar", |
317 "experimental.tts", | |
318 "experimental.ttsEngine", | |
319 "experimental.webNavigation", | 317 "experimental.webNavigation", |
320 "experimental.webRequest", | 318 "experimental.webRequest", |
321 "fileBrowserHandler", | 319 "fileBrowserHandler", |
322 "fileBrowserPrivate", | 320 "fileBrowserPrivate", |
323 "fileSystem", | 321 "fileSystem", |
324 "history", | 322 "history", |
325 "idle", | 323 "idle", |
326 "inputMethodPrivate", | 324 "inputMethodPrivate", |
327 "management", | 325 "management", |
328 "mediaPlayerPrivate", | 326 "mediaPlayerPrivate", |
329 "omnibox", | 327 "omnibox", |
330 "pageAction", | 328 "pageAction", |
331 "pageActions", | 329 "pageActions", |
332 "proxy", | 330 "proxy", |
333 "tabs", | 331 "tabs", |
334 "test", | 332 "test", |
335 "toolstrip", | 333 "toolstrip", |
| 334 "tts", |
| 335 "ttsEngine", |
336 "types", | 336 "types", |
337 "webSocketProxyPrivate", | 337 "webSocketProxyPrivate", |
338 "webstorePrivate", | 338 "webstorePrivate", |
339 "windows", | 339 "windows", |
340 | 340 |
341 // Functions/events/properties within the extension namespace. | 341 // Functions/events/properties within the extension namespace. |
342 "extension.getBackgroundPage", | 342 "extension.getBackgroundPage", |
343 "extension.getExtensionTabs", | 343 "extension.getExtensionTabs", |
344 "extension.getToolstrips", | 344 "extension.getToolstrips", |
345 "extension.getViews", | 345 "extension.getViews", |
346 "extension.isAllowedIncognitoAccess", | 346 "extension.isAllowedIncognitoAccess", |
347 "extension.isAllowedFileSchemeAccess", | 347 "extension.isAllowedFileSchemeAccess", |
348 "extension.onConnectExternal", | 348 "extension.onConnectExternal", |
349 "extension.onRequestExternal", | 349 "extension.onRequestExternal", |
350 "extension.setUpdateUrlData", | 350 "extension.setUpdateUrlData", |
351 "i18n.getAcceptLanguages" | 351 "i18n.getAcceptLanguages" |
352 ]; | 352 ]; |
353 for (var i = 0; i < privileged.length; i++) { | 353 for (var i = 0; i < privileged.length; i++) { |
354 createStub(privileged[i]); | 354 createStub(privileged[i]); |
355 } | 355 } |
356 } | 356 } |
357 | 357 |
358 })(); | 358 })(); |
OLD | NEW |