Chromium Code Reviews| 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 ad08058f737004df3f81e74eb885e95c04f3879a..7fa83f069d7aa802a2432655d5e5530ce5651768 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 |
| @@ -64,6 +64,18 @@ class LocationBarDecoration; |
| - (NSRect)frameForDecoration:(const LocationBarDecoration*)aDecoration |
| inFrame:(NSRect)cellFrame; |
| +// Returns true if it's okay to drop dragged data into the view at the |
|
msw
2016/09/30 00:37:04
Ditto: Is this from a bad rebase?
|
| +// given location. |
| +- (BOOL)canDropAtLocationInWindow:(NSPoint)location |
| + ofView:(AutocompleteTextField*)controlView; |
| + |
| +// Find the decoration under the location in the window. Return |NULL| if |
| +// there's nothing in the location. |
| +- (LocationBarDecoration*)decorationForLocationInWindow:(NSPoint)location |
| + inRect:(NSRect)cellFrame |
| + ofView:(AutocompleteTextField*) |
| + field; |
| + |
| // Find the decoration under the event. |NULL| if |theEvent| is not |
| // over anything. |
| - (LocationBarDecoration*)decorationForEvent:(NSEvent*)theEvent |