| Index: content/browser/web_contents/web_drag_dest_mac.h
|
| diff --git a/content/browser/web_contents/web_drag_dest_mac.h b/content/browser/web_contents/web_drag_dest_mac.h
|
| index 2598ee0e886d265a7f0759a8574e7c91ef1c10c9..cab64ff4d55cd5187c015a0ac1fa6a853c68b687 100644
|
| --- a/content/browser/web_contents/web_drag_dest_mac.h
|
| +++ b/content/browser/web_contents/web_drag_dest_mac.h
|
| @@ -9,9 +9,11 @@
|
| #include "base/strings/string16.h"
|
| #include "content/common/content_export.h"
|
| #include "content/public/common/drop_data.h"
|
| +#include "ui/gfx/geometry/point.h"
|
|
|
| namespace content {
|
| class RenderViewHost;
|
| +class RenderWidgetHostImpl;
|
| class WebContentsImpl;
|
| class WebDragDestDelegate;
|
| }
|
| @@ -35,6 +37,9 @@ CONTENT_EXPORT
|
| // allow the drop.
|
| NSDragOperation currentOperation_;
|
|
|
| + // Tracks the current RenderWidgetHost we're dragging over.
|
| + base::WeakPtr<content::RenderWidgetHostImpl> currentRWHForDrag_;
|
| +
|
| // Keep track of the render view host we're dragging over. If it changes
|
| // during a drag, we need to re-send the DragEnter message.
|
| RenderViewHostIdentifier currentRVH_;
|
| @@ -67,8 +72,12 @@ CONTENT_EXPORT
|
| - (void)draggingExited:(id<NSDraggingInfo>)info;
|
| - (NSDragOperation)draggingUpdated:(id<NSDraggingInfo>)info
|
| view:(NSView*)view;
|
| -- (BOOL)performDragOperation:(id<NSDraggingInfo>)info
|
| - view:(NSView*)view;
|
| +- (BOOL)performDragOperation:(id<NSDraggingInfo>)info view:(NSView*)view;
|
| +
|
| +// Helper to call WebWidgetHostInputEventRouter::GetRenderWidgetHostAtPoint().
|
| +- (content::RenderWidgetHostImpl*)
|
| +GetRenderWidgetHostAtPoint:(const NSPoint&)viewPoint
|
| + transformedPt:(gfx::Point*)transformedPt;
|
|
|
| @end
|
|
|
|
|