Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(86)

Side by Side Diff: chrome/renderer/resources/extensions/renderer_process_bindings.js

Issue 8071025: Move contentSettings extension API out of experimental (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 300 matching lines...) Expand 10 before | Expand all | Expand 10 after
311 // TODO(asargent) It would be nice to eventually generate this 311 // TODO(asargent) It would be nice to eventually generate this
312 // programmatically from extension_api.json (there is already a browser test 312 // programmatically from extension_api.json (there is already a browser test
313 // that should prevent it from getting stale). 313 // that should prevent it from getting stale).
314 var privileged = [ 314 var privileged = [
315 // Entire namespaces. 315 // Entire namespaces.
316 "bookmarks", 316 "bookmarks",
317 "browserAction", 317 "browserAction",
318 "chromeAuthPrivate", 318 "chromeAuthPrivate",
319 "chromePrivate", 319 "chromePrivate",
320 "chromeosInfoPrivate", 320 "chromeosInfoPrivate",
321 "contentSettings",
321 "contextMenus", 322 "contextMenus",
322 "cookies", 323 "cookies",
323 "devtools", 324 "devtools",
324 "experimental.accessibility", 325 "experimental.accessibility",
325 "experimental.app", 326 "experimental.app",
326 "experimental.bookmarkManager", 327 "experimental.bookmarkManager",
327 "experimental.clear", 328 "experimental.clear",
328 "experimental.contentSettings",
329 "experimental.debugger", 329 "experimental.debugger",
330 "experimental.downloads", 330 "experimental.downloads",
331 "experimental.extension", 331 "experimental.extension",
332 "experimental.infobars", 332 "experimental.infobars",
333 "experimental.input", 333 "experimental.input",
334 "experimental.inputUI", 334 "experimental.inputUI",
335 "experimental.metrics", 335 "experimental.metrics",
336 "experimental.permissions", 336 "experimental.permissions",
337 "experimental.settings", 337 "experimental.settings",
338 "experimental.popup", 338 "experimental.popup",
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
377 "extension.onRequestExternal", 377 "extension.onRequestExternal",
378 "extension.setUpdateUrlData", 378 "extension.setUpdateUrlData",
379 "i18n.getAcceptLanguages" 379 "i18n.getAcceptLanguages"
380 ]; 380 ];
381 for (var i = 0; i < privileged.length; i++) { 381 for (var i = 0; i < privileged.length; i++) {
382 createStub(privileged[i]); 382 createStub(privileged[i]);
383 } 383 }
384 } 384 }
385 385
386 })(); 386 })();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698