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

Issue 207027: [Mac] Polish the search engine manager (Closed)

Created:
11 years, 3 months ago by Robert Sesek
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

[Mac] Polish the search engine manager * Make the edit search engine window a sheet. * Only allow one instance of the search engine manager to be opened at once. * The search engine manager now remembers its position. * Create NSWindow(LocalStateAdditions) category to assist with storing window position in Chromium's local state. BUG=21761, 21762, 21883, 21996 TEST=Editing/adding a search engine happens in a sheet. Press [Manage] multiple times and only 1 window should open. Press [Manage] and the window should be at its last position. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=26646

Patch Set 1 #

Total comments: 6

Patch Set 2 : '' #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+772 lines, -102 lines) Patch
M chrome/app/nibs/EditSearchEngine.xib View 1 24 chunks +554 lines, -40 lines 0 comments Download
M chrome/browser/browser_prefs.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/cocoa/edit_search_engine_cocoa_controller.mm View 2 chunks +12 lines, -2 lines 0 comments Download
M chrome/browser/cocoa/keyword_editor_cocoa_controller.mm View 1 5 chunks +38 lines, -2 lines 0 comments Download
A chrome/browser/cocoa/nswindow_local_state.h View 1 chunk +21 lines, -0 lines 0 comments Download
A chrome/browser/cocoa/nswindow_local_state.mm View 1 chunk +37 lines, -0 lines 0 comments Download
A chrome/browser/cocoa/nswindow_local_state_unittest.mm View 1 chunk +64 lines, -0 lines 0 comments Download
M chrome/browser/cocoa/page_info_window_controller.h View 1 chunk +0 lines, -8 lines 0 comments Download
M chrome/browser/cocoa/page_info_window_controller.mm View 3 chunks +6 lines, -30 lines 0 comments Download
M chrome/browser/cocoa/page_info_window_controller_unittest.mm View 1 chunk +0 lines, -17 lines 0 comments Download
M chrome/browser/cocoa/preferences_window_controller.h View 1 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/cocoa/preferences_window_controller.mm View 1 1 chunk +16 lines, -3 lines 0 comments Download
M chrome/browser/search_engines/keyword_editor_controller.h View 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/search_engines/keyword_editor_controller.cc View 2 chunks +8 lines, -0 lines 1 comment Download
M chrome/chrome.gyp View 1 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/common/pref_names.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/pref_names.cc View 1 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Robert Sesek
11 years, 3 months ago (2009-09-18 03:43:56 UTC) #1
pink (ping after 24hrs)
Almost there, mostly concerned about the location of the pref registration. http://codereview.chromium.org/207027/diff/1/4 File chrome/browser/cocoa/keyword_editor_cocoa_controller.mm (right): ...
11 years, 3 months ago (2009-09-18 14:39:06 UTC) #2
Robert Sesek
http://codereview.chromium.org/207027/diff/1/4 File chrome/browser/cocoa/keyword_editor_cocoa_controller.mm (right): http://codereview.chromium.org/207027/diff/1/4#newcode56 Line 56: + (void)initialize { On 2009/09/18 14:39:06, pink wrote: ...
11 years, 3 months ago (2009-09-18 19:01:24 UTC) #3
pink (ping after 24hrs)
11 years, 3 months ago (2009-09-18 19:12:50 UTC) #4
LGTM

http://codereview.chromium.org/207027/diff/5001/5014
File chrome/browser/search_engines/keyword_editor_controller.cc (right):

http://codereview.chromium.org/207027/diff/5001/5014#newcode24
Line 24: // TODO(22269): Other platforms besides Mac should remember window
placement.
usually the format for this is:
// TODO(yourNameHere): blah blah blah. http://crbug.com/22269

Powered by Google App Engine
This is Rietveld 408576698