|
[Mac] Re-enable pinned tabs; add support for mini-tabs and phantom tabs.
This CL rewires the old support for pinned tabs to support mini-tabs. This also
removes the kEnablePinnedTabs browser default now that all platforms support it.
Note that pinning is now only accessible through the context menu; drag-to-pin
has been removed.
BUG= 36798, 32845
TEST=Right-click and pin two tabs. Test dragging on and off and around the tab strip.
TEST=Cmd+W a pinned tab and it should go phantom (renderer closes down) and the tab is made alpha.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=42548
Total comments: 13
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+157 lines, -136 lines) |
Patch |
 |
M |
chrome/browser/cocoa/browser_window_controller.mm
|
View
|
1
|
6 chunks |
+17 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/cocoa/tab_controller.h
|
View
|
|
4 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/cocoa/tab_controller.mm
|
View
|
1
2
|
9 chunks |
+23 lines, -10 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/cocoa/tab_strip_controller.h
|
View
|
1
2
|
1 chunk |
+7 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/cocoa/tab_strip_controller.mm
|
View
|
1
2
|
15 chunks |
+72 lines, -72 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/cocoa/tab_strip_model_observer_bridge.h
|
View
|
|
3 chunks |
+8 lines, -6 lines |
0 comments
|
Download
|
 |
|
chrome/browser/cocoa/tab_strip_model_observer_bridge.mm
|
View
|
|
3 chunks |
+13 lines, -10 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/defaults.h
|
View
|
|
2 chunks |
+1 line, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/defaults.cc
|
View
|
|
2 chunks |
+1 line, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sessions/session_service.cc
|
View
|
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sessions/session_service_unittest.cc
|
View
|
1
|
2 chunks |
+1 line, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sessions/tab_restore_service_unittest.cc
|
View
|
|
3 chunks |
+1 line, -7 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/tab_menu_model.cc
|
View
|
|
2 chunks |
+5 lines, -7 lines |
0 comments
|
Download
|
Total messages: 18 (0 generated)
|