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

Unified Diff: chrome/common/extensions/api/extension.json

Issue 12089062: Move API functions registrations out of ExtensionFunctionRegistry. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 7 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/extensions/api/experimental_power.json ('k') | chrome/common/extensions/api/extension_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/api/extension.json
===================================================================
--- chrome/common/extensions/api/extension.json (revision 181773)
+++ chrome/common/extensions/api/extension.json (working copy)
@@ -5,7 +5,9 @@
[
{
"namespace": "extension",
- "nocompile": true,
+ "compiler_options": {
+ "implemented_in": "chrome/browser/extensions/api/module/module.h"
+ },
"dependencies": [ "events", "tabs" ],
"types": [
{
@@ -38,6 +40,7 @@
"functions": [
{
"name": "sendRequest",
+ "nocompile": true,
"nodoc": true,
"type": "function",
"allowAmbiguousOptionalArguments": true,
@@ -62,6 +65,7 @@
},
{
"name": "getURL",
+ "nocompile": true,
"type": "function",
"unprivileged": true,
"description": "Converts a relative path within an extension install directory to a fully-qualified URL.",
@@ -79,6 +83,7 @@
},
{
"name": "getViews",
+ "nocompile": true,
"type": "function",
"description": "Returns an array of the JavaScript 'window' objects for each of the pages running inside the current extension.",
"parameters": [
@@ -109,6 +114,7 @@
},
{
"name": "getBackgroundPage",
+ "nocompile": true,
"type": "function",
"description": "Returns the JavaScript 'window' object for the background page running inside the current extension. Returns null if the extension has no background page.",
"parameters": [],
@@ -118,6 +124,7 @@
},
{
"name": "getExtensionTabs",
+ "nocompile": true,
"nodoc": true,
"type": "function",
"maximumManifestVersion": 1,
« no previous file with comments | « chrome/common/extensions/api/experimental_power.json ('k') | chrome/common/extensions/api/extension_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698