Index: chrome/browser/cocoa/location_bar_view_mac.h |
diff --git a/chrome/browser/cocoa/location_bar_view_mac.h b/chrome/browser/cocoa/location_bar_view_mac.h |
index cebab92d5a759b1d0bec589f9c919e6c467129b4..7eee82187694f2084ac58fec4c703dc157d54645 100644 |
--- a/chrome/browser/cocoa/location_bar_view_mac.h |
+++ b/chrome/browser/cocoa/location_bar_view_mac.h |
@@ -167,6 +167,12 @@ class LocationBarViewMac : public AutocompleteEditController, |
// Returns the tooltip for this image view or |nil| if there is none. |
virtual const NSString* GetToolTip() { return nil; } |
+ // Used to determinate if the item can act as a drag source. |
+ virtual bool IsDraggable() { return false; } |
+ |
+ // The drag pasteboard to use if a drag is initiated. |
+ virtual NSPasteboard* GetDragPasteboard() { return nil; } |
+ |
// Called on mouse down. |
virtual void OnMousePressed(NSRect bounds) {} |
@@ -190,6 +196,12 @@ class LocationBarViewMac : public AutocompleteEditController, |
explicit LocationIconView(LocationBarViewMac* owner); |
virtual ~LocationIconView(); |
+ // Is draggable if the autocomplete edit view has not be changed. |
+ virtual bool IsDraggable(); |
+ |
+ // Drag the URL and title from the current tab. |
+ virtual NSPasteboard* GetDragPasteboard(); |
+ |
// Shows the page info dialog. |
virtual void OnMousePressed(NSRect bounds); |