DescriptionAdd default zoom functionality to chrome.tabs Zoom API.
This CL adds default zoom factor functionality to the tabs zoom api.
Tabs can now be set to the current default zoom via
setZoom(tabId, 0)
and the current default zoom level can be retrieved as a parameter
default_zoom_factor in the ZoomSettings structure returned by
getZoomSettings.
BUG=470550
Committed: https://crrev.com/5448610da81a6438bdf2f1b0a1827c0287073f6f
Cr-Commit-Position: refs/heads/master@{#323505}
Patch Set 1 #
Total comments: 13
Patch Set 2 : Address suggestions. #
Total comments: 2
Patch Set 3 : Address comments. #
Total comments: 2
Patch Set 4 : Add braces around if-clause statement. #
Messages
Total messages: 14 (3 generated)
|