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

Issue 9732012: [Mac] Have BaseBubbleController dismiss bubbles when they would lose key state on 10.8. (Closed)

Created:
8 years, 9 months ago by Robert Sesek
Modified:
8 years, 9 months ago
Reviewers:
Nico
CC:
chromium-reviews
Visibility:
Public.

Description

[Mac] Have BaseBubbleController dismiss bubbles when they would lose key state on 10.8. On 10.8, parent window key state sharing has changed semantic meaning to also include when the NSWindowDidResignKeyNotification is sent. This change adds two event taps, in the same manner as NSPopover does (c.f. bug for details), to properly dismiss bubble windows. BUG=116179 TEST=On 10.8, open the bookmark bubble, extension bubbles, and the page info bubble. They are all dismissed wh en you click outside the window or switch applications. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=128106

Patch Set 1 #

Patch Set 2 : local changes #

Total comments: 2

Patch Set 3 : More SDK declarations #

Patch Set 4 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+166 lines, -5 lines) Patch
M chrome/browser/ui/cocoa/base_bubble_controller.h View 2 chunks +16 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/base_bubble_controller.mm View 1 2 4 chunks +76 lines, -1 line 0 comments Download
M chrome/browser/ui/cocoa/base_bubble_controller_unittest.mm View 1 2 chunks +73 lines, -4 lines 0 comments Download
M chrome/browser/ui/cocoa/bookmarks/bookmark_bubble_controller.mm View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Robert Sesek
8 years, 9 months ago (2012-03-19 20:22:28 UTC) #1
Nico
LGTM Can you think of any way we could make BaseBubbleViewController use an NSPopover when ...
8 years, 9 months ago (2012-03-20 16:18:40 UTC) #2
Robert Sesek
On 2012/03/20 16:18:40, Nico wrote: > Can you think of any way we could make ...
8 years, 9 months ago (2012-03-21 21:55:12 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rsesek@chromium.org/9732012/10001
8 years, 9 months ago (2012-03-21 22:00:30 UTC) #4
commit-bot: I haz the power
8 years, 9 months ago (2012-03-21 23:43:27 UTC) #5
Change committed as 128106

Powered by Google App Engine
This is Rietveld 408576698