mac: Implement webContents.startDrag

This commit is contained in:
Cheng Zhao 2016-07-03 12:26:43 +09:00
parent 74ebbf9c78
commit 13c668f22b
6 changed files with 106 additions and 0 deletions

View file

@ -0,0 +1,22 @@
// Copyright (c) 2016 GitHub, Inc.
// Use of this source code is governed by the MIT license that can be
// found in the LICENSE file.
#ifndef ATOM_BROWSER_UI_DRAG_UTIL_H_
#define ATOM_BROWSER_UI_DRAG_UTIL_H_
#include "ui/gfx/image/image.h"
namespace base {
class FilePath;
}
namespace atom {
void DragItem(const base::FilePath& path,
const gfx::Image& icon,
gfx::NativeView view);
} // namespace atom
#endif // ATOM_BROWSER_UI_DRAG_UTIL_H_