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

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

Issue 2142413003: Adding Discarded property support for onUpdate function. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@API_Discarded
Patch Set: Created 4 years, 5 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 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 [ 5 [
6 { 6 {
7 "namespace": "tabs", 7 "namespace": "tabs",
8 "description": "Use the <code>chrome.tabs</code> API to interact with the br owser's tab system. You can use this API to create, modify, and rearrange tabs i n the browser.", 8 "description": "Use the <code>chrome.tabs</code> API to interact with the br owser's tab system. You can use this API to create, modify, and rearrange tabs i n the browser.",
9 "types": [ 9 "types": [
10 { "id": "MutedInfoReason", 10 { "id": "MutedInfoReason",
(...skipping 935 matching lines...) Expand 10 before | Expand all | Expand 10 after
946 "pinned": { 946 "pinned": {
947 "type": "boolean", 947 "type": "boolean",
948 "optional": true, 948 "optional": true,
949 "description": "The tab's new pinned state." 949 "description": "The tab's new pinned state."
950 }, 950 },
951 "audible": { 951 "audible": {
952 "type": "boolean", 952 "type": "boolean",
953 "optional": true, 953 "optional": true,
954 "description": "The tab's new audible state." 954 "description": "The tab's new audible state."
955 }, 955 },
956 "discarded": {
957 "type": "boolean",
958 "optional": true,
959 "description": "The tab's new discarded state."
960 },
956 "mutedInfo": { 961 "mutedInfo": {
957 "$ref": "MutedInfo", 962 "$ref": "MutedInfo",
958 "optional": true, 963 "optional": true,
959 "description": "The tab's new muted state and the reason for the change." 964 "description": "The tab's new muted state and the reason for the change."
960 }, 965 },
961 "favIconUrl": { 966 "favIconUrl": {
962 "type": "string", 967 "type": "string",
963 "optional": true, 968 "optional": true,
964 "description": "The tab's new favicon URL." 969 "description": "The tab's new favicon URL."
965 }, 970 },
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
1184 "tabId": {"type": "integer", "minimum": 0}, 1189 "tabId": {"type": "integer", "minimum": 0},
1185 "oldZoomFactor": {"type": "number"}, 1190 "oldZoomFactor": {"type": "number"},
1186 "newZoomFactor": {"type": "number"}, 1191 "newZoomFactor": {"type": "number"},
1187 "zoomSettings": {"$ref": "ZoomSettings"} 1192 "zoomSettings": {"$ref": "ZoomSettings"}
1188 } 1193 }
1189 }] 1194 }]
1190 } 1195 }
1191 ] 1196 ]
1192 } 1197 }
1193 ] 1198 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698