Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(77)

Issue 3026025: The Mac wrench menu zoom controls honor the global enabled state of the zoom commands. (Closed)

Created:
10 years, 5 months ago by sanjeevr
Modified:
9 years, 7 months ago
Reviewers:
Robert Sesek
CC:
chromium-reviews, John Grabowski, pam+watch_chromium.org, ben+cc_chromium.org
Visibility:
Public.

Description

Exposed an IsEnabledAt for ButtonMenuItemModel (this is not used yet, will be used in a subsequent checkin). The Mac wrench menu zoom controls honor the global enabled state of the zoom commands. BUG=None. TEST=Open a PDF using the internal PDF viewer on the Mac. The Zoom controls on the Wrench menu should be disabled. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=53824

Patch Set 1 #

Patch Set 2 : Removed spaces #

Patch Set 3 : More spaces removed. #

Total comments: 8

Patch Set 4 : Code review changes #

Patch Set 5 : Made the IsCommandIdEnabled delegate method const. #

Total comments: 2

Patch Set 6 : Removed unneeded disabling of percentage display. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -0 lines) Patch
M app/menus/button_menu_item_model.h View 1 2 3 4 2 chunks +4 lines, -0 lines 0 comments Download
M app/menus/button_menu_item_model.cc View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/cocoa/wrench_menu_controller.mm View 1 2 3 4 5 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/wrench_menu_model.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/wrench_menu_model.cc View 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
sanjeevr
10 years, 5 months ago (2010-07-27 00:39:32 UTC) #1
Robert Sesek
Please add some new lines in your CL description to break up the BUG= and ...
10 years, 5 months ago (2010-07-27 01:17:02 UTC) #2
sanjeevr
Made all the changes. Also fixed the description. I am trying git for the first ...
10 years, 5 months ago (2010-07-27 02:14:55 UTC) #3
Robert Sesek
http://codereview.chromium.org/3026025/diff/15002/22003 File chrome/browser/cocoa/wrench_menu_controller.mm (right): http://codereview.chromium.org/3026025/diff/15002/22003#newcode83 chrome/browser/cocoa/wrench_menu_controller.mm:83: [zoomDisplay_ setEnabled:plusEnabled || minusEnabled]; Remove this. |zoomDisplay_| should always ...
10 years, 4 months ago (2010-07-27 14:53:22 UTC) #4
sanjeevr
http://codereview.chromium.org/3026025/diff/15002/22003 File chrome/browser/cocoa/wrench_menu_controller.mm (right): http://codereview.chromium.org/3026025/diff/15002/22003#newcode83 chrome/browser/cocoa/wrench_menu_controller.mm:83: [zoomDisplay_ setEnabled:plusEnabled || minusEnabled]; On 2010/07/27 14:53:22, rsesek wrote: ...
10 years, 4 months ago (2010-07-27 17:27:07 UTC) #5
Robert Sesek
10 years, 4 months ago (2010-07-27 17:41:41 UTC) #6
LGTM

Powered by Google App Engine
This is Rietveld 408576698