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

Side by Side Diff: chrome/common/extensions/api/extension_api.json

Issue 3130029: Lands http://codereview.chromium.org/3153008 for bryeung: (Closed)
Patch Set: YAM Created 10 years, 4 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 unified diff | Download patch
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chrome/renderer/resources/renderer_extension_bindings.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 [ 1 [
2 { 2 {
3 "namespace": "extension", 3 "namespace": "extension",
4 "unprivileged": true, 4 "unprivileged": true,
5 "types": [ 5 "types": [
6 { 6 {
7 "id": "MessageSender", 7 "id": "MessageSender",
8 "type": "object", 8 "type": "object",
9 "description": "An object containing information about the script contex t that sent a message or request.", 9 "description": "An object containing information about the script contex t that sent a message or request.",
10 "properties": { 10 "properties": {
(...skipping 2182 matching lines...) Expand 10 before | Expand all | Expand 10 after
2193 ], 2193 ],
2194 "returns": { 2194 "returns": {
2195 "type": "string", 2195 "type": "string",
2196 "description": "Message localized for current locale." 2196 "description": "Message localized for current locale."
2197 } 2197 }
2198 } 2198 }
2199 ], 2199 ],
2200 "events": [] 2200 "events": []
2201 }, 2201 },
2202 { 2202 {
2203 "namespace": "experimental.input",
2204 "nodoc": true,
2205 "types": [],
2206 "functions": [
2207 {
2208 "name": "sendKeyboardEvent",
2209 "type": "function",
2210 "description": "Send a keyboard event to Chrome.",
2211 "parameters": [
2212 { "type": "object",
2213 "name": "event",
2214 "properties": {
2215 "type": {
2216 "type": "string",
2217 "description": "One of 'keyup' or 'keydown'."
2218 },
2219 "keyIdentifier": {
2220 "type": "string",
2221 "description": "See http://www.w3.org/TR/2003/NOTE-DOM-Level-3-E vents-20031107/keyset.html#KeySet-Set"
2222 },
2223 "altKey": {
2224 "type": "boolean",
2225 "optional": true,
2226 "description": "Whether or not the ALT key is pressed."
2227 },
2228 "ctrlKey": {
2229 "type": "boolean",
2230 "optional": true,
2231 "description": "Whether or not the CTRL key is pressed."
2232 },
2233 "metaKey": {
2234 "type": "boolean",
2235 "optional": true,
2236 "description": "Whether or not the META key is pressed."
2237 },
2238 "shiftKey": {
2239 "type": "boolean",
2240 "optional": true,
2241 "description": "Whether or not the SHIFT key is pressed."
2242 }
2243 },
2244 "description": "The keyboard event to be sent."
2245 },
2246 { "type": "function",
2247 "name": "callback",
2248 "optional": true,
2249 "description": "This function is called when the event processing is completed.",
2250 "parameters": []
2251 }
2252 ]
2253 }
2254 ],
2255 "events": []
2256 },
2257 {
2203 "namespace": "experimental.popup", 2258 "namespace": "experimental.popup",
2204 "nodoc": true, 2259 "nodoc": true,
2205 "types": [], 2260 "types": [],
2206 "functions": [ 2261 "functions": [
2207 { 2262 {
2208 "name": "show", 2263 "name": "show",
2209 "type": "function", 2264 "type": "function",
2210 "description": "Displays a pop-up window hosting an extension view.", 2265 "description": "Displays a pop-up window hosting an extension view.",
2211 "parameters": [ 2266 "parameters": [
2212 { 2267 {
(...skipping 1628 matching lines...) Expand 10 before | Expand all | Expand 10 after
3841 { 3896 {
3842 "name": "onInputCancelled", 3897 "name": "onInputCancelled",
3843 "perExtensionEvent": true, 3898 "perExtensionEvent": true,
3844 "type": "function", 3899 "type": "function",
3845 "description": "User has ended the keyword input session without accepti ng the input.", 3900 "description": "User has ended the keyword input session without accepti ng the input.",
3846 "parameters": [] 3901 "parameters": []
3847 } 3902 }
3848 ] 3903 ]
3849 } 3904 }
3850 ] 3905 ]
OLDNEW
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chrome/renderer/resources/renderer_extension_bindings.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698