mac: Implement webContents.startDrag
This commit is contained in:
parent
74ebbf9c78
commit
13c668f22b
6 changed files with 106 additions and 0 deletions
22
atom/browser/ui/drag_util.h
Normal file
22
atom/browser/ui/drag_util.h
Normal 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_
|
Loading…
Add table
Add a link
Reference in a new issue