blob: 2ea5f4b5f46585ef72d446ade8ae7bb93d638818 [file] [log] [blame]
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/gfx/native_widget_types.h"
namespace download {
class DownloadItem;
namespace gfx {
class Image;
// Helper function for download views to use when acting as a drag source for a
// DownloadItem. If |icon| is NULL, no image will be accompany the drag. |view|
// is only required for Mac OS X, elsewhere it can be NULL.
void DragDownloadItem(const download::DownloadItem* download,
gfx::Image* icon,
gfx::NativeView view);