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

Issue 11881042: highlight intermediate tabs (Closed)

Created:
7 years, 11 months ago by DaveMoore
Modified:
7 years, 10 months ago
Reviewers:
sadrul, sky
CC:
chromium-reviews, tfarina, stevenjb+watch_chromium.org, sadrul, oshima+watch_chromium.org, ben+watch_chromium.org
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : Cleanup #

Patch Set 3 : Add test #

Patch Set 4 : Fix trybot failures #

Patch Set 5 : Fix try failures #

Patch Set 6 : Make check for Gesture vs Scroll event for flings explicit #

Total comments: 52

Patch Set 7 : Fixed review issues #

Patch Set 8 : Return early #

Patch Set 9 : Fix win specific compile error #

Patch Set 10 : Added support for tab changes while waiting to activate #

Total comments: 2

Patch Set 11 : Explictly invalidate the weak ptr factory #

Patch Set 12 : Fixed problem with multiple browsers, added test #

Patch Set 13 : Merge collision #

Patch Set 14 : Fix win7 build error #

Patch Set 15 : Fix win7 aura build failure #

Patch Set 16 : Disable tests for win7_aura #

Unified diffs Side-by-side diffs Delta from patch set Stats (+728 lines, -100 lines) Patch
M chrome/browser/ui/views/ash/tab_scrubber.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +57 lines, -9 lines 0 comments Download
M chrome/browser/ui/views/ash/tab_scrubber.cc View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +207 lines, -59 lines 0 comments Download
A chrome/browser/ui/views/ash/tab_scrubber_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +408 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/tabs/tab.h View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/tabs/tab.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/tabs/tab_strip.h View 1 2 3 4 5 6 7 8 9 3 chunks +8 lines, -8 lines 0 comments Download
M chrome/browser/ui/views/tabs/tab_strip.cc View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +14 lines, -14 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -0 lines 0 comments Download
M ui/views/controls/glow_hover_controller.h View 3 chunks +7 lines, -1 line 0 comments Download
M ui/views/controls/glow_hover_controller.cc View 1 2 3 4 5 6 3 chunks +21 lines, -8 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
DaveMoore
7 years, 11 months ago (2013-01-18 23:52:06 UTC) #1
sky
https://codereview.chromium.org/11881042/diff/22005/chrome/browser/ui/views/ash/tab_scrubber.cc File chrome/browser/ui/views/ash/tab_scrubber.cc (right): https://codereview.chromium.org/11881042/diff/22005/chrome/browser/ui/views/ash/tab_scrubber.cc#newcode48 chrome/browser/ui/views/ash/tab_scrubber.cc:48: ash::Shell::GetInstance()->AddPreTargetHandler(this); Should this be removed at some point? https://codereview.chromium.org/11881042/diff/22005/chrome/browser/ui/views/ash/tab_scrubber.cc#newcode59 ...
7 years, 11 months ago (2013-01-22 18:05:01 UTC) #2
sadrul
Could you please add some more details in the CL description? It looks like this ...
7 years, 11 months ago (2013-01-22 20:07:24 UTC) #3
sky
+1 on the splitting On Tue, Jan 22, 2013 at 12:07 PM, <sadrul@chromium.org> wrote: > ...
7 years, 11 months ago (2013-01-22 22:32:38 UTC) #4
DaveMoore
I've addressed the comments in this cl so that they're easier to follow, then split ...
7 years, 10 months ago (2013-01-27 21:21:54 UTC) #5
sky
https://codereview.chromium.org/11881042/diff/22005/chrome/browser/ui/views/ash/tab_scrubber.cc File chrome/browser/ui/views/ash/tab_scrubber.cc (right): https://codereview.chromium.org/11881042/diff/22005/chrome/browser/ui/views/ash/tab_scrubber.cc#newcode64 chrome/browser/ui/views/ash/tab_scrubber.cc:64: gfx::Rect tab_bounds = tab_strip->tab_at(index)->bounds(); On 2013/01/27 21:21:54, DaveMoore wrote: ...
7 years, 10 months ago (2013-01-28 19:18:52 UTC) #6
DaveMoore
I added support for tracking the highlighted tab if the tab order changes while waiting ...
7 years, 10 months ago (2013-02-06 22:47:50 UTC) #7
sky
7 years, 10 months ago (2013-02-06 22:55:16 UTC) #8
LGTM

https://codereview.chromium.org/11881042/diff/55001/chrome/browser/ui/views/a...
File chrome/browser/ui/views/ash/tab_scrubber.cc (right):

https://codereview.chromium.org/11881042/diff/55001/chrome/browser/ui/views/a...
chrome/browser/ui/views/ash/tab_scrubber.cc:234: if (highlighted_tab_ == -1)
Do you really need this? Maybe you should nuke the Observe above and instead do
cleanup here?

https://codereview.chromium.org/11881042/diff/55001/chrome/browser/ui/views/a...
File chrome/browser/ui/views/ash/tab_scrubber.h (right):

https://codereview.chromium.org/11881042/diff/55001/chrome/browser/ui/views/a...
chrome/browser/ui/views/ash/tab_scrubber.h:98: base::WeakPtrFactory<TabScrubber>
weak_ptr_factory_;
I would recommend explicitly doing this first in the destructor. It's easy to
miss a comment like this here, but harder when there is something explicit in
the destructor.

Powered by Google App Engine
This is Rietveld 408576698