| Index: chrome/browser/browser_theme_provider.h
|
| ===================================================================
|
| --- chrome/browser/browser_theme_provider.h (revision 25977)
|
| +++ chrome/browser/browser_theme_provider.h (working copy)
|
| @@ -162,7 +162,8 @@
|
| virtual bool ShouldUseNativeFrame();
|
| virtual bool HasCustomImage(int id);
|
| virtual bool GetRawData(int id, std::vector<unsigned char>* raw_data);
|
| -#if defined(OS_LINUX) && !defined(TOOLKIT_VIEWS)
|
| + // TODO(benl): maybe USE_X11_GTK instead?
|
| +#if (defined(OS_LINUX) || defined(OS_FREEBSD)) && !defined(TOOLKIT_VIEWS)
|
| virtual GdkPixbuf* GetPixbufNamed(int id);
|
| virtual GdkPixbuf* GetRTLEnabledPixbufNamed(int id);
|
| #elif defined(OS_MACOSX)
|
| @@ -322,7 +323,7 @@
|
| // Do we have a custom frame image or custom tints?
|
| bool ShouldTintFrames();
|
|
|
| -#if defined(OS_LINUX) && !defined(TOOLKIT_VIEWS)
|
| +#if (defined(OS_LINUX) || defined(OS_FREEBSD)) && !defined(TOOLKIT_VIEWS)
|
| // Loads an image and flips it horizontally if |rtl_enabled| is true.
|
| GdkPixbuf* GetPixbufImpl(int id, bool rtl_enabled);
|
| #endif
|
| @@ -332,7 +333,7 @@
|
| // using them.
|
| typedef std::map<int, SkBitmap*> ImageCache;
|
| ImageCache image_cache_;
|
| -#if defined(OS_LINUX) && !defined(TOOLKIT_VIEWS)
|
| +#if (defined(OS_LINUX) || defined(OS_FREEBSD)) && !defined(TOOLKIT_VIEWS)
|
| typedef std::map<int, GdkPixbuf*> GdkPixbufMap;
|
| GdkPixbufMap gdk_pixbufs_;
|
| #elif defined(OS_MACOSX)
|
|
|