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

Issue 12033027: Clean up the tab animations (part 2) (Closed)

Created:
7 years, 11 months ago by cpu_(ooo_6.6-7.5)
Modified:
7 years, 11 months ago
Reviewers:
sky
CC:
chromium-reviews, tfarina
Visibility:
Public.

Description

Clean up the tab animations (part 2) Here we reach the end goal of only having one animation object for the tab and one animation object for the icon Also removed dead flag kAppsNoThrob. BUG=3541 TEST=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=178460

Patch Set 1 #

Patch Set 2 : #

Total comments: 6

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+60 lines, -56 lines) Patch
M chrome/browser/ui/views/tabs/tab.h View 1 2 3 5 chunks +7 lines, -15 lines 0 comments Download
M chrome/browser/ui/views/tabs/tab.cc View 1 2 3 10 chunks +53 lines, -41 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
cpu_(ooo_6.6-7.5)
not ready for review but I need some advice.
7 years, 11 months ago (2013-01-22 21:06:36 UTC) #1
cpu_(ooo_6.6-7.5)
ready for review. I figured out my problem. This CL also fixes the bug that ...
7 years, 11 months ago (2013-01-23 03:07:05 UTC) #2
sky
https://codereview.chromium.org/12033027/diff/5001/chrome/browser/ui/views/tabs/tab.cc File chrome/browser/ui/views/tabs/tab.cc (right): https://codereview.chromium.org/12033027/diff/5001/chrome/browser/ui/views/tabs/tab.cc#newcode498 chrome/browser/ui/views/tabs/tab.cc:498: nuke this, in fact nuke 494 and 490 as ...
7 years, 11 months ago (2013-01-23 16:10:02 UTC) #3
cpu_(ooo_6.6-7.5)
https://codereview.chromium.org/12033027/diff/5001/chrome/browser/ui/views/tabs/tab.cc File chrome/browser/ui/views/tabs/tab.cc (right): https://codereview.chromium.org/12033027/diff/5001/chrome/browser/ui/views/tabs/tab.cc#newcode1077 chrome/browser/ui/views/tabs/tab.cc:1077: data().mini) { On 2013/01/23 16:10:02, sky wrote: > What ...
7 years, 11 months ago (2013-01-23 18:31:40 UTC) #4
sky
https://codereview.chromium.org/12033027/diff/5001/chrome/browser/ui/views/tabs/tab.cc File chrome/browser/ui/views/tabs/tab.cc (right): https://codereview.chromium.org/12033027/diff/5001/chrome/browser/ui/views/tabs/tab.cc#newcode1077 chrome/browser/ui/views/tabs/tab.cc:1077: data().mini) { On 2013/01/23 18:31:40, cpu wrote: > On ...
7 years, 11 months ago (2013-01-23 19:33:02 UTC) #5
cpu_(ooo_6.6-7.5)
https://codereview.chromium.org/12033027/diff/5001/chrome/browser/ui/views/tabs/tab.cc File chrome/browser/ui/views/tabs/tab.cc (right): https://codereview.chromium.org/12033027/diff/5001/chrome/browser/ui/views/tabs/tab.cc#newcode1077 chrome/browser/ui/views/tabs/tab.cc:1077: data().mini) { On 2013/01/23 19:33:02, sky wrote: > On ...
7 years, 11 months ago (2013-01-23 20:35:07 UTC) #6
sky
https://codereview.chromium.org/12033027/diff/5001/chrome/browser/ui/views/tabs/tab.cc File chrome/browser/ui/views/tabs/tab.cc (right): https://codereview.chromium.org/12033027/diff/5001/chrome/browser/ui/views/tabs/tab.cc#newcode1077 chrome/browser/ui/views/tabs/tab.cc:1077: data().mini) { On 2013/01/23 20:35:07, cpu wrote: > On ...
7 years, 11 months ago (2013-01-23 21:07:22 UTC) #7
cpu_(ooo_6.6-7.5)
our caller, the tabstrip seems to be doing the right thing, in fact calling stop ...
7 years, 11 months ago (2013-01-23 21:27:49 UTC) #8
sky
7 years, 11 months ago (2013-01-23 22:16:31 UTC) #9
LGTM

https://codereview.chromium.org/12033027/diff/3004/chrome/browser/ui/views/ta...
File chrome/browser/ui/views/tabs/tab.cc (right):

https://codereview.chromium.org/12033027/diff/3004/chrome/browser/ui/views/ta...
chrome/browser/ui/views/tabs/tab.cc:1103: gfx::Canvas* canvas,
ui::MultiAnimation* animation) {
When you warp, each param on its own line.

https://codereview.chromium.org/12033027/diff/3004/chrome/browser/ui/views/ta...
chrome/browser/ui/views/tabs/tab.cc:1508: if (!data().mini) {
Combine into a single if.

Powered by Google App Engine
This is Rietveld 408576698