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

Issue 391050: Implemented ShowOptionsWindow() for OS X (except the highlighting (Closed)

Created:
11 years, 1 month ago by akalin
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Implemented ShowOptionsWindow() for OS X (except the highlighting of the given group). Refactored PreferencesWindowController a bit. Made preferences_window_controller_unittest.mm use CocoaTest instead of CocoaTestHelper and reenabled disabled test which was crashing (likely due to interactions with CocoaTestHelper). BUG=23073 TEST=manually,trybots Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=31973

Patch Set 1 #

Patch Set 2 : Fixed whitespace and comments. #

Total comments: 5

Patch Set 3 : Addressed thomasvl/pinkerton/nico's comments. #

Patch Set 4 : Removed obsolete comment. #

Total comments: 1

Patch Set 5 : Strengthened unittests. #

Patch Set 6 : Addressed tvl's comments #

Patch Set 7 : Fixed unittest. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+305 lines, -51 lines) Patch
M chrome/browser/app_controller_mac.mm View 1 2 3 chunks +19 lines, -4 lines 0 comments Download
M chrome/browser/cocoa/preferences_window_controller.h View 1 4 chunks +33 lines, -1 line 0 comments Download
M chrome/browser/cocoa/preferences_window_controller.mm View 1 2 3 4 5 9 chunks +105 lines, -39 lines 0 comments Download
M chrome/browser/cocoa/preferences_window_controller_unittest.mm View 1 2 3 4 5 6 5 chunks +148 lines, -7 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
akalin
+thomasvl for review How to test manually: - Patch this change in, build, and run ...
11 years, 1 month ago (2009-11-13 09:55:16 UTC) #1
TVL
lgtm + pinkerton for the app change and for ideas on the unittests question about ...
11 years, 1 month ago (2009-11-13 12:48:09 UTC) #2
pink (ping after 24hrs)
http://codereview.chromium.org/391050/diff/1010/11 File chrome/browser/app_controller_mac.mm (right): http://codereview.chromium.org/391050/diff/1010/11#newcode701 Line 701: [prefsController_ showPreferences:sender]; why not do the switch before ...
11 years, 1 month ago (2009-11-13 15:32:29 UTC) #3
Nico
drive-by http://codereview.chromium.org/391050/diff/1010/13 File chrome/browser/cocoa/preferences_window_controller.mm (right): http://codereview.chromium.org/391050/diff/1010/13#newcode535 Line 535: return OPTIONS_PAGE_GENERAL; OPTIONS_PAGE_DEFAULT ? http://codereview.chromium.org/391050/diff/1010/13#newcode545 Line 545: ...
11 years, 1 month ago (2009-11-13 16:20:23 UTC) #4
akalin
On 2009/11/13 12:48:09, TVL wrote: > lgtm > > http://codereview.chromium.org/391050/diff/1010/13#newcode480 > Line 480: - (IntegerPrefMember*)lastSelectedPage ...
11 years, 1 month ago (2009-11-13 21:05:38 UTC) #5
TVL
still lgtm. http://codereview.chromium.org/391050/diff/4003/6004 File chrome/browser/cocoa/preferences_window_controller.mm (right): http://codereview.chromium.org/391050/diff/4003/6004#newcode1709 Line 1709: default: so the one advantage of ...
11 years, 1 month ago (2009-11-13 21:26:29 UTC) #6
akalin
On 2009/11/13 21:26:29, TVL wrote: > Line 1709: default: > so the one advantage of ...
11 years, 1 month ago (2009-11-13 22:07:32 UTC) #7
Nico
11 years, 1 month ago (2009-11-13 22:09:48 UTC) #8
Oh, I'm fine with whatever pink and thomas say :-)

On Fri, Nov 13, 2009 at 2:07 PM,  <akalin@chromium.org> wrote:
> On 2009/11/13 21:26:29, TVL wrote:
>>
>> Line 1709: default:
>> so the one advantage of listing the _DEFAULT value would be you could
>> remove
>
> the
>>
>> default: part and the compiler will warn if if there is an unhandled enum
>
> value.
>
> Done, changed NOTIMPLEMENTED() to a LOG(DFATAL).
>
> Also added more unittests.
>
> pinkerton and thakis, go ahead and take another look!
>
> http://codereview.chromium.org/391050
>

Powered by Google App Engine
This is Rietveld 408576698