| Index: chrome/browser/gtk/bookmark_utils_gtk.h
|
| ===================================================================
|
| --- chrome/browser/gtk/bookmark_utils_gtk.h (revision 22744)
|
| +++ chrome/browser/gtk/bookmark_utils_gtk.h (working copy)
|
| @@ -23,12 +23,14 @@
|
|
|
| // These functions do not add a ref to the returned pixbuf, and it should not be
|
| // unreffed.
|
| -GdkPixbuf* GetFolderIcon();
|
| -GdkPixbuf* GetDefaultFavicon();
|
| +// If |native| is true, get the GTK_STOCK version of the icon.
|
| +GdkPixbuf* GetFolderIcon(bool native);
|
| +GdkPixbuf* GetDefaultFavicon(bool native);
|
|
|
| // Get the image that is used to represent the node. This function adds a ref
|
| // to the returned pixbuf, so it requires a matching call to g_object_unref().
|
| -GdkPixbuf* GetPixbufForNode(const BookmarkNode* node, BookmarkModel* model);
|
| +GdkPixbuf* GetPixbufForNode(const BookmarkNode* node, BookmarkModel* model,
|
| + bool native);
|
|
|
| // Returns a GtkWindow with a visual hierarchy for passing to
|
| // gtk_drag_set_icon_widget().
|
| @@ -47,8 +49,7 @@
|
| // Returns the "bookmark-node" property of |widget| casted to the correct type.
|
| const BookmarkNode* BookmarkNodeForWidget(GtkWidget* widget);
|
|
|
| -// This function is a temporary hack to fix fonts on dark system themes.
|
| -// TODO(estade): remove this function.
|
| +// Set the colors on |label| as per the theme.
|
| void SetButtonTextColors(GtkWidget* label, GtkThemeProvider* provider);
|
|
|
| // Drag and drop. --------------------------------------------------------------
|
|
|