| Index: ios/chrome/browser/ui/omnibox/truncating_attributed_label.h
|
| diff --git a/ios/chrome/browser/ui/omnibox/truncating_attributed_label.h b/ios/chrome/browser/ui/omnibox/truncating_attributed_label.h
|
| index d8fec99fc89e92566ddc2211a3186414cf9b4f30..7ac52e16b7f491ab042bb49c02c7082e9d811b6e 100644
|
| --- a/ios/chrome/browser/ui/omnibox/truncating_attributed_label.h
|
| +++ b/ios/chrome/browser/ui/omnibox/truncating_attributed_label.h
|
| @@ -5,8 +5,6 @@
|
| #ifndef IOS_CHROME_BROWSER_UI_OMNIBOX_TRUNCATING_ATTRIBUTED_LABEL_H_
|
| #define IOS_CHROME_BROWSER_UI_OMNIBOX_TRUNCATING_ATTRIBUTED_LABEL_H_
|
|
|
| -#import <CoreText/CoreText.h>
|
| -#import <QuartzCore/QuartzCore.h>
|
| #import <UIKit/UIKit.h>
|
|
|
| #include "base/mac/scoped_nsobject.h"
|
| @@ -19,27 +17,12 @@ typedef enum {
|
| } OmniboxPopupTruncatingMode;
|
|
|
| // This is a copy of GTMFadeTruncatingLabel that supports
|
| -// NSMutableAttributedString to change font (face and size), and color by using
|
| -// CATextLayer. Unlike GTMFadeTruncatingLabel, it's not based on a UILabel, so
|
| -// it does not support shadowOffset and shadowColor, baselineAdjustment,
|
| -// highlighted, minimumFontSize, and numberOfLines.
|
| -@interface OmniboxPopupTruncatingLabel : UIView
|
| +// NSMutableAttributedString to change font (face and size) and color.
|
| +@interface OmniboxPopupTruncatingLabel : UILabel
|
|
|
| // Which side(s) to truncate.
|
| @property(nonatomic, assign) OmniboxPopupTruncatingMode truncateMode;
|
|
|
| -// Text alignment.
|
| -@property(nonatomic, assign) NSTextAlignment textAlignment;
|
| -
|
| -// For display of an attributed string.
|
| -@property(nonatomic, retain) NSMutableAttributedString* attributedText;
|
| -
|
| -// Set the label highlight state.
|
| -@property(nonatomic, assign) BOOL highlighted;
|
| -
|
| -// Set the label highlight color.
|
| -@property(nonatomic, retain) NSMutableAttributedString* highlightedText;
|
| -
|
| @end
|
|
|
| #endif // IOS_CHROME_BROWSER_UI_OMNIBOX_TRUNCATING_ATTRIBUTED_LABEL_H_
|
|
|