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

Issue 385053: Moves the animation for the download_started into an overlay window to get... (Closed)

Created:
11 years, 1 month ago by dmac
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com, John Grabowski, Paul Godavari, pam+watch_chromium.org, ben+cc_chromium.org
Visibility:
Public.

Description

Moves the animation for the download_started into an overlay window to get rid of jankyness on 10.6. It really shouldn't have worked right on 10.5 either. The layer needed to be hosted in a view. Views should not overlap. The only ways to do this correctly are: a) Turn on setWantsLayer for the browser view and make a subview to host our animation. b) An overlay window Went with 'b', because 'a' may be a big memory hit, and I'm not sure how webkit works in a layered environment. BUG=23500 TEST=see bug Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=31802

Patch Set 1 #

Total comments: 2

Patch Set 2 : '' #

Total comments: 2

Patch Set 3 : '' #

Patch Set 4 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+128 lines, -98 lines) Patch
M chrome/browser/cocoa/download_started_animation_mac.mm View 1 2 3 3 chunks +128 lines, -98 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
dmac
Tested on 10.5 and 10.6 and looks pretty buttery smooth to me.
11 years, 1 month ago (2009-11-12 00:44:11 UTC) #1
Nico
On 2009/11/12 00:44:11, dmac wrote: > Tested on 10.5 and 10.6 and looks pretty buttery ...
11 years, 1 month ago (2009-11-12 01:53:55 UTC) #2
rohitrao (ping after 24h)
I was going to ask about what happens when the window is resized, but it ...
11 years, 1 month ago (2009-11-12 02:38:28 UTC) #3
Nico
http://codereview.chromium.org/385053/diff/1/2 File chrome/browser/cocoa/download_started_animation_mac.mm (right): http://codereview.chromium.org/385053/diff/1/2#newcode109 Line 109: NSWindow *parentWindow = [tabContentsView window]; could this be ...
11 years, 1 month ago (2009-11-12 04:35:07 UTC) #4
dmac
On 2009/11/12 01:53:55, Nico wrote: > On 2009/11/12 00:44:11, dmac wrote: > > Tested on ...
11 years, 1 month ago (2009-11-12 04:51:13 UTC) #5
dmac
On 2009/11/12 02:38:28, rohitrao wrote: > I was going to ask about what happens when ...
11 years, 1 month ago (2009-11-12 04:53:18 UTC) #6
dmac
On 2009/11/12 04:35:07, Nico wrote: > http://codereview.chromium.org/385053/diff/1/2 > File chrome/browser/cocoa/download_started_animation_mac.mm (right): > > http://codereview.chromium.org/385053/diff/1/2#newcode109 > ...
11 years, 1 month ago (2009-11-12 17:54:21 UTC) #7
dmac
Thanks for the comments guys... anything else?
11 years, 1 month ago (2009-11-12 17:54:59 UTC) #8
Nico
LG http://codereview.chromium.org/385053/diff/6001/6002 File chrome/browser/cocoa/download_started_animation_mac.mm (right): http://codereview.chromium.org/385053/diff/6001/6002#newcode121 Line 121: if ((self = [super initWithContentRect:frame An overview ...
11 years, 1 month ago (2009-11-12 18:06:58 UTC) #9
Nico
http://codereview.chromium.org/385053/diff/6001/6002 File chrome/browser/cocoa/download_started_animation_mac.mm (right): http://codereview.chromium.org/385053/diff/6001/6002#newcode111 Line 111: // The tab has been moved out of ...
11 years, 1 month ago (2009-11-12 18:09:36 UTC) #10
dmac
Added your two comments, and shrunk the size of the window to cut down on ...
11 years, 1 month ago (2009-11-12 18:38:54 UTC) #11
Nico
11 years, 1 month ago (2009-11-12 18:46:09 UTC) #12
SLG.

On Thu, Nov 12, 2009 at 10:38 AM,  <dmaclach@chromium.org> wrote:
> Added your two comments, and shrunk the size of the window to cut down on
> memory
> usage. Could you take another quick glance?
>
>
> http://codereview.chromium.org/385053
>

Powered by Google App Engine
This is Rietveld 408576698