#ifndef CONTENT_APP_SHIM_REMOTE_COCOA_WEB_DRAG_SOURCE_MAC_H_
#define CONTENT_APP_SHIM_REMOTE_COCOA_WEB_DRAG_SOURCE_MAC_H_
#import <Cocoa/Cocoa.h>
#include "base/files/file_path.h"
#include "base/memory/raw_ptr.h"
#include "content/common/content_export.h"
#include "content/public/common/drop_data.h"
namespace content {
struct DropData;
}
namespace remote_cocoa::mojom {
class WebContentsNSViewHost;
}
namespace url {
class Origin;
}
CONTENT_EXPORT
@interface WebDragSource : NSObject <NSPasteboardWriting>
- (instancetype)initWithHost:(remote_cocoa::mojom::WebContentsNSViewHost*)host
dropData:(const content::DropData&)dropData
sourceOrigin:(const url::Origin&)sourceOrigin
isPrivileged:(BOOL)privileged;
- (void)webContentsIsGone;
@end
#endif