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 292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
303 "chromeAuthPrivate", | 303 "chromeAuthPrivate", |
304 "chromePrivate", | 304 "chromePrivate", |
305 "chromeosInfoPrivate", | 305 "chromeosInfoPrivate", |
306 "contextMenus", | 306 "contextMenus", |
307 "cookies", | 307 "cookies", |
308 "devtools", | 308 "devtools", |
309 "experimental.accessibility", | 309 "experimental.accessibility", |
310 "experimental.app", | 310 "experimental.app", |
311 "experimental.bookmarkManager", | 311 "experimental.bookmarkManager", |
312 "experimental.clear", | 312 "experimental.clear", |
313 "experimental.contentSettings", | 313 "contentSettings", |
Pam (message me for reviews)
2011/10/06 09:30:04
Drive-by: alphabetize
| |
314 "experimental.debugger", | 314 "experimental.debugger", |
315 "experimental.downloads", | 315 "experimental.downloads", |
316 "experimental.extension", | 316 "experimental.extension", |
317 "experimental.infobars", | 317 "experimental.infobars", |
318 "experimental.input", | 318 "experimental.input", |
319 "experimental.inputUI", | 319 "experimental.inputUI", |
320 "experimental.metrics", | 320 "experimental.metrics", |
321 "experimental.permissions", | 321 "experimental.permissions", |
322 "experimental.settings", | 322 "experimental.settings", |
323 "experimental.popup", | 323 "experimental.popup", |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
361 "extension.onRequestExternal", | 361 "extension.onRequestExternal", |
362 "extension.setUpdateUrlData", | 362 "extension.setUpdateUrlData", |
363 "i18n.getAcceptLanguages" | 363 "i18n.getAcceptLanguages" |
364 ]; | 364 ]; |
365 for (var i = 0; i < privileged.length; i++) { | 365 for (var i = 0; i < privileged.length; i++) { |
366 createStub(privileged[i]); | 366 createStub(privileged[i]); |
367 } | 367 } |
368 } | 368 } |
369 | 369 |
370 })(); | 370 })(); |
OLD | NEW |