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

Side by Side Diff: chrome/renderer/resources/renderer_extension_bindings.js

Issue 1530002: Move history API out of experimental. Allow extensions to override history page. (Closed)
Patch Set: Rebase for commit. Created 10 years, 8 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
OLDNEW
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 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 // Entire namespaces. 243 // Entire namespaces.
244 "bookmarks", 244 "bookmarks",
245 "browserAction", 245 "browserAction",
246 "devtools", 246 "devtools",
247 "experimental.accessibility", 247 "experimental.accessibility",
248 "experimental.bookmarkManager", 248 "experimental.bookmarkManager",
249 "experimental.clipboard", 249 "experimental.clipboard",
250 "experimental.contextMenu", 250 "experimental.contextMenu",
251 "experimental.extension", 251 "experimental.extension",
252 "experimental.idle", 252 "experimental.idle",
253 "experimental.history",
254 "experimental.infobars", 253 "experimental.infobars",
255 "experimental.metrics", 254 "experimental.metrics",
256 "experimental.popup", 255 "experimental.popup",
257 "experimental.processes", 256 "experimental.processes",
257 "history",
258 "pageAction", 258 "pageAction",
259 "pageActions", 259 "pageActions",
260 "tabs", 260 "tabs",
261 "test", 261 "test",
262 "toolstrip", 262 "toolstrip",
263 "windows", 263 "windows",
264 264
265 // Functions/events/properties within the extension namespace. 265 // Functions/events/properties within the extension namespace.
266 "extension.getBackgroundPage", 266 "extension.getBackgroundPage",
267 "extension.getExtensionTabs", 267 "extension.getExtensionTabs",
268 "extension.getToolstrips", 268 "extension.getToolstrips",
269 "extension.getViews", 269 "extension.getViews",
270 "extension.lastError", 270 "extension.lastError",
271 "extension.onConnectExternal", 271 "extension.onConnectExternal",
272 "extension.onRequestExternal", 272 "extension.onRequestExternal",
273 "i18n.getAcceptLanguages" 273 "i18n.getAcceptLanguages"
274 ]; 274 ];
275 for (var i = 0; i < privileged.length; i++) { 275 for (var i = 0; i < privileged.length; i++) {
276 createStub(privileged[i]); 276 createStub(privileged[i]);
277 } 277 }
278 } 278 }
279 279
280 })(); 280 })();
OLDNEW
« no previous file with comments | « chrome/renderer/resources/extension_process_bindings.js ('k') | chrome/test/data/extensions/api_test/history/manifest.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698