Chromium Code Reviews| 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_LOCATION_BAR_AUTOCOMPLETE_TEXT_FIELD_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_LOCATION_BAR_AUTOCOMPLETE_TEXT_FIELD_H_ |
| 6 #define CHROME_BROWSER_UI_COCOA_LOCATION_BAR_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" |
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 162 // Return the appropriate menu for any decoration under |event|. | 162 // Return the appropriate menu for any decoration under |event|. |
| 163 - (NSMenu*)decorationMenuForEvent:(NSEvent*)event; | 163 - (NSMenu*)decorationMenuForEvent:(NSEvent*)event; |
| 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 // Returns the anchor point for arrows pointing to |decoration|. In window | |
|
Elly Fong-Jones
2017/05/08 15:49:55
s/. I/ i/ to make this all one sentence
tapted
2017/05/09 03:24:28
Done.
| |
| 173 // coordinates. | |
| 174 - (NSPoint)arrowAnchorPointForDecoration:(LocationBarDecoration*)decoration; | |
| 175 | |
| 172 @end | 176 @end |
| 173 | 177 |
| 174 #endif // CHROME_BROWSER_UI_COCOA_LOCATION_BAR_AUTOCOMPLETE_TEXT_FIELD_H_ | 178 #endif // CHROME_BROWSER_UI_COCOA_LOCATION_BAR_AUTOCOMPLETE_TEXT_FIELD_H_ |
| OLD | NEW |