Index: chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.h |
diff --git a/chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.h b/chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.h |
index 133293aeed13e320b24bbf2de011528e840f53c5..58ff96eea2975965894f65dad611a6e6337dc312 100644 |
--- a/chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.h |
+++ b/chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.h |
@@ -14,6 +14,7 @@ |
class BookmarkModel; |
class BookmarkNode; |
class GtkThemeService; |
+class GURL; |
class Profile; |
typedef struct _GdkDragContext GdkDragContext; |
@@ -107,6 +108,10 @@ bool CreateNewBookmarkFromNetscapeURL( |
const BookmarkNode* parent, |
int idx); |
+// Returns a name for the given URL. Used for drags into bookmark areas when |
+// the source doesn't specify a title. |
+string16 GetNameForURL(const GURL& url); |
+ |
} // namespace bookmark_utils |
#endif // CHROME_BROWSER_UI_GTK_BOOKMARKS_BOOKMARK_UTILS_GTK_H_ |