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

Issue 7694014: Reland: Implement correct Panel closing sequence for Mac. (Closed)

Created:
9 years, 4 months ago by Dmitry Titov
Modified:
9 years, 4 months ago
Reviewers:
Avi (use Gerrit), jennb
CC:
chromium-reviews, jennb, jianli, prasadt, dcheng, Paweł Hajdan Jr.
Visibility:
Public.

Description

Implement correct Panel closing sequence for Mac. Enable PanelBrowserTest.CreatePanelOnOverflow on Mac. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=97736 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=97923 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=97937

Patch Set 1 #

Total comments: 18

Patch Set 2 : CR feedback #

Total comments: 2

Patch Set 3 : patch for loading #

Patch Set 4 : Fixed unit_tests #

Patch Set 5 : patch for landing. Resolved merge. #

Patch Set 6 : Fixed random result of CreateClose unittest caused by using a freed object. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+194 lines, -83 lines) Patch
M chrome/app/nibs/Panel.xib View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/panels/panel.cc View 1 2 3 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/ui/panels/panel_app_browsertest.cc View 1 5 chunks +36 lines, -5 lines 0 comments Download
M chrome/browser/ui/panels/panel_browser_window_cocoa.h View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/ui/panels/panel_browser_window_cocoa.mm View 1 3 chunks +7 lines, -8 lines 0 comments Download
M chrome/browser/ui/panels/panel_browser_window_cocoa_unittest.mm View 1 2 3 4 5 12 chunks +68 lines, -51 lines 0 comments Download
M chrome/browser/ui/panels/panel_browsertest.cc View 1 2 3 5 chunks +25 lines, -9 lines 0 comments Download
M chrome/browser/ui/panels/panel_window_controller_cocoa.mm View 1 2 3 4 3 chunks +44 lines, -8 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Dmitry Titov
This implements the window closing sequence for the Panels, similar to the one used for ...
9 years, 4 months ago (2011-08-19 21:28:55 UTC) #1
jennb
To summarize the comments below: I prefer a solution where the window is animated offscreen ...
9 years, 4 months ago (2011-08-19 21:46:12 UTC) #2
Avi (use Gerrit)
Cocoa stuff LGTM; take care of Jenn's concerns. Plus, there's a typo in the change ...
9 years, 4 months ago (2011-08-19 22:05:00 UTC) #3
Dmitry Titov
On 2011/08/19 21:46:12, jennb wrote: > To summarize the comments below: I prefer a solution ...
9 years, 4 months ago (2011-08-20 00:33:30 UTC) #4
Dmitry Titov
General comment addressing Jenn's suggestion about immediate hide of the window and removal of it ...
9 years, 4 months ago (2011-08-22 18:34:55 UTC) #5
jennb
LGTM Thanks for the detailed explanation about close process. I'm ok with having a separate ...
9 years, 4 months ago (2011-08-22 19:13:02 UTC) #6
Dmitry Titov
This patch was landed and reverted because unit_tests on Mac failed. The updated patch is ...
9 years, 4 months ago (2011-08-23 18:44:23 UTC) #7
jennb
LGTM
9 years, 4 months ago (2011-08-23 20:59:35 UTC) #8
Dmitry Titov
9 years, 4 months ago (2011-08-23 22:17:02 UTC) #9
Now it got reverted because using freed object in the test has caused the test
to succeed locally but fail on the bot.
Updated, will re-land.

Powered by Google App Engine
This is Rietveld 408576698