Chromium 37.0.2062.120

Alexey V. Panfilov lehis2000 at mail.ru
Wed Sep 17 15:31:51 UTC 2014


17.09.2014 14:50, Tomek wrote:
> Hi,
> 
>>>> So, I was finally able to upgrade for 35.0.1916.153_3.... to 37.0.2062.94.
>>>> This seem to be working, except for the extra windows stuff (toggle the
>>>> setting and it goes away, but close window and reopen...and its back...)
>>>
>>> The issue is caused by the recent switch to the new rendering issue (the Aura frontend replaces
>>
>> the 
>>> current GTK+ frontend which isn't GTK based anymore). For more details see [1].
> 
> Not exactly - the aura changed a lot but there are some things that simply ware "lost in porting"...
> The case with "Use system title bar and borders" is very simple to fix:
> 
> --- chrome/browser/ui/views/frame/browser_frame.cc.orig 2014-09-10 01:47:12.000000000 +0200
> +++ chrome/browser/ui/views/frame/browser_frame.cc 2014-09-15 09:32:18.000000000 +0200
> @@ -36,7 +36,7 @@
> #include "ui/views/controls/menu/menu_runner.h"
> #include "ui/views/widget/native_widget.h"
> 
> -#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
> +#if defined(OS_LINUX) && !defined(OS_CHROMEOS) || defined(OS_BSD)
> #include "chrome/browser/shell_integration_linux.h"
> #endif
> 
> @@ -110,7 +110,7 @@
> #endif
> }
> 
> -#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
> +#if defined(OS_LINUX) && !defined(OS_CHROMEOS) || defined(OS_BSD)
> // Set up a custom WM_CLASS for some sorts of window types. This allows
> // task switchers in X11 environments to distinguish between main browser
> // windows and e.g app windows.
> 
> Also there is a problem with mouse cursors - some of them are missing - patch:
> 
> --- ui/resources/ui_resources.grd.orig 2014-09-17 12:25:32.000000000 +0200
> +++ ui/resources/ui_resources.grd 2014-09-17 12:24:35.000000000 +0200
> @@ -39,7 +39,7 @@
> <structure type="chrome_scaled_image" name="IDR_APP_TOP_LEFT" file="app_top_left.png" />
> <structure type="chrome_scaled_image" name="IDR_APP_TOP_RIGHT" file="app_top_right.png" />
> </if>
> - <if expr="is_linux and use_aura">
> + <if expr="is_linux and use_aura or is_bsd">
> <structure type="chrome_scaled_image" name="IDR_AURA_CURSOR_BIG_ALIAS" file="common/pointers/alias_big.png" />
> <structure type="chrome_scaled_image" name="IDR_AURA_CURSOR_BIG_CELL" file="common/pointers/cell_big.png" />
> <structure type="chrome_scaled_image" name="IDR_AURA_CURSOR_BIG_COL_RESIZE" file="common/pointers/sb_h_double_arrow_big.png" />
> 
> 
> --
> Tomek
> _______________________________________________
> freebsd-chromium at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-chromium
> To unsubscribe, send any mail to "freebsd-chromium-unsubscribe at freebsd.org"
> 

Also I'd like to share patch for enabling notifications message center
(may be it should be as an option at make config - somebody needs it).

---
chrome/browser/notifications/message_center_notification_manager.cc.orig
   2014-09-17 18:57:50.000000000 +0400
+++ chrome/browser/notifications/message_center_notification_manager.cc
2014-09-17 18:58:30.000000000 +0400
@@ -78,7 +78,7 @@
   blockers_.push_back(new FullscreenNotificationBlocker(message_center));

 #if defined(OS_WIN) || defined(OS_MACOSX) \
-  || (defined(OS_LINUX) && !defined(OS_CHROMEOS))
+  || (defined(OS_LINUX) && !defined(OS_CHROMEOS)) || defined(OS_BSD)
   // On Windows, Linux and Mac, the notification manager owns the tray
icon and
   // views.Other platforms have global ownership and Create will return
NULL.
   tray_.reset(message_center::CreateMessageCenterTray());


-- 
Best regards,
Alexey V. Panfilov



More information about the freebsd-chromium mailing list