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

Unified Diff: chrome/browser/ui/cocoa/tabs/tab_controller.mm

Issue 7067007: Remove prefix eliding (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/cocoa/tabs/tab_controller.mm
===================================================================
--- chrome/browser/ui/cocoa/tabs/tab_controller.mm (revision 86295)
+++ chrome/browser/ui/cocoa/tabs/tab_controller.mm (working copy)
@@ -9,7 +9,6 @@
#import "chrome/browser/ui/cocoa/tabs/tab_controller_target.h"
#import "chrome/browser/ui/cocoa/tabs/tab_view.h"
#import "chrome/browser/ui/cocoa/themed_window.h"
-#include "chrome/browser/ui/title_prefix_matcher.h"
#import "chrome/common/extensions/extension.h"
#include "grit/generated_resources.h"
#import "third_party/GTM/AppKit/GTMFadeTruncatingTextFieldCell.h"
@@ -320,14 +319,4 @@
return NO;
}
-- (void)setTitleCommonPrefixLength:(NSUInteger)length {
- DCHECK([[titleView_ cell] isKindOfClass:
- [GTMFadeTruncatingTextFieldCell class]]);
- GTMFadeTruncatingTextFieldCell* cell = [titleView_ cell];
- [cell setDesiredCharactersToTruncateFromHead:length -
- TitlePrefixMatcher::kCommonCharsToShow];
- [cell setTruncateMode:length > TitlePrefixMatcher::kMinElidingLength ?
- GTMFadeTruncatingHeadAndTail : GTMFadeTruncatingTail];
-}
-
@end

Powered by Google App Engine
This is Rietveld 408576698