ports/www/chromium/files/patch-ui__views__views_delegate.h
Rene Ladan 21a6834bf3 www/chromium: update to 44.0.2403.107
Note that chromium is currently broken on 9.X due to some obscure compiler
error caused possibly caused by Ports GCC.

Submitted by:	LeFroid
Obtained from:	https://github.com/gliaskos/freebsd-chromium/pull/25
MFH:		2015Q3
Security:	http://vuxml.freebsd.org/freebsd/9d732078-32c7-11e5-b263-00262d5ed8ee.html
2015-07-28 18:35:43 +00:00

20 lines
883 B
C++

--- ui/views/views_delegate.h.orig 2015-07-15 16:30:11.000000000 -0400
+++ ui/views/views_delegate.h 2015-07-24 06:37:19.269166000 -0400
@@ -101,7 +101,7 @@
// Returns true if the window passed in is in the Windows 8 metro
// environment.
virtual bool IsWindowInMetro(gfx::NativeWindow window) const;
-#elif defined(OS_LINUX) && !defined(OS_CHROMEOS)
+#elif defined(OS_LINUX) && !defined(OS_CHROMEOS) || defined(OS_FREEBSD)
virtual gfx::ImageSkia* GetDefaultWindowIcon() const;
#endif
@@ -139,7 +139,7 @@
// Returns the user-visible name of the application.
virtual std::string GetApplicationName();
-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
+#if defined(OS_LINUX) && !defined(OS_CHROMEOS) || defined(OS_BSD)
// Get a task runner suitable for posting initialization tasks for
// Aura Linux accessibility.
virtual scoped_refptr<base::TaskRunner>