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

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

Issue 1233263002: Clean up error handling logic for extension tab muting (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Restore capitalization of LastMuteMetadata Created 5 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 { 10 {
(...skipping 538 matching lines...) Expand 10 before | Expand all | Expand 10 after
549 "description": "Whether the tab should be selected." 549 "description": "Whether the tab should be selected."
550 }, 550 },
551 "pinned": { 551 "pinned": {
552 "type": "boolean", 552 "type": "boolean",
553 "optional": true, 553 "optional": true,
554 "description": "Whether the tab should be pinned." 554 "description": "Whether the tab should be pinned."
555 }, 555 },
556 "muted": { 556 "muted": {
557 "type": "boolean", 557 "type": "boolean",
558 "optional": true, 558 "optional": true,
559 "description": "Whether the tab should be muted." 559 "description": "Whether the tab should be muted. This is rate li mited across all extensions to allow at most three attempts in fast succession; additional attempts are earned every 15 seconds."
560 }, 560 },
561 "openerTabId": { 561 "openerTabId": {
562 "type": "integer", 562 "type": "integer",
563 "minimum": 0, 563 "minimum": 0,
564 "optional": true, 564 "optional": true,
565 "description": "The ID of the tab that opened this tab. If speci fied, the opener tab must be in the same window as this tab." 565 "description": "The ID of the tab that opened this tab. If speci fied, the opener tab must be in the same window as this tab."
566 } 566 }
567 } 567 }
568 }, 568 },
569 { 569 {
(...skipping 572 matching lines...) Expand 10 before | Expand all | Expand 10 after
1142 "tabId": {"type": "integer", "minimum": 0}, 1142 "tabId": {"type": "integer", "minimum": 0},
1143 "oldZoomFactor": {"type": "number"}, 1143 "oldZoomFactor": {"type": "number"},
1144 "newZoomFactor": {"type": "number"}, 1144 "newZoomFactor": {"type": "number"},
1145 "zoomSettings": {"$ref": "ZoomSettings"} 1145 "zoomSettings": {"$ref": "ZoomSettings"}
1146 } 1146 }
1147 }] 1147 }]
1148 } 1148 }
1149 ] 1149 ]
1150 } 1150 }
1151 ] 1151 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698