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

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

Issue 8969011: Added populate parameter to chrome.windows.get, chrome.windows.getCurrent, (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 9 years 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 | Annotate | Revision Log
OLDNEW
1 [ 1 [
2 { 2 {
3 "namespace": "experimental.accessibility", 3 "namespace": "experimental.accessibility",
4 "nodoc": true, 4 "nodoc": true,
5 "types": [ 5 "types": [
6 { 6 {
7 "id": "AccessibilityObject", 7 "id": "AccessibilityObject",
8 "type": "object", 8 "type": "object",
9 "description": "Parent class for accessibility information about an obje ct.", 9 "description": "Parent class for accessibility information about an obje ct.",
10 "properties": { 10 "properties": {
(...skipping 943 matching lines...) Expand 10 before | Expand all | Expand 10 after
954 } 954 }
955 }, 955 },
956 "functions": [ 956 "functions": [
957 { 957 {
958 "name": "get", 958 "name": "get",
959 "type": "function", 959 "type": "function",
960 "description": "Gets details about a window.", 960 "description": "Gets details about a window.",
961 "parameters": [ 961 "parameters": [
962 {"type": "integer", "name": "windowId", "minimum": 0}, 962 {"type": "integer", "name": "windowId", "minimum": 0},
963 { 963 {
964 "type": "object",
965 "name": "getInfo",
966 "optional": true,
967 "description": "",
968 "properties": {
969 "populate": {"type": "boolean", "optional": true, "description": " If true, the window object will have a <var>tabs</var> property that contains a list of the $ref:Tab objects" }
970 }
971 },
972 {
964 "type": "function", 973 "type": "function",
965 "name": "callback", 974 "name": "callback",
966 "parameters": [ 975 "parameters": [
967 { 976 {
968 "name": "window", "$ref": "Window" 977 "name": "window", "$ref": "Window"
969 } 978 }
970 ] 979 ]
971 } 980 }
972 ] 981 ]
973 }, 982 },
974 { 983 {
975 "name": "getCurrent", 984 "name": "getCurrent",
976 "type": "function", 985 "type": "function",
977 "description": "Gets the <a href='#current-window'>current window</a>.", 986 "description": "Gets the <a href='#current-window'>current window</a>.",
978 "parameters": [ 987 "parameters": [
979 { 988 {
989 "type": "object",
990 "name": "getInfo",
991 "optional": true,
992 "description": "",
993 "properties": {
994 "populate": {"type": "boolean", "optional": true, "description": " If true, the window object will have a <var>tabs</var> property that contains a list of the $ref:Tab objects" }
995 }
996 },
997 {
980 "type": "function", 998 "type": "function",
981 "name": "callback", 999 "name": "callback",
982 "parameters": [ 1000 "parameters": [
983 { 1001 {
984 "name": "window", "$ref": "Window" 1002 "name": "window", "$ref": "Window"
985 } 1003 }
986 ] 1004 ]
987 } 1005 }
988 ] 1006 ]
989 }, 1007 },
990 { 1008 {
991 "name": "getLastFocused", 1009 "name": "getLastFocused",
992 "type": "function", 1010 "type": "function",
993 "description": "Gets the window that was most recently focused &mdash; t ypically the window 'on top'.", 1011 "description": "Gets the window that was most recently focused &mdash; t ypically the window 'on top'.",
994 "parameters": [ 1012 "parameters": [
995 { 1013 {
1014 "type": "object",
1015 "name": "getInfo",
1016 "optional": true,
1017 "description": "",
1018 "properties": {
1019 "populate": {"type": "boolean", "optional": true, "description": " If true, the window object will have a <var>tabs</var> property that contains a list of the $ref:Tab objects" }
1020 }
1021 },
1022 {
996 "type": "function", 1023 "type": "function",
997 "name": "callback", 1024 "name": "callback",
998 "parameters": [ 1025 "parameters": [
999 { 1026 {
1000 "name": "window", "$ref": "Window" 1027 "name": "window", "$ref": "Window"
1001 } 1028 }
1002 ] 1029 ]
1003 } 1030 }
1004 ] 1031 ]
1005 }, 1032 },
(...skipping 8458 matching lines...) Expand 10 before | Expand all | Expand 10 after
9464 "name": "status", 9491 "name": "status",
9465 "description": "Details of the system update" 9492 "description": "Details of the system update"
9466 } 9493 }
9467 ] 9494 ]
9468 } 9495 }
9469 ] 9496 ]
9470 } 9497 }
9471 ] 9498 ]
9472 } 9499 }
9473 ] 9500 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698