Chromium Code Reviews
DescriptionOOP PDF: Do not call setZoom in response to an onZoomChange event.
Previously, the PDF extension called chrome.tabs.setZoom in response to
chrome.tabs.onZoomChange events received while a setZoom call was not
in progress. This setZoom call unnecessarily requested the zoom be set
to the current zoom value. Prior to another fix, this sometimes caused
the zoom indicator bubble to flicker.
This CL refactors the logic for when to call chrome.tabs.setZoom into a
separate, tested class that doesn't call setZoom in response to
onZoomChange events.
Committed: https://crrev.com/3e4104f7c8ccbb8987fcbde71c1402e123d2cb13
Cr-Commit-Position: refs/heads/master@{#324570}
Patch Set 1 #Patch Set 2 : #Patch Set 3 : #
Total comments: 14
Patch Set 4 : rebase #Patch Set 5 : #
Total comments: 2
Patch Set 6 : #
Messages
Total messages: 20 (9 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||