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 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
248 "bookmarks", | 248 "bookmarks", |
249 "browserAction", | 249 "browserAction", |
250 "contextMenus", | 250 "contextMenus", |
251 "cookies", | 251 "cookies", |
252 "devtools", | 252 "devtools", |
253 "experimental.accessibility", | 253 "experimental.accessibility", |
254 "experimental.bookmarkManager", | 254 "experimental.bookmarkManager", |
255 "experimental.clipboard", | 255 "experimental.clipboard", |
256 "experimental.extension", | 256 "experimental.extension", |
257 "experimental.infobars", | 257 "experimental.infobars", |
| 258 "experimental.input", |
258 "experimental.metrics", | 259 "experimental.metrics", |
259 "experimental.omnibox", | 260 "experimental.omnibox", |
260 "experimental.popup", | 261 "experimental.popup", |
261 "experimental.processes", | 262 "experimental.processes", |
262 "experimental.tts", | 263 "experimental.tts", |
263 "experimental.proxy", | 264 "experimental.proxy", |
264 "experimental.rlz", | 265 "experimental.rlz", |
265 "experimental.sidebar", | 266 "experimental.sidebar", |
266 "experimental.webNavigation", | 267 "experimental.webNavigation", |
267 "experimental.webRequest", | 268 "experimental.webRequest", |
(...skipping 15 matching lines...) Expand all Loading... |
283 "extension.onConnectExternal", | 284 "extension.onConnectExternal", |
284 "extension.onRequestExternal", | 285 "extension.onRequestExternal", |
285 "i18n.getAcceptLanguages" | 286 "i18n.getAcceptLanguages" |
286 ]; | 287 ]; |
287 for (var i = 0; i < privileged.length; i++) { | 288 for (var i = 0; i < privileged.length; i++) { |
288 createStub(privileged[i]); | 289 createStub(privileged[i]); |
289 } | 290 } |
290 } | 291 } |
291 | 292 |
292 })(); | 293 })(); |
OLD | NEW |