Support dragging multiple files
This commit is contained in:
parent
13c668f22b
commit
fa468a529b
4 changed files with 41 additions and 16 deletions
|
@ -5,6 +5,8 @@
|
|||
#ifndef ATOM_BROWSER_UI_DRAG_UTIL_H_
|
||||
#define ATOM_BROWSER_UI_DRAG_UTIL_H_
|
||||
|
||||
#include <vector>
|
||||
|
||||
#include "ui/gfx/image/image.h"
|
||||
|
||||
namespace base {
|
||||
|
@ -13,9 +15,9 @@ class FilePath;
|
|||
|
||||
namespace atom {
|
||||
|
||||
void DragItem(const base::FilePath& path,
|
||||
const gfx::Image& icon,
|
||||
gfx::NativeView view);
|
||||
void DragFileItems(const std::vector<base::FilePath>& files,
|
||||
const gfx::Image& icon,
|
||||
gfx::NativeView view);
|
||||
|
||||
} // namespace atom
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue