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

Issue 7307028: Changed StartMouseInitiatedRemoveTabAnimation to use tab data indices rather than Model indices w... (Closed)

Created:
9 years, 5 months ago by SteveT
Modified:
9 years, 5 months ago
Reviewers:
sky
CC:
chromium-reviews
Visibility:
Public.

Description

Changed StartMouseInitiatedRemoveTabAnimation to use tab data indices rather than Model indices when adjusting mini-tab/non-mini-tab padding. BUG=36504 TEST=See bug. Start Chrome and open a new tab. Pin the first one and then close it with a middle mouse click. Now look carefully at the left edge of the tab and open a new tab. The left most tab should not shift at all. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=91698

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -2 lines) Patch
M chrome/browser/ui/views/tabs/tab_strip.cc View 1 chunk +5 lines, -2 lines 1 comment Download

Messages

Total messages: 4 (0 generated)
SteveT
Please have a look. This change was necessary as the Tab Model was only seeing ...
9 years, 5 months ago (2011-07-06 20:39:37 UTC) #1
sky
LGTM http://codereview.chromium.org/7307028/diff/1/chrome/browser/ui/views/tabs/tab_strip.cc File chrome/browser/ui/views/tabs/tab_strip.cc (right): http://codereview.chromium.org/7307028/diff/1/chrome/browser/ui/views/tabs/tab_strip.cc#newcode974 chrome/browser/ui/views/tabs/tab_strip.cc:974: if (tab_closing->data().mini && next_tab_data_index < tab_count() && Insert: ...
9 years, 5 months ago (2011-07-06 20:54:56 UTC) #2
sky
One comment. The bug mentions all platforms. I'm not sure if that is correct, but ...
9 years, 5 months ago (2011-07-06 21:01:57 UTC) #3
SteveT
9 years, 5 months ago (2011-07-06 21:15:31 UTC) #4
On 2011/07/06 21:01:57, sky wrote:
> One comment. The bug mentions all platforms. I'm not sure if that is correct,
> but you should verify that.
> 
>   -Scott

Yeah I did take a look at mac and linux_gtk and they do not appear to repro
there. It does repro on linux_chromeos.

Thanks for the look. Will make your change and commit once I get some green
trys.

Powered by Google App Engine
This is Rietveld 408576698