summaryrefslogtreecommitdiffstats
path: root/ipc/ipc_export.h
diff options
context:
space:
mode:
authora.sarkar.arun@gmail.com <a.sarkar.arun@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98>2014-08-04 23:42:53 +0000
committera.sarkar.arun@gmail.com <a.sarkar.arun@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98>2014-08-04 23:42:53 +0000
commitd93dbd1248f4e556c9c1c1005f5d051e3fe1efc8 (patch)
tree44df4aff1dac780b35f38948d6deb56627e4d6ab /ipc/ipc_export.h
parent061c36afc97589f3d711db443ec9e822a9935204 (diff)
downloadchromium_src-d93dbd1248f4e556c9c1c1005f5d051e3fe1efc8.zip
chromium_src-d93dbd1248f4e556c9c1c1005f5d051e3fe1efc8.tar.gz
chromium_src-d93dbd1248f4e556c9c1c1005f5d051e3fe1efc8.tar.bz2
Update the Zoom NSMenuItems (Zoom-In/Zoom-out/Actual-Size) when the zoom state changes.
The fix basically works in the following way. Look at Zoom Observer overridden methods which is implemented in Browser.cc. When the zoom state changes send relevant messages to Command_Updater to enable / disable Zoom Menu Items. BUG=32919 TEST=Open a NTP , load a url. Zoom-In max and the Zoom-In menu item should be disabled likewise zoom-out max and the zoom-out menu should be disabled. When a NTP or a page is loaded by default the zoom scale is 100% hence the Actual size menu item should be disabled. R=ben@chromium.org Review URL: https://codereview.chromium.org/310913002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287401 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ipc/ipc_export.h')
0 files changed, 0 insertions, 0 deletions