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

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

Issue 2078021: First pass at experimental omnibox API. There are plenty of rough edges and (Closed)
Patch Set: no prefer_keyword Created 10 years, 7 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 235 matching lines...) Expand 10 before | Expand all | Expand 10 after
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.cookies", 251 "experimental.cookies",
252 "experimental.extension", 252 "experimental.extension",
253 "experimental.idle", 253 "experimental.idle",
254 "experimental.infobars", 254 "experimental.infobars",
255 "experimental.metrics", 255 "experimental.metrics",
256 "experimental.omnibox",
256 "experimental.popup", 257 "experimental.popup",
257 "experimental.processes", 258 "experimental.processes",
258 "history", 259 "history",
259 "pageAction", 260 "pageAction",
260 "pageActions", 261 "pageActions",
261 "tabs", 262 "tabs",
262 "test", 263 "test",
263 "toolstrip", 264 "toolstrip",
264 "windows", 265 "windows",
265 266
266 // Functions/events/properties within the extension namespace. 267 // Functions/events/properties within the extension namespace.
267 "extension.getBackgroundPage", 268 "extension.getBackgroundPage",
268 "extension.getExtensionTabs", 269 "extension.getExtensionTabs",
269 "extension.getToolstrips", 270 "extension.getToolstrips",
270 "extension.getViews", 271 "extension.getViews",
271 "extension.lastError", 272 "extension.lastError",
272 "extension.onConnectExternal", 273 "extension.onConnectExternal",
273 "extension.onRequestExternal", 274 "extension.onRequestExternal",
274 "i18n.getAcceptLanguages" 275 "i18n.getAcceptLanguages"
275 ]; 276 ];
276 for (var i = 0; i < privileged.length; i++) { 277 for (var i = 0; i < privileged.length; i++) {
277 createStub(privileged[i]); 278 createStub(privileged[i]);
278 } 279 }
279 } 280 }
280 281
281 })(); 282 })();
OLDNEW
« no previous file with comments | « chrome/renderer/resources/extension_process_bindings.js ('k') | chrome/test/data/extensions/api_test/omnibox/manifest.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698