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

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

Issue 3584010: Add chrome.windows.update({focused:true}); (Closed) Base URL: git://codf21.jail/chromium.git
Patch Set: Created 10 years, 2 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
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 710 matching lines...) Expand 10 before | Expand all | Expand 10 after
721 "description": "Updates the properties of a window. Specify only the pro perties that you want to change; unspecified properties will be left unchanged." , 721 "description": "Updates the properties of a window. Specify only the pro perties that you want to change; unspecified properties will be left unchanged." ,
722 "parameters": [ 722 "parameters": [
723 {"type": "integer", "name": "windowId", "minimum": 0}, 723 {"type": "integer", "name": "windowId", "minimum": 0},
724 { 724 {
725 "type": "object", 725 "type": "object",
726 "name": "updateInfo", 726 "name": "updateInfo",
727 "properties": { 727 "properties": {
728 "left": {"type": "integer", "optional": true, "description": "The offset from the left edge of the screen to move the window to in pixels."}, 728 "left": {"type": "integer", "optional": true, "description": "The offset from the left edge of the screen to move the window to in pixels."},
729 "top": {"type": "integer", "optional": true, "description": "The o ffset from the top edge of the screen to move the window to in pixels."}, 729 "top": {"type": "integer", "optional": true, "description": "The o ffset from the top edge of the screen to move the window to in pixels."},
730 "width": {"type": "integer", "minimum": 0, "optional": true, "desc ription": "The width to resize the window to in pixels."}, 730 "width": {"type": "integer", "minimum": 0, "optional": true, "desc ription": "The width to resize the window to in pixels."},
731 "height": {"type": "integer", "minimum": 0, "optional": true, "des cription": "The height to resize the window to in pixels."} 731 "height": {"type": "integer", "minimum": 0, "optional": true, "des cription": "The height to resize the window to in pixels."},
732 "focused": {"type": "boolean", "optional": true, "description": "I t true, brings the window to the front. If false, brings the next window in the z-order to the front."}
732 } 733 }
733 }, 734 },
734 { 735 {
735 "type": "function", 736 "type": "function",
736 "name": "callback", 737 "name": "callback",
737 "optional": true, 738 "optional": true,
738 "parameters": [ 739 "parameters": [
739 { 740 {
740 "name": "window", "$ref": "Window" 741 "name": "window", "$ref": "Window"
741 } 742 }
(...skipping 3399 matching lines...) Expand 10 before | Expand all | Expand 10 after
4141 "name": "setStoreLogin", 4142 "name": "setStoreLogin",
4142 "description": "Set a preference value with the store login.", 4143 "description": "Set a preference value with the store login.",
4143 "parameters": [ 4144 "parameters": [
4144 { "name": "login", "type": "string" }, 4145 { "name": "login", "type": "string" },
4145 { "name": "callback", "type": "function", "optional": "true" } 4146 { "name": "callback", "type": "function", "optional": "true" }
4146 ] 4147 ]
4147 } 4148 }
4148 ] 4149 ]
4149 } 4150 }
4150 ] 4151 ]
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_tabs_module.cc ('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