|
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
Total comments: 26
Total comments: 11
|
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
|
Total messages: 6 (0 generated)
|