gecko-dev/widget/gtk
Cameron McCormack 82fdd2ebea Bug 1676057 - Disable scrollbar buttons when non-native theme is in use on Linux. r=emilio,spohl
Whether scrollbar buttons are shown is currently determined by
LookAndFeel values, and these are exposed through system metric media
features.  LookAndFeel values are process-wide, but which theme is in
use is document-specific.  (It can be the platform's native theme or the
native basic theme, depending on Document::ShouldAvoidNativeTheme.)  So
if nsNativeBasicTheme on Linux needs to not support scrollbar buttons,
we can't do this by forcing the LookAndFeel values to be false.

So instead, we skip creating the native anonymous content for the
scrollbar buttons when the non-native theme is in use on Linux.  There's
no need to support dynamic changes, since whether the non-native theme
is in use for a given document never changes.

Differential Revision: https://phabricator.services.mozilla.com/D96345
2020-11-10 02:41:46 +00:00
..
compat
compat-gtk3/gdk Bug 1617002 - Remove checks for unsupported GTK3 versions. r=stransky 2020-07-20 15:43:30 +00:00
crashtests
mozgtk Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00
mozwayland Bug 1675453 [Wayland] Include DMABufLibWrapper.h in nsWaylandDisplay.h header and update wayland headers, r=jhorak 2020-11-06 14:13:20 +00:00
wayland Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00
CompositorWidgetChild.cpp Bug 1613985 - Use default for equivalent-to-default constructors/destructors in widget. r=jmathies 2020-03-16 10:56:57 +00:00
CompositorWidgetChild.h
CompositorWidgetParent.cpp Bug 1603839 [Linux] Explicitly set Wayland/X11 backend for GtkCompositorWidget, r=jhorak 2020-04-23 17:26:17 +00:00
CompositorWidgetParent.h Bug 1634154. Make `widget/gtk` buildable outside of `unified-build` environment. r=karlt 2020-05-01 03:02:13 +00:00
DMABufLibWrapper.cpp Bug 1675453 [Wayland] Make nsDMABufDevice initialization thread safe and remove unused methods, r=jhorak 2020-11-06 14:13:24 +00:00
DMABufLibWrapper.h Bug 1675453 [Wayland] Make nsDMABufDevice initialization thread safe and remove unused methods, r=jhorak 2020-11-06 14:13:24 +00:00
DMABufSurface.cpp Bug 1656505 [Linux] Restore active texture when dmabuf texture is created and provide logging to dmabuf surfaces, r=jgilbert 2020-09-01 07:24:46 +00:00
DMABufSurface.h Bug 1675453 [Wayland] Include DMABufLibWrapper.h in nsWaylandDisplay.h header and update wayland headers, r=jhorak 2020-11-06 14:13:20 +00:00
GRefPtr.h Bug 1665373 - Stop using nsCountedRef in widget/gtk. r=karlt 2020-09-18 01:04:02 +00:00
GtkCompositorWidget.cpp Bug 1656266 - Wrap gtk window mClientSize in a lock to avoid a datarace. r=mstange 2020-09-24 00:22:53 +00:00
GtkCompositorWidget.h Bug 1656266 - Wrap gtk window mClientSize in a lock to avoid a datarace. r=mstange 2020-09-24 00:22:53 +00:00
IMContextWrapper.cpp Bug 1670731 - Key down event isn't fired during composition when using Wayland IM Module. r=masayuki 2020-10-18 09:46:41 +00:00
IMContextWrapper.h Bug 1670731 - Key down event isn't fired during composition when using Wayland IM Module. r=masayuki 2020-10-18 09:46:41 +00:00
InProcessGtkCompositorWidget.cpp
InProcessGtkCompositorWidget.h
MPRISInterfaceDescription.h Bug 1634190 - P1: Delete ghost functions r=alwu 2020-08-15 03:28:25 +00:00
MPRISServiceHandler.cpp Bug 1663128 - part3 : the event source should do the cleanup when it closes. r=chunmin 2020-10-07 09:23:08 +00:00
MPRISServiceHandler.h Bug 1663128 - part3 : the event source should do the cleanup when it closes. r=chunmin 2020-10-07 09:23:08 +00:00
MediaKeysEventSourceFactory.cpp Bug 1640998 - part9 : use `MediaControlKey` to replace `MediaControlKeysEvent` r=chunmin,agi,geckoview-reviewers 2020-06-09 02:59:57 +00:00
MozContainer.cpp Bug 1635362 [Wayland] Split mozcontainer implementation for X11 and Wayland, r=jhorak 2020-05-13 13:11:49 +00:00
MozContainer.h Bug 1617002 - Rework GTK opaque region handling. r=stransky 2020-07-30 18:28:42 +00:00
MozContainerWayland.cpp Bug 1662425 [Wayland] Create nsWaylandDisplay as ref counted, r=jhorak 2020-09-04 10:54:49 +00:00
MozContainerWayland.h Bug 1617002 - Rework GTK opaque region handling. r=stransky 2020-07-30 18:28:42 +00:00
NativeKeyBindings.cpp Bug 1628711 Remove #ifdef MOZ_WIDGET_GTK from widget/gtk, r=jhorak 2020-04-14 12:35:34 +00:00
NativeKeyBindings.h
PCompositorWidget.ipdl
PlatformWidgetTypes.ipdlh Bug 1603839 [Linux] Explicitly set Wayland/X11 backend for GtkCompositorWidget, r=jhorak 2020-04-23 17:26:17 +00:00
ProcInfo.cpp Bug 1665373 - Stop using nsCountedRef in widget/gtk. r=karlt 2020-09-18 01:04:02 +00:00
ScreenHelperGTK.cpp Bug 1675908 refresh cached screens on resolution change r=stransky 2020-11-09 12:19:01 +00:00
ScreenHelperGTK.h
TaskbarProgress.cpp
TaskbarProgress.h
WakeLockListener.cpp Bug 1662425 [Wayland] Create nsWaylandDisplay as ref counted, r=jhorak 2020-09-04 10:54:49 +00:00
WakeLockListener.h
WaylandVsyncSource.cpp Bug 1670444 - [Wayland] Some vsyncsource improvements, r=stransky 2020-11-03 11:39:18 +00:00
WaylandVsyncSource.h Bug 1670444 - [Wayland] Some vsyncsource improvements, r=stransky 2020-11-03 11:39:18 +00:00
WidgetStyleCache.cpp Bug 1654323 - Use GtkTextView.text.selection to get selection colors in GTK. r=stransky 2020-09-15 06:59:14 +00:00
WidgetStyleCache.h
WidgetTraceEvent.cpp
WidgetUtilsGtk.cpp Bug 1460959 [Linux] Implement nsWindow::IsMainWindowTransparent(), r=jhorak 2020-09-03 12:59:02 +00:00
WidgetUtilsGtk.h Bug 1460959 [Linux] Implement nsWindow::IsMainWindowTransparent(), r=jhorak 2020-09-03 12:59:02 +00:00
WindowSurfaceProvider.cpp Bug 1634154. Make `widget/gtk` buildable outside of `unified-build` environment. r=karlt 2020-05-01 03:02:13 +00:00
WindowSurfaceProvider.h
WindowSurfaceWayland.cpp Bug 1674982 [Wayland] Revert frame callbacks timeout due to OOM crashes, r=jhorak 2020-11-03 09:53:51 +00:00
WindowSurfaceWayland.h Bug 1673601 [Wayland] Remove WindowBackBufferShm and use only WindowBackBuffer, r=jhorak 2020-10-28 13:32:23 +00:00
WindowSurfaceX11.cpp
WindowSurfaceX11.h
WindowSurfaceX11Image.cpp
WindowSurfaceX11Image.h
WindowSurfaceXRender.cpp
WindowSurfaceXRender.h
components.conf Bug 1654957 - Enable the GfxInfo component in the GPU process on Linux. r=jgilbert 2020-08-07 21:31:53 +00:00
gtk3drawing.cpp Bug 1670145 - Record telemetry on Gtk version and other theme related info. r=tdsmith,spohl 2020-10-15 04:50:48 +00:00
gtkdrawing.h Bug 1670145 - Record telemetry on Gtk version and other theme related info. r=tdsmith,spohl 2020-10-15 04:50:48 +00:00
maiRedundantObjectFactory.c
maiRedundantObjectFactory.h
moz.build Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00
nsAppShell.cpp Bug 1676022 - Silence some glib deprecation warnings, r=stransky 2020-11-09 11:53:41 +00:00
nsAppShell.h
nsApplicationChooser.cpp Bug 1613985 - Use default for equivalent-to-default constructors/destructors in widget. r=jmathies 2020-03-16 10:56:57 +00:00
nsApplicationChooser.h
nsBidiKeyboard.cpp Bug 1613985 - Use default for equivalent-to-default constructors/destructors in widget. r=jmathies 2020-03-16 10:56:57 +00:00
nsBidiKeyboard.h
nsClipboard.cpp Bug 1653335 - Replace MakeSpan uses by constructor calls. r=froydnj 2020-08-07 07:49:47 +00:00
nsClipboard.h Bug 1623181 - Remove nsAutoPtr usage from widget/gtk. r=stransky 2020-03-18 12:30:50 +00:00
nsClipboardWayland.cpp Bug 1667674 - [Wayland] Support public primary-selection unstable protocol. r=stransky 2020-10-02 09:13:06 +00:00
nsClipboardWayland.h Bug 1667674 - [Wayland] Support public primary-selection unstable protocol. r=stransky 2020-10-02 09:13:06 +00:00
nsClipboardX11.cpp Bug 1617002 - Remove checks for unsupported GTK3 versions. r=stransky 2020-07-20 15:43:30 +00:00
nsClipboardX11.h Bug 1617002 - Remove checks for unsupported GTK3 versions. r=stransky 2020-07-20 15:43:30 +00:00
nsColorPicker.cpp Bug 1617002 - Remove checks for unsupported GTK3 versions. r=stransky 2020-07-20 15:43:30 +00:00
nsColorPicker.h Bug 1617002 - Remove checks for unsupported GTK3 versions. r=stransky 2020-07-20 15:43:30 +00:00
nsDeviceContextSpecG.cpp Bug 1519636 - Reformat recent changes to the Google coding style r=andi 2020-11-04 18:46:00 +00:00
nsDeviceContextSpecG.h Bug 1657874 - Unify printer list implementations between Mac and GTK, and add nsPrinterListBase. r=jwatt 2020-08-07 12:04:26 +00:00
nsDragService.cpp Bug 1665373 - Stop using nsCountedRef in widget/gtk. r=karlt 2020-09-18 01:04:02 +00:00
nsDragService.h Bug 1665373 - Stop using nsCountedRef in widget/gtk. r=karlt 2020-09-18 01:04:02 +00:00
nsFilePicker.cpp Bug 1639575 [Wayland] Use native file dialog when widget.use-xdg-desktop-portal is set to false, r=jhorak 2020-05-22 17:28:59 +00:00
nsFilePicker.h Bug 1628711 Remove #ifdef MOZ_WIDGET_GTK from widget/gtk, r=jhorak 2020-04-14 12:35:34 +00:00
nsGTKToolkit.h
nsGtkCursors.h
nsGtkKeyUtils.cpp Bug 1648872 - Add WaylandRegistryBind, a portable wl_registry_bind. r=stransky 2020-09-03 19:05:48 +00:00
nsGtkKeyUtils.h
nsGtkUtils.h
nsIImageToPixbuf.h
nsImageToPixbuf.cpp
nsImageToPixbuf.h Bug 1613985 - Use default for equivalent-to-default constructors/destructors in widget. r=jmathies 2020-03-16 10:56:57 +00:00
nsLookAndFeel.cpp Bug 1676056 - Fall back to default scrollbar colors in non-native theme when Gtk theme is too complex. r=spohl 2020-11-09 19:02:21 +00:00
nsLookAndFeel.h Bug 1676056 - Fall back to default scrollbar colors in non-native theme when Gtk theme is too complex. r=spohl 2020-11-09 19:02:21 +00:00
nsNativeBasicThemeGTK.cpp Bug 1671704 - Give scrollbar painting functions access to the nsIFrame*. r=spohl 2020-11-02 17:08:58 +00:00
nsNativeBasicThemeGTK.h Bug 1676057 - Disable scrollbar buttons when non-native theme is in use on Linux. r=emilio,spohl 2020-11-10 02:41:46 +00:00
nsNativeThemeGTK.cpp Bug 1673132 - Use the -moz-default-appearance values "scrollbar-horizontal" and "scrollbar-vertical" on macOS and remove the now-unused value "scrollbar". r=emilio 2020-10-27 12:37:44 +00:00
nsNativeThemeGTK.h Bug 1624786 - Replace MOZ_MUST_USE with [[nodiscard]] in widget/gtk. r=karlt 2020-04-08 16:41:43 +00:00
nsPrintDialogGTK.cpp Bug 1674716 - Fix printing selection-only from the GTK print dialog. r=jfkthame 2020-11-02 11:19:15 +00:00
nsPrintDialogGTK.h
nsPrintSettingsGTK.cpp Bug 1669854 - Add a single pageRanges print setting. r=nordzilla 2020-11-07 16:01:57 +00:00
nsPrintSettingsGTK.h Bug 1669854 - Add a single pageRanges print setting. r=nordzilla 2020-11-07 16:01:57 +00:00
nsPrintSettingsServiceGTK.cpp
nsPrintSettingsServiceGTK.h Bug 1613985 - Use default for equivalent-to-default constructors/destructors in widget. r=jmathies 2020-03-16 10:56:57 +00:00
nsSound.cpp Bug 1676022 - Silence some glib deprecation warnings, r=stransky 2020-11-09 11:53:41 +00:00
nsSound.h
nsToolkit.cpp
nsUserIdleServiceGTK.cpp Bug 1651165 - Rename idle service r=Gijs,geckoview-reviewers,snorp 2020-07-20 16:06:59 +00:00
nsUserIdleServiceGTK.h Bug 1651165 - Rename idle service r=Gijs,geckoview-reviewers,snorp 2020-07-20 16:06:59 +00:00
nsWaylandDisplay.cpp Bug 1675453 [Wayland] Include DMABufLibWrapper.h in nsWaylandDisplay.h header and update wayland headers, r=jhorak 2020-11-06 14:13:20 +00:00
nsWaylandDisplay.h Bug 1675453 [Wayland] Include DMABufLibWrapper.h in nsWaylandDisplay.h header and update wayland headers, r=jhorak 2020-11-06 14:13:20 +00:00
nsWidgetFactory.cpp
nsWidgetFactory.h
nsWindow.cpp Bug 1670970 [Linux] Check GdkWindow before we pass it to gdk_window_get_origin(), r=jhorak 2020-11-10 07:25:06 +00:00
nsWindow.h Bug 1554850 - handle fractional DPI change on Linux. r=karlt 2020-10-13 02:47:27 +00:00