| Index: chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_cell.h
|
| diff --git a/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_cell.h b/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_cell.h
|
| index f88aed1edc3e3a635cf89f32fc866f685c2e3d0e..4f183e46681290771b9a7210f1881478e56487bc 100644
|
| --- a/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_cell.h
|
| +++ b/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_cell.h
|
| @@ -19,10 +19,10 @@ class LocationBarDecoration;
|
| // a button-like token on the left-hand side).
|
| @interface AutocompleteTextFieldCell : StyledTextFieldCell {
|
| @private
|
| - // Decorations which live to the left and right of the text, ordered
|
| + // Decorations which live before and after the text, ordered
|
| // from outside in. Decorations are owned by |LocationBarViewMac|.
|
| - std::vector<LocationBarDecoration*> leftDecorations_;
|
| - std::vector<LocationBarDecoration*> rightDecorations_;
|
| + std::vector<LocationBarDecoration*> leadingDecorations_;
|
| + std::vector<LocationBarDecoration*> trailingDecorations_;
|
|
|
| // Decorations with tracking areas attached to the AutocompleteTextField.
|
| std::vector<LocationBarDecoration*> mouseTrackingDecorations_;
|
| @@ -53,13 +53,13 @@ class LocationBarDecoration;
|
| // Clear |leftDecorations_| and |rightDecorations_|.
|
| - (void)clearDecorations;
|
|
|
| -// Add a new left-side decoration to the right of the existing
|
| -// left-side decorations.
|
| -- (void)addLeftDecoration:(LocationBarDecoration*)decoration;
|
| +// Add a new leading decoration after the existing
|
| +// leading decorations.
|
| +- (void)addLeadingDecoration:(LocationBarDecoration*)decoration;
|
|
|
| -// Add a new right-side decoration to the left of the existing
|
| -// right-side decorations.
|
| -- (void)addRightDecoration:(LocationBarDecoration*)decoration;
|
| +// Add a new trailing decoration before the existing
|
| +// trailing decorations.
|
| +- (void)addTrailingDecoration:(LocationBarDecoration*)decoration;
|
|
|
| // The width available after accounting for decorations.
|
| - (CGFloat)availableWidthInFrame:(const NSRect)frame;
|
|
|