Index: chrome/browser/ui/gtk/gtk_util.h |
diff --git a/chrome/browser/ui/gtk/gtk_util.h b/chrome/browser/ui/gtk/gtk_util.h |
index 317c5c2918bd7223fd04bcf8039b0e4b89eec027..c37d990ae7779ed5d8f8aa5daae63f6e1e4d8672 100644 |
--- a/chrome/browser/ui/gtk/gtk_util.h |
+++ b/chrome/browser/ui/gtk/gtk_util.h |
@@ -29,6 +29,10 @@ namespace content { |
struct RendererPreferences; |
} |
+namespace gfx { |
+class Image; |
+} |
+ |
namespace event_utils { |
// Translates GdkEvent state into what kind of disposition they represent. |
@@ -223,6 +227,13 @@ void DrawThemedToolbarBackground(GtkWidget* widget, |
const gfx::Point& tabstrip_origin, |
GtkThemeService* provider); |
+// Draw an entire pixbuf without dithering. |
+void DrawFullImage(cairo_t* cr, |
+ GtkWidget* widget, |
+ const gfx::Image* image, |
+ gint dest_x, |
+ gint dest_y); |
+ |
// Returns the two colors averaged together. |
GdkColor AverageColors(GdkColor color_one, GdkColor color_two); |