|
Improvements to tab title prefix eliding as per email discussions.
- Don't look for common title prefixes between pages from different hosts.
- Bring down the minimal width of a tab title area from 10 to 6 chars.
- Don't elide last 4 chars of the common prefix, and also don't elide if there is less than 7 common characters.
BUG=None
TEST=Try it!
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=80492
Total comments: 6
Total comments: 9
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+149 lines, -38 lines) |
Patch |
 |
M |
chrome/browser/ui/cocoa/tabs/tab_controller.h
|
View
|
1
2
3
|
3 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/tabs/tab_controller.mm
|
View
|
1
2
3
|
3 chunks |
+6 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/tabs/tab_strip_controller.mm
|
View
|
1
2
3
|
3 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/title_prefix_matcher.h
|
View
|
1
2
3
|
3 chunks |
+11 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/title_prefix_matcher.cc
|
View
|
1
2
3
|
6 chunks |
+29 lines, -9 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/title_prefix_matcher_unittest.cc
|
View
|
1
2
3
|
6 chunks |
+82 lines, -19 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/tabs/base_tab.cc
|
View
|
1
2
3
|
2 chunks |
+8 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/tabs/base_tab_strip.cc
|
View
|
1
2
3
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/tabs/tab_renderer_data.h
|
View
|
1
2
3
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/tabs/tab_renderer_data.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
Total messages: 8 (0 generated)
|