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

Issue 42490: Experiments with a new tabstrip + animator (Closed)

Created:
11 years, 9 months ago by Ben Goodger (Google)
Modified:
9 years, 6 months ago
Reviewers:
sky
CC:
chromium-reviews_googlegroups.com
Base URL:
svn://chrome-svn.corp.google.com/chrome/trunk/src/
Visibility:
Public.

Description

Basics of a new TabStrip.It's very, very rough, but I wanted to check it in so I don't have to keep typing svn pset as I pass patches back and forth between machines.Behind a command line flag --enable-tabtastic2.I'm trying to split the TabContents specific stuff off of the TabStrip so it's more generic (and more easily mocked for unit testing of various layout conditions). Hence TabStrip vs. BrowserTabStrip. TabStrip may move into views/ once this process is complete.Animator is a utility that can be associated with a View that (at this point) animates that View's bounds from wherever it is now to somewhere else. The TabStrip uses this to do animations for individual Tabs that are independent of each other - a limitation of the old TabStrip is that only one animation is ever active at a time so its animations are a little jumpy compared to other products.Also, detached tab dragging shows the live contents, with all animations/video/etc.Like I said, this is really rough, but I didn't want it to grow any bigger. I will write up a design doc later.http://crbug.com/9032TEST=TBD... will finally be doing some for TabStrip layout! Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=20053

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Patch Set 8 : '' #

Patch Set 9 : '' #

Patch Set 10 : '' #

Patch Set 11 : '' #

Patch Set 12 : '' #

Patch Set 13 : '' #

Patch Set 14 : '' #

Patch Set 15 : '' #

Patch Set 16 : '' #

Total comments: 26

Patch Set 17 : '' #

Patch Set 18 : '' #

Total comments: 11

Patch Set 19 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1523 lines, -26 lines) Patch
M chrome/browser/browser.h View 5 6 7 8 9 10 11 12 14 15 16 17 18 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/browser.cc View 5 6 7 8 9 10 11 12 14 15 16 17 18 1 chunk +12 lines, -0 lines 0 comments Download
M chrome/browser/browser_window.h View 5 6 7 8 9 10 11 12 14 15 16 17 18 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/tabs/tab_strip_model.h View 5 6 7 8 9 10 11 12 14 15 16 17 18 1 chunk +10 lines, -0 lines 0 comments Download
M chrome/browser/tabs/tab_strip_model_unittest.cc View 12 13 14 15 16 17 18 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/views/frame/browser_frame.h View 5 6 7 8 9 10 11 12 14 15 16 17 18 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/views/frame/browser_frame_win.h View 12 13 14 15 16 17 18 6 chunks +22 lines, -1 line 0 comments Download
M chrome/browser/views/frame/browser_frame_win.cc View 12 13 14 15 16 17 18 6 chunks +87 lines, -1 line 0 comments Download
M chrome/browser/views/frame/browser_view.h View 1 2 3 4 5 6 7 8 9 10 11 12 14 15 16 17 18 4 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/views/frame/browser_view.cc View 1 2 3 4 5 6 7 8 9 10 11 12 14 15 16 17 18 10 chunks +61 lines, -23 lines 0 comments Download
A chrome/browser/views/tabs/browser_tab_strip.h View 1 2 3 4 5 6 7 8 9 10 11 12 14 15 16 1 chunk +58 lines, -0 lines 0 comments Download
A chrome/browser/views/tabs/browser_tab_strip.cc View 1 2 3 4 5 6 7 8 9 10 11 12 14 15 16 1 chunk +148 lines, -0 lines 0 comments Download
A chrome/browser/views/tabs/tab_2.h View 1 2 3 4 5 6 7 8 9 10 11 12 14 15 16 17 1 chunk +114 lines, -0 lines 0 comments Download
A chrome/browser/views/tabs/tab_2.cc View 1 2 3 4 5 6 7 8 9 10 11 12 14 15 1 chunk +119 lines, -0 lines 0 comments Download
A chrome/browser/views/tabs/tab_strip_2.h View 1 2 3 4 5 6 7 8 9 10 11 12 14 15 16 17 1 chunk +163 lines, -0 lines 0 comments Download
A chrome/browser/views/tabs/tab_strip_2.cc View 1 2 3 4 5 6 7 8 9 10 11 12 14 15 16 17 18 1 chunk +406 lines, -0 lines 0 comments Download
M chrome/chrome.gyp View 12 13 14 15 16 17 18 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/common/chrome_switches.h View 16 17 18 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/chrome_switches.cc View 16 17 18 1 chunk +3 lines, -0 lines 0 comments Download
A views/animator.h View 12 13 14 15 16 17 18 1 chunk +110 lines, -0 lines 0 comments Download
A views/animator.cc View 12 13 14 15 16 17 18 1 chunk +151 lines, -0 lines 0 comments Download
M views/views.gyp View 12 13 14 15 16 17 18 1 chunk +2 lines, -0 lines 0 comments Download
M views/widget/widget.h View 12 13 14 15 16 17 18 2 chunks +6 lines, -0 lines 0 comments Download
M views/widget/widget_gtk.h View 17 18 1 chunk +2 lines, -0 lines 0 comments Download
M views/widget/widget_gtk.cc View 17 18 1 chunk +5 lines, -0 lines 0 comments Download
M views/widget/widget_win.h View 12 13 14 15 16 17 18 3 chunks +5 lines, -1 line 0 comments Download
M views/widget/widget_win.cc View 12 13 14 15 16 17 18 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Ben Goodger (Google)
11 years, 5 months ago (2009-07-02 05:45:54 UTC) #1
sky
The one thing I don't like about this approach is that you have a timer ...
11 years, 5 months ago (2009-07-02 20:42:33 UTC) #2
Ben Goodger (Google)
http://codereview.chromium.org/42490/diff/6081/7162 File chrome/browser/tabs/tab_strip_model.h (right): http://codereview.chromium.org/42490/diff/6081/7162#newcode133 Line 133: // XXX On 2009/07/02 20:42:33, sky wrote: > ...
11 years, 5 months ago (2009-07-03 03:42:27 UTC) #3
sky
I suggested Create instead of Continue as browser's implementation creates a new browser. I like ...
11 years, 5 months ago (2009-07-06 21:09:44 UTC) #4
Ben Goodger (Google)
I tend to expect CreateFoo functions to create a new Foo object and return it ...
11 years, 5 months ago (2009-07-07 00:47:15 UTC) #5
sky
11 years, 5 months ago (2009-07-07 16:02:57 UTC) #6
LGTM

Powered by Google App Engine
This is Rietveld 408576698