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

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

Issue 545044: Add the ability to focus a window to chrome.window.update(). (Closed)
Patch Set: tabs Created 10 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 unified diff | Download patch
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chrome/test/data/extensions/api_test/tabs/basics/test.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 339 matching lines...) Expand 10 before | Expand all | Expand 10 after
350 "description": "Updates the properties of a window. Specify only the pro perties that you want to change; unspecified properties will be left unchanged." , 350 "description": "Updates the properties of a window. Specify only the pro perties that you want to change; unspecified properties will be left unchanged." ,
351 "parameters": [ 351 "parameters": [
352 {"type": "integer", "name": "windowId", "minimum": 0}, 352 {"type": "integer", "name": "windowId", "minimum": 0},
353 { 353 {
354 "type": "object", 354 "type": "object",
355 "name": "updateInfo", 355 "name": "updateInfo",
356 "properties": { 356 "properties": {
357 "left": {"type": "integer", "optional": true, "description": "The offset from the left edge of the screen to move the window to in pixels."}, 357 "left": {"type": "integer", "optional": true, "description": "The offset from the left edge of the screen to move the window to in pixels."},
358 "top": {"type": "integer", "optional": true, "description": "The o ffset from the top edge of the screen to move the window to in pixels."}, 358 "top": {"type": "integer", "optional": true, "description": "The o ffset from the top edge of the screen to move the window to in pixels."},
359 "width": {"type": "integer", "minimum": 0, "optional": true, "desc ription": "The width to resize the window to in pixels."}, 359 "width": {"type": "integer", "minimum": 0, "optional": true, "desc ription": "The width to resize the window to in pixels."},
360 "height": {"type": "integer", "minimum": 0, "optional": true, "des cription": "The height to resize the window to in pixels."} 360 "height": {"type": "integer", "minimum": 0, "optional": true, "des cription": "The height to resize the window to in pixels."},
361 "focused": {"type": "boolean", "description": "Set to true to focu s the window. Setting to false has no effect on the window (it doesn't blur it). "}
361 } 362 }
362 }, 363 },
363 { 364 {
364 "type": "function", 365 "type": "function",
365 "name": "callback", 366 "name": "callback",
366 "optional": true, 367 "optional": true,
367 "parameters": [ 368 "parameters": [
368 { 369 {
369 "name": "window", "$ref": "Window" 370 "name": "window", "$ref": "Window"
370 } 371 }
(...skipping 1412 matching lines...) Expand 10 before | Expand all | Expand 10 after
1783 "type": "function", 1784 "type": "function",
1784 "description": "Logs a message during internal unit testing.", 1785 "description": "Logs a message during internal unit testing.",
1785 "parameters": [ 1786 "parameters": [
1786 {"type": "string", "name": "message"} 1787 {"type": "string", "name": "message"}
1787 ] 1788 ]
1788 } 1789 }
1789 ], 1790 ],
1790 "events": [] 1791 "events": []
1791 } 1792 }
1792 ] 1793 ]
OLDNEW
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chrome/test/data/extensions/api_test/tabs/basics/test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698