| commit | b7c1d6c4dc447a2faf7dbc7981917b482219d58b | [log] [tgz] |
|---|---|---|
| author | ccameron <[email protected]> | Mon Mar 09 17:08:24 2015 |
| committer | Commit bot <[email protected]> | Mon Mar 09 17:09:41 2015 |
| tree | 55db2aef31150ad1422dbfbabe1203631daacb77 | |
| parent | ad33731261210c1dd204be9311715c446b6f3237 [diff] [blame] |
Make command-zero reset page scale in addition to zoom level BUG=456880 Review URL: https://codereview.chromium.org/954923005 Cr-Commit-Position: refs/heads/master@{#319658}
diff --git a/chrome/browser/ui/browser_command_controller.cc b/chrome/browser/ui/browser_command_controller.cc index d0d9083..2d9a41b4 100644 --- a/chrome/browser/ui/browser_command_controller.cc +++ b/chrome/browser/ui/browser_command_controller.cc
@@ -1145,7 +1145,7 @@ command_updater_.UpdateCommandEnabled(IDC_ZOOM_PLUS, CanZoomIn(contents)); command_updater_.UpdateCommandEnabled(IDC_ZOOM_NORMAL, - !IsAtDefaultZoom(contents)); + CanResetZoom(contents)); command_updater_.UpdateCommandEnabled(IDC_ZOOM_MINUS, CanZoomOut(contents)); }