OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #ifndef CHROME_BROWSER_UI_COCOA_AUTOCOMPLETE_TEXT_FIELD_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_LOCATION_BAR_AUTOCOMPLETE_TEXT_FIELD_H_ |
6 #define CHROME_BROWSER_UI_COCOA_AUTOCOMPLETE_TEXT_FIELD_H_ | 6 #define CHROME_BROWSER_UI_COCOA_LOCATION_BAR_AUTOCOMPLETE_TEXT_FIELD_H_ |
7 | 7 |
8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
9 | 9 |
10 #include "base/mac/scoped_nsobject.h" | 10 #include "base/mac/scoped_nsobject.h" |
11 #import "chrome/browser/ui/cocoa/styled_text_field.h" | 11 #import "chrome/browser/ui/cocoa/styled_text_field.h" |
12 #import "chrome/browser/ui/cocoa/themed_window.h" | 12 #import "chrome/browser/ui/cocoa/themed_window.h" |
13 #import "chrome/browser/ui/cocoa/url_drop_target.h" | 13 #import "chrome/browser/ui/cocoa/url_drop_target.h" |
14 | 14 |
15 @class AutocompleteTextFieldCell; | 15 @class AutocompleteTextFieldCell; |
16 class LocationBarDecoration; | 16 class LocationBarDecoration; |
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 | 164 |
165 // Retains |tooltip| (in |currentToolTips_|) and adds this tooltip | 165 // Retains |tooltip| (in |currentToolTips_|) and adds this tooltip |
166 // via -[NSView addToolTipRect:owner:userData:]. | 166 // via -[NSView addToolTipRect:owner:userData:]. |
167 - (void)addToolTip:(NSString*)tooltip forRect:(NSRect)aRect; | 167 - (void)addToolTip:(NSString*)tooltip forRect:(NSRect)aRect; |
168 | 168 |
169 // Obtain the bubble anchor point for |decoration|. In window coordinates. | 169 // Obtain the bubble anchor point for |decoration|. In window coordinates. |
170 - (NSPoint)bubblePointForDecoration:(LocationBarDecoration*)decoration; | 170 - (NSPoint)bubblePointForDecoration:(LocationBarDecoration*)decoration; |
171 | 171 |
172 @end | 172 @end |
173 | 173 |
174 #endif // CHROME_BROWSER_UI_COCOA_AUTOCOMPLETE_TEXT_FIELD_H_ | 174 #endif // CHROME_BROWSER_UI_COCOA_LOCATION_BAR_AUTOCOMPLETE_TEXT_FIELD_H_ |
OLD | NEW |