| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #import <Cocoa/Cocoa.h> | 5 #import <Cocoa/Cocoa.h> |
| 6 | 6 |
| 7 #import "chrome/browser/cocoa/styled_text_field_cell.h" | 7 #import "chrome/browser/cocoa/styled_text_field_cell.h" |
| 8 | 8 |
| 9 #include "base/scoped_nsobject.h" | 9 #include "base/scoped_nsobject.h" |
| 10 #include "chrome/browser/cocoa/location_bar/location_bar_view_mac.h" | 10 #include "chrome/browser/cocoa/location_bar/location_bar_view_mac.h" |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 ofView:(AutocompleteTextField*)controlView; | 125 ofView:(AutocompleteTextField*)controlView; |
| 126 | 126 |
| 127 @end | 127 @end |
| 128 | 128 |
| 129 // Internal methods here exposed for unit testing. | 129 // Internal methods here exposed for unit testing. |
| 130 @interface AutocompleteTextFieldCell (UnitTesting) | 130 @interface AutocompleteTextFieldCell (UnitTesting) |
| 131 | 131 |
| 132 @property(nonatomic, readonly) NSAttributedString* hintString; | 132 @property(nonatomic, readonly) NSAttributedString* hintString; |
| 133 @property(nonatomic, readonly) NSAttributedString* hintIconLabel; | 133 @property(nonatomic, readonly) NSAttributedString* hintIconLabel; |
| 134 | 134 |
| 135 // Setup decoration tooltips on |controlView| by calling |
| 136 // |-addToolTip:forRect:|. |
| 137 - (void)updateToolTipsInRect:(NSRect)cellFrame |
| 138 ofView:(AutocompleteTextField*)controlView; |
| 139 |
| 135 @end | 140 @end |
| OLD | NEW |