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_view_mac.h" | 10 #include "chrome/browser/cocoa/location_bar_view_mac.h" |
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
151 ofView:(AutocompleteTextField*)controlView; | 151 ofView:(AutocompleteTextField*)controlView; |
152 | 152 |
153 // If the location icon is draggable, return its drag pasteboard. | 153 // If the location icon is draggable, return its drag pasteboard. |
154 - (NSPasteboard*)locationDragPasteboard; | 154 - (NSPasteboard*)locationDragPasteboard; |
155 | 155 |
156 @end | 156 @end |
157 | 157 |
158 // Internal methods here exposed for unit testing. | 158 // Internal methods here exposed for unit testing. |
159 @interface AutocompleteTextFieldCell (UnitTesting) | 159 @interface AutocompleteTextFieldCell (UnitTesting) |
160 | 160 |
161 @property(readonly) NSAttributedString* keywordString; | 161 @property(nonatomic, readonly) NSAttributedString* keywordString; |
162 @property(readonly) NSAttributedString* hintString; | 162 @property(nonatomic, readonly) NSAttributedString* hintString; |
163 @property(readonly) NSAttributedString* hintIconLabel; | 163 @property(nonatomic, readonly) NSAttributedString* hintIconLabel; |
164 | 164 |
165 // Returns the total number of installed Page Actions, visible or not. | 165 // Returns the total number of installed Page Actions, visible or not. |
166 - (size_t)pageActionCount; | 166 - (size_t)pageActionCount; |
167 | 167 |
168 @end | 168 @end |
OLD | NEW |