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

Issue 555112: Mac bookmark mgr: Restore previously selected group when search field is cleared. (Closed)

Created:
10 years, 11 months ago by Jens Alfke
Modified:
9 years, 7 months ago
Reviewers:
Nico
CC:
chromium-reviews_googlegroups.com, John Grabowski, Paweł Hajdan Jr., pam+watch_chromium.org, ben+cc_chromium.org
Visibility:
Public.

Description

Mac bookmark mgr: Restore previously selected group when search field is cleared. BUG=32734 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=37444

Patch Set 1 #

Total comments: 4

Patch Set 2 : Fixed bug when entering multiple-char search strings #

Unified diffs Side-by-side diffs Delta from patch set Stats (+83 lines, -4 lines) Patch
M chrome/browser/cocoa/bookmark_manager_controller.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/cocoa/bookmark_manager_controller.mm View 1 2 chunks +41 lines, -3 lines 0 comments Download
M chrome/browser/cocoa/bookmark_manager_controller_unittest.mm View 1 2 chunks +38 lines, -0 lines 0 comments Download
M chrome/browser/cocoa/bookmark_tree_controller.mm View 2 chunks +3 lines, -1 line 0 comments Download

Messages

Total messages: 7 (0 generated)
Jens Alfke
10 years, 11 months ago (2010-01-27 00:38:11 UTC) #1
Nico
LG if you change the preSearchGroup from a scoped_nsobject to a pointer. Ping Pink to ...
10 years, 11 months ago (2010-01-27 00:59:17 UTC) #2
Jens Alfke
On 2010/01/27 00:59:17, Nico wrote: > LG if you change the preSearchGroup from a scoped_nsobject ...
10 years, 11 months ago (2010-01-27 17:08:47 UTC) #3
Jens Alfke
http://codereview.chromium.org/555112/diff/1/2 File chrome/browser/cocoa/bookmark_manager_controller.h (right): http://codereview.chromium.org/555112/diff/1/2#newcode32 chrome/browser/cocoa/bookmark_manager_controller.h:32: scoped_nsobject<BookmarkItem> preSearchGroup_; // Selected before search On 2010/01/27 00:59:18, ...
10 years, 11 months ago (2010-01-27 17:12:59 UTC) #4
Jens Alfke
I found a stupid bug that I introduced in one of the last changes I ...
10 years, 11 months ago (2010-01-27 19:09:57 UTC) #5
Nico
LG. The scoped_nsobject still feels weird to me, but that might just be me. Unrelated: ...
10 years, 11 months ago (2010-01-28 16:52:23 UTC) #6
Jens Alfke
10 years, 10 months ago (2010-01-28 21:33:14 UTC) #7
On 2010/01/28 16:52:23, Nico wrote:
> Have you tried the following? The user is in a folder, then starts a
> search. Then he switches to the main browser window and deletes the folder he
> was in. Then he goes back and cancels the search. What happens? 

That's what the lines added to -forgetNode: take care of: they forget the
remembered folder if it's deleted. When you clear the search field it won't
change the selection.

Powered by Google App Engine
This is Rietveld 408576698