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

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

Issue 9309044: Supporting more APIs with json_schema_compiler (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: fixed optional properties Created 8 years, 11 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/tabs.json
diff --git a/chrome/common/extensions/api/tabs.json b/chrome/common/extensions/api/tabs.json
index 913e69181e3b1f75cea9f33f812d01ced2a8b777..efec348e92a7b54c5d400a66923c629aabb2e72f 100644
--- a/chrome/common/extensions/api/tabs.json
+++ b/chrome/common/extensions/api/tabs.json
@@ -1,6 +1,7 @@
[
{
"namespace": "tabs",
+ "compile": true,
"dependencies": [ "extension", "windows" ],
"types": [
{
@@ -63,6 +64,7 @@
},
{
"name": "connect",
+ "compile": false,
"type": "function",
"description": "Connects to the content script(s) in the specified tab. The <a href='extension.html#event-onConnect'>chrome.extension.onConnect</a> event is fired in each content script running in the specified tab for the current extension. For more details, see <a href='content_scripts.html#messaging'>Content Script Messaging</a>.",
"parameters": [
@@ -87,6 +89,7 @@
},
{
"name": "sendRequest",
+ "compile": false,
"type": "function",
"description": "Sends a single request to the content script(s) in the specified tab, with an optional callback to run when a response is sent back. The <a href='extension.html#event-onRequest'>chrome.extension.onRequest</a> event is fired in each content script running in the specified tab for the current extension.",
"parameters": [
@@ -349,6 +352,7 @@
"name": "updateProperties",
"properties": {
"url": {
+ "type": "string",
"optional": true,
"description": "A URL to navigate the tab to."
},

Powered by Google App Engine
This is Rietveld 408576698