Make disabled-mode zoom event send correct new zoom level.
commita9373cadd74221c6aaa77ca5b5fc2e7e7f5c4ed7
authorwjmaclean <wjmaclean@chromium.org>
Wed, 1 Apr 2015 22:53:26 +0000 (1 15:53 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 1 Apr 2015 22:54:31 +0000 (1 22:54 +0000)
tree81e10489e745dc4a10140ef83173365772042f09
parent5ee99f2860ecf2e167e0b8bed156f466e1b077ec
Make disabled-mode zoom event send correct new zoom level.

Modify ZoomController so that when we enter ZOOM_MODE_DISABLED we send
the correct value for new zoom level in the ZoomChangedEventData.

BUG=472621

Review URL: https://codereview.chromium.org/1054703002

Cr-Commit-Position: refs/heads/master@{#323353}
chrome/browser/ui/zoom/zoom_controller_browsertest.cc
chrome/test/data/extensions/platform_apps/web_view/shim/main.js
components/ui/zoom/zoom_controller.cc