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

Issue 200126: Stylistic fixes in the new dock menu code:... (Closed)

Created:
11 years, 3 months ago by sgk
Modified:
9 years, 5 months ago
CC:
chromium-reviews_googlegroups.com, John Grabowski, pam+watch_chromium.org, Ben Goodger (Google), Paweł Hajdan Jr.
Visibility:
Public.

Description

Stylistic fixes in the new dock menu code: * Initialize variables when declared. * Descriptive name (dock_menu) for the returned value. * Use a scoped_nsobject in the unit test, not autorelease. BUG=none TEST=AppControllerTest.DockMenu Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=26507

Patch Set 1 #

Total comments: 2

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -16 lines) Patch
M chrome/browser/app_controller_mac.mm View 1 1 chunk +12 lines, -14 lines 0 comments Download
M chrome/browser/app_controller_mac_unittest.mm View 1 3 chunks +3 lines, -2 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
sgk
11 years, 3 months ago (2009-09-14 22:15:02 UTC) #1
pink (ping after 24hrs)
lgtm with changes. http://codereview.chromium.org/200126/diff/1/2 File chrome/browser/app_controller_mac.mm (right): http://codereview.chromium.org/200126/diff/1/2#newcode671 Line 671: NSMenu* dock_menu = [[[NSMenu alloc] ...
11 years, 3 months ago (2009-09-15 12:23:33 UTC) #2
sgk
Once more to make sure I'm using good scoped_nsobject patterns.
11 years, 3 months ago (2009-09-16 22:52:12 UTC) #3
pink (ping after 24hrs)
11 years, 3 months ago (2009-09-17 16:40:39 UTC) #4
yup, still LGTM

Powered by Google App Engine
This is Rietveld 408576698