summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/cocoa/bookmarks/bookmark_drag_drop_cocoa.h
blob: 8dee652aab3e46623d614c048c60f805529dbff9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright 2012 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.

#ifndef CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_DRAG_DROP_COCOA_H_
#define CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_DRAG_DROP_COCOA_H_

#include "base/strings/string16.h"

#if defined(__OBJC__)
@class NSImage;
#else  // __OBJC__
class NSImage;
#endif  // __OBJC__

namespace chrome {

// Returns a drag image for a bookmark.
NSImage* DragImageForBookmark(NSImage* favicon, const base::string16& title);

}  // namespace chrome

#endif  // CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_DRAG_DROP_COCOA_H_