drag_util.h 526 B

123456789101112131415161718192021222324
  1. // Copyright (c) 2016 GitHub, Inc.
  2. // Use of this source code is governed by the MIT license that can be
  3. // found in the LICENSE file.
  4. #ifndef ATOM_BROWSER_UI_DRAG_UTIL_H_
  5. #define ATOM_BROWSER_UI_DRAG_UTIL_H_
  6. #include <vector>
  7. #include "ui/gfx/image/image.h"
  8. namespace base {
  9. class FilePath;
  10. }
  11. namespace atom {
  12. void DragFileItems(const std::vector<base::FilePath>& files,
  13. const gfx::Image& icon,
  14. gfx::NativeView view);
  15. } // namespace atom
  16. #endif // ATOM_BROWSER_UI_DRAG_UTIL_H_