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

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

Issue 10389168: Revert 137388 - Move declarative API into events API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/extensions/api/events.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 137393)
+++ chrome/common/extensions/api/extension.json (working copy)
@@ -6,7 +6,7 @@
{
"namespace": "extension",
"nocompile": true,
- "dependencies": [ "events", "tabs" ],
+ "dependencies": [ "tabs" ],
"types": [
{
"id": "MessageSender",
@@ -18,6 +18,18 @@
}
},
{
+ "id": "Event",
+ "type": "object",
+ "description": "An object which allows the addition and removal of listeners for a Chrome event.",
+ "properties": {
+ "addListener": {"type": "function"},
+ "removeListener": {"type": "function"},
+ "hasListener": {"type": "function"},
+ "hasListeners": {"type": "function"}
+ },
+ "additionalProperties": { "type": "any"}
+ },
+ {
"id": "Port",
"type": "object",
"description": "An object which allows two way communication with other pages.",
« no previous file with comments | « chrome/common/extensions/api/events.json ('k') | chrome/common/extensions/api/extension_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698