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

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

Issue 10392008: 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
Index: chrome/common/extensions/api/extension.json
diff --git a/chrome/common/extensions/api/extension.json b/chrome/common/extensions/api/extension.json
index 59f497c01768c2fde553925d4ada774a7a626b79..3a81ca57fffcbbd586cdfa6b9c0723856d3200f1 100644
--- a/chrome/common/extensions/api/extension.json
+++ b/chrome/common/extensions/api/extension.json
@@ -6,7 +6,7 @@
{
"namespace": "extension",
"nocompile": true,
- "dependencies": [ "tabs" ],
+ "dependencies": [ "events", "tabs" ],
"types": [
{
"id": "MessageSender",
@@ -18,18 +18,6 @@
}
},
{
- "id": "Event",
battre 2012/05/09 16:28:08 this went into events.json.
- "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.",

Powered by Google App Engine
This is Rietveld 408576698