OLD | NEW |
1 // Copyright (c) 2009 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 | 9 // TODO(mpcomplete): we also load this in regular web pages, but don't need |
10 // to. | 10 // to. |
11 | 11 |
(...skipping 287 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.contentSettings.misc", | 304 "experimental.contentSettings.misc", |
305 "experimental.extension", | 305 "experimental.extension", |
306 "experimental.debugger", | 306 "experimental.debugger", |
307 "experimental.infobars", | 307 "experimental.infobars", |
308 "experimental.input", | 308 "experimental.input", |
| 309 "experimental.inputUI", |
309 "experimental.metrics", | 310 "experimental.metrics", |
310 "experimental.popup", | 311 "experimental.popup", |
311 "experimental.processes", | 312 "experimental.processes", |
312 "experimental.tts", | 313 "experimental.tts", |
313 "experimental.proxy", | 314 "experimental.proxy", |
314 "experimental.rlz", | 315 "experimental.rlz", |
315 "experimental.sidebar", | 316 "experimental.sidebar", |
316 "experimental.webNavigation", | 317 "experimental.webNavigation", |
317 "experimental.webRequest", | 318 "experimental.webRequest", |
318 "history", | 319 "history", |
(...skipping 22 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 |