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

Issue 13801018: Mac: Fix BMB commands triggering a standalone window instead of a sheet. (Closed)

Created:
7 years, 8 months ago by Alexei Svitkine (slow)
Modified:
7 years, 8 months ago
Reviewers:
Robert Sesek
CC:
chromium-reviews, tfarina, sail+watch_chromium.org
Visibility:
Public.

Description

Mac: Fix BMB commands triggering a standalone window instead of a sheet. It was caused by -menu getting called before the view got added to the window, which was creating the C++ controller with a nil NSWindow. (This was being done by the localizer inspecting the view.) Add an early return in that case - so the menu only gets created once the view is attached to the window. BUG=227388 TEST=As per bug. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=192958

Patch Set 1 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -0 lines) Patch
M chrome/browser/ui/cocoa/bookmarks/bookmark_context_menu_cocoa_controller.mm View 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Alexei Svitkine (slow)
7 years, 8 months ago (2013-04-08 19:52:31 UTC) #1
Robert Sesek
lgtm
7 years, 8 months ago (2013-04-08 20:30:18 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/asvitkine@chromium.org/13801018/5001
7 years, 8 months ago (2013-04-08 20:33:40 UTC) #3
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 8 months ago (2013-04-08 21:02:10 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/asvitkine@chromium.org/13801018/5001
7 years, 8 months ago (2013-04-08 21:29:20 UTC) #5
commit-bot: I haz the power
7 years, 8 months ago (2013-04-09 00:09:11 UTC) #6
Message was sent while issue was closed.
Change committed as 192958

Powered by Google App Engine
This is Rietveld 408576698