gecko-dev/widget/gtk
Martin Stransky 066945c7bc Bug 1434646 - Titlebar rendering - Place titlebar buttons in GtkBox, r=jhorak
Some themes (Ambiance for instance) uses first-child/last-child css selectors
to style titlebar buttons. Ubuntu Ambiance theme places titlebar buttons closer
by negative margin applied to them.

We put titlebar buttons to GtkBox as well as Gtk+ does and also keep
the button order here to match first-child/last-child selectors. It also means
we must have maximize/restore as one button to keep the correct order.

MozReview-Commit-ID: 9mqljOa4Vu7

--HG--
extra : rebase_source : 9c31a2073d1bb247ce9d0240333143661b8ae4b8
2018-02-23 21:28:37 +01:00
..
compat
compat-gtk3
crashtests
mozgtk Bug 1435965 - Stub gtk_widget_set_valign in mozgtk2; r=karlt 2018-02-06 10:07:07 +01:00
mozwayland Bug 1409707 - [Wayland] - provide library shell, r=jhorak 2017-10-18 14:34:27 +02:00
CompositorWidgetChild.cpp Bug 1373739 - Make headless compositing Windows-compatible, in addition to Linux. r=dvander 2017-07-06 17:45:34 -07:00
CompositorWidgetChild.h Bug 1425842 - Rename X11CompositorWidget to GtkCompositorWidget and implement WindowSurfaceWayland support, r=jhorak 2017-12-18 20:20:02 +01:00
CompositorWidgetParent.cpp Bug 1425842 - Rename X11CompositorWidget to GtkCompositorWidget and implement WindowSurfaceWayland support, r=jhorak 2017-12-18 20:20:02 +01:00
CompositorWidgetParent.h Bug 1425842 - Rename X11CompositorWidget to GtkCompositorWidget and implement WindowSurfaceWayland support, r=jhorak 2017-12-18 20:20:02 +01:00
GtkCompositorWidget.cpp Bug 1425842 - Rename X11CompositorWidget to GtkCompositorWidget and implement WindowSurfaceWayland support, r=jhorak 2017-12-18 20:20:02 +01:00
GtkCompositorWidget.h Bug 1425842 - Rename X11CompositorWidget to GtkCompositorWidget and implement WindowSurfaceWayland support, r=jhorak 2017-12-18 20:20:02 +01:00
IMContextWrapper.cpp Bug 1278282 - Remove the 'MOZ_WIDGET_GTK == 2' defines r=karlt,lsalzman 2018-01-10 08:52:04 +01:00
IMContextWrapper.h Bug 1387357 - IMContextWrapper::DispatchCompositionStart() should stop dispatching eCompositionStart if dispatching preceding eKeyDown event causes changing active IM context r=m_kato 2017-09-04 20:18:43 +09:00
InProcessGtkCompositorWidget.cpp Bug 1425842 - Rename X11CompositorWidget to GtkCompositorWidget and implement WindowSurfaceWayland support, r=jhorak 2017-12-18 20:20:02 +01:00
InProcessGtkCompositorWidget.h Bug 1425842 - Rename X11CompositorWidget to GtkCompositorWidget and implement WindowSurfaceWayland support, r=jhorak 2017-12-18 20:20:02 +01:00
NativeKeyBindings.cpp Bug 1278282 - Remove the 'MOZ_WIDGET_GTK == 2' defines r=karlt,lsalzman 2018-01-10 08:52:04 +01:00
NativeKeyBindings.h
PCompositorWidget.ipdl
PlatformWidgetTypes.ipdlh Bug 1425842 - Rename X11CompositorWidget to GtkCompositorWidget and implement WindowSurfaceWayland support, r=jhorak 2017-12-18 20:20:02 +01:00
ScreenHelperGTK.cpp Bug 1350643 - Part 5.2: Use per-monitor gdkScaleFactor to set contentsScaleFactor & nsWindow::GetDesktopToDeviceScale if running in gtk/wayland. r=karlt 2017-06-16 11:13:59 +08:00
ScreenHelperGTK.h Bug 1430725 - Undefine X11 None at ScreenHelperGTK.h as it conflicts our JS code, r=jhorak 2018-01-16 10:09:36 +01:00
WakeLockListener.cpp Bug 1398539: Inhibit screensaver with XScreenSaverSuspend r=karlt 2017-09-13 18:28:51 -06:00
WakeLockListener.h Bug 1412258 - Get rid of ipc/dbus, r=smaug 2017-10-27 18:41:40 +02:00
WidgetStyleCache.cpp Bug 1434646 - Titlebar rendering - Place titlebar buttons in GtkBox, r=jhorak 2018-02-23 21:28:37 +01:00
WidgetStyleCache.h Bug 1433068 - Titlebar/Linux - load and draw HiDPI titlebar icons on HiDPI screens, r=jhorak 2018-02-20 16:16:23 +01:00
WidgetTraceEvent.cpp
WidgetUtilsGtk.cpp
WidgetUtilsGtk.h
WindowSurfaceProvider.cpp Bug 1430018 - Don't use nsWindow::IsX11Display() as it's not implemented, r=jhorak 2018-01-12 10:30:38 +01:00
WindowSurfaceProvider.h Bug 1425842 - Rename X11CompositorWidget to GtkCompositorWidget and implement WindowSurfaceWayland support, r=jhorak 2017-12-18 20:20:02 +01:00
WindowSurfaceWayland.cpp Bug 1435244 - don't call wl_display_roundtrip_queue() with null wl_queue but rather use wl_display_roundtrip(), r=jhorak 2018-02-02 14:42:32 +01:00
WindowSurfaceWayland.h Bug 1436263 - Part 1: Replace `final override` virtual function specifiers with just `final`. r=froydnj 2018-02-05 22:46:57 -08:00
WindowSurfaceX11.cpp
WindowSurfaceX11.h
WindowSurfaceX11Image.cpp Bug 1404323 - limit WindowSurfaceX11Image::Commit to clip bounds. r=gankro 2017-09-29 23:59:40 -04:00
WindowSurfaceX11Image.h
WindowSurfaceXRender.cpp
WindowSurfaceXRender.h
gtk2drawing.c Bug 1417751 - Implement a new value inner-spin-button to -moz-appearance on all platforms except Android. r=mats 2017-11-29 10:43:13 +08:00
gtk3drawing.cpp Bug 1434646 - Titlebar rendering - Place titlebar buttons in GtkBox, r=jhorak 2018-02-23 21:28:37 +01:00
gtkdrawing.h Bug 1434646 - Titlebar rendering - Place titlebar buttons in GtkBox, r=jhorak 2018-02-23 21:28:37 +01:00
maiRedundantObjectFactory.c
maiRedundantObjectFactory.h
moz.build Bug 1430725 - Include nsClipboardWayland.cpp to wayland build, r=jhorak 2018-01-16 10:08:25 +01:00
mozcontainer.cpp Bug 1430728 - [Wayland] - position wl_subsurface when attached GtkWidget allocation changes, r=jhorak 2018-01-16 10:26:58 +01:00
mozcontainer.h Bug 1278282 - Ride along Remove some trailing whitespaces r=lsalzman 2017-12-19 11:38:59 +01:00
nsAppShell.cpp Bug 1278282 - Replace #if (MOZ_WIDGET_GTK == 3) by #ifdef MOZ_WIDGET_GTK r=lsalzman 2018-01-09 11:51:07 +01:00
nsAppShell.h Bug 1428535 - Add missing override specifiers to overridden virtual functions. r=froydnj 2017-11-05 19:37:28 -08:00
nsApplicationChooser.cpp
nsApplicationChooser.h
nsBidiKeyboard.cpp
nsBidiKeyboard.h
nsCUPSShim.cpp
nsCUPSShim.h
nsClipboard.cpp Bug 1278282 - Ride along Remove some trailing whitespaces r=lsalzman 2017-12-19 11:38:59 +01:00
nsClipboard.h Bug 1278282 - Ride along Remove some trailing whitespaces r=lsalzman 2017-12-19 11:38:59 +01:00
nsClipboardWayland.cpp Bug 1434572 - [Wayland] Implement Gtk+ clipboard shortcut for copy->paste between Firefox windows, r=jhorak 2018-02-01 11:23:01 +01:00
nsClipboardWayland.h Bug 1434572 - [Wayland] Implement Gtk+ clipboard shortcut for copy->paste between Firefox windows, r=jhorak 2018-02-01 11:23:01 +01:00
nsClipboardX11.cpp Bug 1278282 - Replace #if (MOZ_WIDGET_GTK == 3) by #ifdef MOZ_WIDGET_GTK r=lsalzman 2018-01-09 11:51:07 +01:00
nsClipboardX11.h Bug 1417890 - Use nsRetrievalContextWayland for Wayland displays, r=jhorak 2017-12-18 13:37:46 +01:00
nsColorPicker.cpp Bug 1278282 - Ride along Remove some trailing whitespaces r=lsalzman 2017-12-19 11:38:59 +01:00
nsColorPicker.h Bug 1278282 - Ride along Remove some trailing whitespaces r=lsalzman 2017-12-19 11:38:59 +01:00
nsDeviceContextSpecG.cpp Bug 1278282 - Replace #if (MOZ_WIDGET_GTK == 3) by #ifdef MOZ_WIDGET_GTK r=lsalzman 2018-01-09 11:51:07 +01:00
nsDeviceContextSpecG.h Bug 1436263 - Part 3: Remove `virtual` from final virtual function declarations. r=froydnj 2018-02-08 21:22:43 -08:00
nsDragService.cpp Bug 1424107 - Pass the triggering principal URI across processes in drag-and-drop. r=smaug 2018-02-09 10:43:53 +09:00
nsDragService.h Bug 1424107 - Pass the triggering principal URI across processes in drag-and-drop. r=smaug 2018-02-09 10:43:53 +09:00
nsFilePicker.cpp Bug 1433357 - Part 2: Suppress upload-file-dialog proxy bypass in Linux r=karlt 2018-02-02 14:44:00 +02:00
nsFilePicker.h Bug 1278282 - Replace #if (MOZ_WIDGET_GTK == 3) by #ifdef MOZ_WIDGET_GTK r=lsalzman 2018-01-09 11:51:07 +01:00
nsGTKToolkit.h Bug 1278282 - Ride along Remove some trailing whitespaces r=lsalzman 2017-12-19 11:38:59 +01:00
nsGtkCursors.h
nsGtkKeyUtils.cpp Bug 1036008 - Use alternative ASCII capable keyboard layout information to decide keyCode even if the key produces an ASCII punctuation character r=smaug 2018-02-16 15:54:07 +09:00
nsGtkKeyUtils.h Bug 1036008 - Use alternative ASCII capable keyboard layout information to decide keyCode even if the key produces an ASCII punctuation character r=smaug 2018-02-16 15:54:07 +09:00
nsGtkUtils.h
nsIImageToPixbuf.h
nsIdleServiceGTK.cpp Bug 1436902 part 3. Replace usage of NS_IMPL_ISUPPORTS_INHERITED0 with NS_INLINE_DECL_REFCOUNTING_INHERITED when possible. r=mccr8 2018-02-12 15:44:40 -05:00
nsIdleServiceGTK.h Bug 1436902 part 3. Replace usage of NS_IMPL_ISUPPORTS_INHERITED0 with NS_INLINE_DECL_REFCOUNTING_INHERITED when possible. r=mccr8 2018-02-12 15:44:40 -05:00
nsImageToPixbuf.cpp
nsImageToPixbuf.h
nsLookAndFeel.cpp Bug 1434646 - Titlebar rendering - Place titlebar buttons in GtkBox, r=jhorak 2018-02-23 21:28:37 +01:00
nsLookAndFeel.h Bug 1436263 - Part 3: Remove `virtual` from final virtual function declarations. r=froydnj 2018-02-08 21:22:43 -08:00
nsNativeThemeGTK.cpp Bug 1434646 - Titlebar rendering - Place titlebar buttons in GtkBox, r=jhorak 2018-02-23 21:28:37 +01:00
nsNativeThemeGTK.h Bug 1431337 - Scale content for the actual monitor, not the first one; r=stransky 2018-01-18 11:52:59 +01:00
nsPSPrinters.cpp Bug 1384835 (part 3, attempt 2) - Remove the Preferences::Get*CString() variants that return nsAdoptingCString. r=froydnj. 2017-07-31 14:28:48 +10:00
nsPSPrinters.h
nsPrintDialogGTK.cpp Bug 1278282 - Remove the 'MOZ_WIDGET_GTK == 2' defines r=karlt,lsalzman 2018-01-10 08:52:04 +01:00
nsPrintDialogGTK.h
nsPrintSettingsGTK.cpp Bug 1278282 - Ride along Remove some trailing whitespaces r=lsalzman 2017-12-19 11:38:59 +01:00
nsPrintSettingsGTK.h Bug 1278282 - Ride along Remove some trailing whitespaces r=lsalzman 2017-12-19 11:38:59 +01:00
nsPrintSettingsServiceGTK.cpp Bug 144114 part 2 - Rename nsPrintOptions and its subclasses to nsPrintSettingsService*. r=bobowen 2017-12-19 10:42:15 +00:00
nsPrintSettingsServiceGTK.h Bug 144114 part 3 - Clean up the headers of the nsPrintSettingsService subclasses. r=bobowen 2017-12-19 11:05:37 +00:00
nsSound.cpp Bug 1416712 - Remove nsPaperPS as it seems to be dead code r=karlt 2017-11-13 11:24:47 +01:00
nsSound.h Bug 1278282 - Ride along Remove some trailing whitespaces r=lsalzman 2017-12-19 11:38:59 +01:00
nsToolkit.cpp Bug 1278282 - Ride along Remove some trailing whitespaces r=lsalzman 2017-12-19 11:38:59 +01:00
nsWidgetFactory.cpp Bug 144114 part 2 - Rename nsPrintOptions and its subclasses to nsPrintSettingsService*. r=bobowen 2017-12-19 10:42:15 +00:00
nsWindow.cpp Backed out changeset 9d1f52cabe41 (bug 1440461) for build bustages on nsWindow.cpp 2018-03-01 05:32:33 +02:00
nsWindow.h Bug 1417847 - [CSD] Doubleclick event on draggable area restores/maximizes window; r=stransky 2018-02-15 09:50:56 +01:00