X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fchrome%2Fcommon%2Fextensions%2Fapi%2Fextension.json;h=efb7f4b874578fc0d9c437bb9e7e814c50296263;hb=ff3e2503a20db9193d323c1d19c38c68004dec4a;hp=e12c87e4c04e6df59213703365cab2365a8229ca;hpb=7338fba38ba696536d1cc9d389afd716a6ab2fe6;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/chrome/common/extensions/api/extension.json b/src/chrome/common/extensions/api/extension.json index e12c87e..efb7f4b 100644 --- a/src/chrome/common/extensions/api/extension.json +++ b/src/chrome/common/extensions/api/extension.json @@ -28,10 +28,10 @@ { "name": "sendRequest", "nocompile": true, - "deprecated": "Please use $ref:runtime.sendMessage.", + "deprecated": "Please use $(ref:runtime.sendMessage).", "type": "function", "allowAmbiguousOptionalArguments": true, - "description": "Sends a single request to other listeners within the extension. Similar to $ref:runtime.connect, but only sends a single request with an optional response. The $ref:onRequest event is fired in each page of the extension.", + "description": "Sends a single request to other listeners within the extension. Similar to $(ref:runtime.connect), but only sends a single request with an optional response. The $(ref:extension.onRequest) event is fired in each page of the extension.", "parameters": [ {"type": "string", "name": "extensionId", "optional": true, "description": "The extension ID of the extension you want to connect to. If omitted, default is your own extension."}, { "type": "any", "name": "request" }, @@ -43,7 +43,7 @@ { "name": "response", "type": "any", - "description": "The JSON response object sent by the handler of the request. If an error occurs while connecting to the extension, the callback will be called with no arguments and $ref:runtime.lastError will be set to the error message." + "description": "The JSON response object sent by the handler of the request. If an error occurs while connecting to the extension, the callback will be called with no arguments and $(ref:runtime.lastError) will be set to the error message." } ] } @@ -119,7 +119,7 @@ { "name": "getExtensionTabs", "nocompile": true, - "deprecated": "Please use $ref:getViews {type: \"tab\"}.", + "deprecated": "Please use $(ref:extension.getViews) {type: \"tab\"}.", "type": "function", "maximumManifestVersion": 1, "description": "Returns an array of the JavaScript 'window' objects for each of the tabs running inside the current extension. If windowId is specified, returns only the 'window' objects of tabs attached to the specified window.", @@ -187,7 +187,7 @@ "events": [ { "name": "onRequest", - "deprecated": "Please use $ref:runtime.onMessage.", + "deprecated": "Please use $(ref:runtime.onMessage).", "type": "function", "options": { "unmanaged": true @@ -201,7 +201,7 @@ }, { "name": "onRequestExternal", - "deprecated": "Please use $ref:runtime.onMessageExternal.", + "deprecated": "Please use $(ref:runtime.onMessageExternal).", "type": "function", "options": { "unmanaged": true @@ -215,4 +215,4 @@ } ] } -] \ No newline at end of file +]