| Index: chrome/browser/ui/cocoa/tab_contents/web_drop_target.h
|
| diff --git a/chrome/browser/ui/cocoa/tab_contents/web_drop_target.h b/chrome/browser/ui/cocoa/tab_contents/web_drop_target.h
|
| index 566a585b1fef665eada6c4d0c1ad81a46b26b06d..c7c545199b32bbd4c5a20c8d443a0edd9495e30a 100644
|
| --- a/chrome/browser/ui/cocoa/tab_contents/web_drop_target.h
|
| +++ b/chrome/browser/ui/cocoa/tab_contents/web_drop_target.h
|
| @@ -9,9 +9,12 @@
|
| class GURL;
|
| class RenderViewHost;
|
| class TabContents;
|
| -class TabContentsWrapper;
|
| struct WebDropData;
|
|
|
| +namespace content {
|
| +class WebDragDestDelegate;
|
| +}
|
| +
|
| // A typedef for a RenderViewHost used for comparison purposes only.
|
| typedef RenderViewHost* RenderViewHostIdentifier;
|
|
|
| @@ -24,10 +27,8 @@ typedef RenderViewHost* RenderViewHostIdentifier;
|
| // Our associated TabContents. Weak reference.
|
| TabContents* tabContents_;
|
|
|
| - // The TabContentsWrapper for |tab_contents_|.
|
| - // Weak reference; may be NULL if the contents aren't contained in a wrapper
|
| - // (e.g. WebUI dialogs).
|
| - TabContentsWrapper* tab_;
|
| + // Delegate; weak.
|
| + content::WebDragDestDelegate* delegate_;
|
|
|
| // Updated asynchronously during a drag to tell us whether or not we should
|
| // allow the drop.
|
| @@ -43,6 +44,8 @@ typedef RenderViewHost* RenderViewHostIdentifier;
|
| // (if necessary).
|
| - (id)initWithTabContents:(TabContents*)contents;
|
|
|
| +- (void)setDragDelegate:(content::WebDragDestDelegate*)delegate;
|
| +
|
| // Sets the current operation negotiated by the source and destination,
|
| // which determines whether or not we should allow the drop. Takes effect the
|
| // next time |-draggingUpdated:| is called.
|
|
|