Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / extensions / common / api / extensions_manifest_types.json
index 0026269..cff581c 100644 (file)
         }
       },
       {
+        "id": "OptionsUI",
+        "type": "object",
+        "description": "The <code>options_ui</code> manifest property declares how the options page should be displayed.",
+        "properties": {
+          "page": {
+            "description": "The path to your options page.",
+            "type": "string"
+          },
+          "chrome_style": {
+            "description": "If <code>true</code>, a Chrome user agent stylesheet will be applied to your options page. The default value is <code>false</code>.",
+            "optional": true,
+            "type": "boolean"
+          },
+          "open_in_tab": {
+            "description": "If <code>true</code>, the options page will be opened in a new tab instead of in an embedded popup in chrome://extensions. The default value is <code>false</code>.",
+            "optional": true,
+            "type": "boolean"
+          }
+        }
+      },
+      {
         "id": "SocketHostPatterns",
         "description": "<p>A single string or a list of strings representing host:port patterns.</p>",
         "choices": [
             }
           }
         }
+      },
+      {
+        "id": "bluetooth",
+        "type": "object",
+        "description": "The <code>bluetooth</code> manifest property give permission to an app to use the $(ref:bluetooth) API. A list of UUIDs can be optionally specified to enable communication with devices.",
+        "properties": {
+          "uuids": {
+            "description": "The <code>uuids</code> manifest property declares the list of protocols, profiles and services that an app can communicate using.",
+            "optional": true,
+            "type": "array",
+            "items": {
+              "description": "<p>The list specified as UUID strings.</p>",
+              "type": "string"
+            }
+          },
+          "socket": {
+            "type": "boolean",
+            "description": "If <code>true</code>, gives permission to an app to use the $(ref:bluetoothSocket) API",
+            "optional": true
+          },
+          "low_energy": {
+            "type": "boolean",
+            "description": "If <code>true</code>, gives permission to an app to use the $(ref:bluetoothLowEnergy) API",
+            "optional": true
+          }
+        }
       }
     ]
   }