({ count, tabId })
| 351 | } |
| 352 | }, |
| 353 | async zoomIn({ count, tabId }) { |
| 354 | const currentZoom = await chrome.tabs.getZoom(tabId); |
| 355 | const newZoom = nextZoomLevel(currentZoom, count); |
| 356 | chrome.tabs.setZoom(tabId, newZoom); |
| 357 | }, |
| 358 | async zoomOut({ count, tabId }) { |
| 359 | const currentZoom = await chrome.tabs.getZoom(tabId); |
| 360 | const newZoom = nextZoomLevel(currentZoom, -count); |
nothing calls this directly
no test coverage detected