Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(616)

Unified Diff: chrome/browser/ui/gtk/tabs/tab_strip_gtk.h

Issue 8897006: GTK: Remove deprecated methods and replace them with the new standard calls. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/gtk/tabs/tab_strip_gtk.h
diff --git a/chrome/browser/ui/gtk/tabs/tab_strip_gtk.h b/chrome/browser/ui/gtk/tabs/tab_strip_gtk.h
index 64f5ee1ed1303c05fefee8e85d9ca28acdd9282a..8f353f8edd2a8b1dc32a6bcde7c9a27a94d59824 100644
--- a/chrome/browser/ui/gtk/tabs/tab_strip_gtk.h
+++ b/chrome/browser/ui/gtk/tabs/tab_strip_gtk.h
@@ -30,6 +30,10 @@ class CustomDrawButton;
class DraggedTabControllerGtk;
class GtkThemeService;
+namespace gfx {
+class Image;
+}
+
class TabStripGtk : public TabStripModelObserver,
public TabGtk::TabDelegate,
public MessageLoopForUI::Observer,
@@ -234,7 +238,7 @@ class TabStripGtk : public TabStripModelObserver,
GtkWidget* container;
// The drop indicator image.
- GdkPixbuf* drop_arrow;
+ gfx::Image* drop_arrow;
private:
DISALLOW_COPY_AND_ASSIGN(DropInfo);
@@ -395,7 +399,7 @@ class TabStripGtk : public TabStripModelObserver,
// Returns the image to use for indicating a drop on a tab. If is_down is
// true, this returns an arrow pointing down.
- static GdkPixbuf* GetDropArrowImage(bool is_down);
+ static gfx::Image* GetDropArrowImage(bool is_down);
// -- Animations -------------------------------------------------------------

Powered by Google App Engine
This is Rietveld 408576698