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 #
Messages
Total messages: 10 (0 generated)
|