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

Issue 13318002: [Mac] Fix handling of download shelf auto close. (Closed)

Created:
7 years, 8 months ago by asanka
Modified:
7 years, 8 months ago
Reviewers:
Nico
CC:
chromium-reviews, benjhayden+dwatch_chromium.org, Randy Smith (Not in Mondays), sail+watch_chromium.org
Visibility:
Public.

Description

[Mac] Fix handling of download shelf auto close. If the mouse is not on the download shelf when an auto-close is scheduled, the shelf would not close automatically. Fix this by closing immediately if the mouse isn't on the shelf. Also adds unit-tests and update the shelf to use CrTrackingArea instead of NSTrackingArea. BUG=none TEST=(1) Start a download that opens automatically. (2) Move the mouse off the shelf and wait for completion. (3) The shelf should close automatically. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=195080

Patch Set 1 #

Patch Set 2 : Use OCMock #

Unified diffs Side-by-side diffs Delta from patch set Stats (+348 lines, -44 lines) Patch
M chrome/browser/ui/cocoa/download/download_shelf_controller.h View 1 4 chunks +16 lines, -4 lines 0 comments Download
M chrome/browser/ui/cocoa/download/download_shelf_controller.mm View 1 13 chunks +72 lines, -40 lines 0 comments Download
A chrome/browser/ui/cocoa/download/download_shelf_controller_unittest.mm View 1 1 chunk +259 lines, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
asanka
Depends on and is a follow up to https://codereview.chromium.org/12995025/ I don't know if the testing ...
7 years, 8 months ago (2013-03-29 15:58:22 UTC) #1
Nico
On 2013/03/29 15:58:22, asanka wrote: > Depends on and is a follow up to https://codereview.chromium.org/12995025/ ...
7 years, 8 months ago (2013-03-30 04:33:41 UTC) #2
asanka
On 2013/03/30 04:33:41, Nico wrote: > On 2013/03/29 15:58:22, asanka wrote: > > Depends on ...
7 years, 8 months ago (2013-04-04 00:54:00 UTC) #3
asanka
On 2013/04/04 00:54:00, asanka wrote: > On 2013/03/30 04:33:41, Nico wrote: > > On 2013/03/29 ...
7 years, 8 months ago (2013-04-16 15:27:25 UTC) #4
Nico
lgtm Sorry about the delay.
7 years, 8 months ago (2013-04-16 21:58:44 UTC) #5
asanka
On 2013/04/16 21:58:44, Nico wrote: > lgtm > > Sorry about the delay. Thanks!
7 years, 8 months ago (2013-04-16 22:15:40 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/asanka@chromium.org/13318002/8002
7 years, 8 months ago (2013-04-18 17:31:45 UTC) #7
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-18 18:50:01 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/asanka@chromium.org/13318002/8002
7 years, 8 months ago (2013-04-18 22:23:50 UTC) #9
commit-bot: I haz the power
7 years, 8 months ago (2013-04-19 03:49:55 UTC) #10
Message was sent while issue was closed.
Change committed as 195080

Powered by Google App Engine
This is Rietveld 408576698