Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Sep 2014 06:37:39 +0000
From:      "Tomek" <tomek@apostata.org>
To:        freebsd-chromium@freebsd.org
Subject:   Two patches for tabbar
Message-ID:  <15f44ed4f1af2ccf1f68e65db5dabdef@webmail.olejniczak.info>

next in thread | raw e-mail | index | archive | help
Hello,=0A=0ABelow are two patches for tabbar:=0A=0A1. Enable middle click=
 on "new tab" button - this opens new tab with contents of the primary cl=
ipboard.=0AIt partially helps with https://bugs.freebsd.org/bugzilla/show=
_bug.cgi?id=3D192748. =0A=0A--- chrome/browser/ui/views/tabs/tab_strip.cc=
.orig	2014-09-22 11:26:41.000000000 +0200=0A+++ chrome/browser/ui/views/t=
abs/tab_strip.cc	2014-09-22 11:26:50.000000000 +0200=0A@@ -278,7 +278,7 @=
@=0A     : views::ImageButton(listener),=0A       tab_strip_(tab_strip),=
=0A       destroyed_(NULL) {=0A-#if defined(OS_LINUX) && !defined(OS_CHRO=
MEOS)=0A+#if defined(OS_LINUX) && !defined(OS_CHROMEOS) || defined(OS_BSD=
)=0A   set_triggerable_event_flags(triggerable_event_flags() |=0A        =
                       ui::EF_MIDDLE_MOUSE_BUTTON);=0A #endif=0A=0A=0A2. =
Mouse scroll on tabbar changes tab (I don't know if it is really needed b=
ut it is default on linux)=0A=0A--- chrome/browser/defaults.cc.orig	2014-=
09-23 08:03:48.000000000 +0200=0A+++ chrome/browser/defaults.cc	2014-09-2=
3 07:54:58.000000000 +0200=0A@@ -49,7 +49,7 @@=0A const bool kShowOtherBr=
owsersInAboutMemory =3D true;=0A #endif=0A =0A-#if defined(OS_LINUX) && !=
defined(OS_CHROMEOS)=0A+#if defined(OS_LINUX) && !defined(OS_CHROMEOS) ||=
 defined(OS_BSD)=0A const bool kScrollEventChangesTab =3D true;=0A #else=
=0A const bool kScrollEventChangesTab =3D false;=0A=0A--=0ATomek



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15f44ed4f1af2ccf1f68e65db5dabdef>