Support dragging multiple files
This commit is contained in:
parent
13c668f22b
commit
fa468a529b
4 changed files with 41 additions and 16 deletions
|
@ -39,8 +39,6 @@ class WebViewGuestDelegate;
|
|||
|
||||
namespace api {
|
||||
|
||||
class NativeImage;
|
||||
|
||||
class WebContents : public mate::TrackableObject<WebContents>,
|
||||
public CommonWebContentsDelegate,
|
||||
public content::WebContentsObserver {
|
||||
|
@ -145,7 +143,7 @@ class WebContents : public mate::TrackableObject<WebContents>,
|
|||
void EndFrameSubscription();
|
||||
|
||||
// Dragging native items.
|
||||
void StartDrag(const base::FilePath& file, mate::Handle<NativeImage> image);
|
||||
void StartDrag(const mate::Dictionary& item, mate::Arguments* args);
|
||||
|
||||
// Methods for creating <webview>.
|
||||
void SetSize(const SetSizeParams& params);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue