gecko-dev/widget/gtk
Jan Horak 229b3f0529 Bug 1493081 - Added nsIWidget::GetDesktopToDeviceScaleByScreen for scale factor lookup by window position; r=mattwoodrow
We've added nsIWidget::GetDesktopToDeviceScaleByScreen which will return scale factor of the newly placed window
according to its position on the display. This change is to move implementation to the nsIWidget derived classes.
We need that for GTK Wayland, because on the Wayland we cannot determine absolute position of the window, we
need to use parent's window scale factor. For other platforms the GetDesktopToDeviceScaleByScreen is implemented
in nsBaseWidget.

Differential Revision: https://phabricator.services.mozilla.com/D7290

--HG--
extra : moz-landing-system : lando
2018-10-23 12:49:21 +00:00
..
compat
compat-gtk3
crashtests
mozgtk Bug 1497580 - use gtk_target_list_add_text_targets for text/unicode clipboard data r=karlt 2018-10-10 21:44:41 +00:00
mozwayland Bug 1460605 - Provide NS_NATIVE_EGL_WINDOW to get a native EGL window on Wayland, r=jhorak 2018-05-10 16:04:20 +02:00
wayland Bug 1417892 - Added gtk-primary-selection-client-protocol header/source files from Gtk+ project, r=jhorak 2018-03-06 14:02:21 +01:00
CompositorWidgetChild.cpp
CompositorWidgetChild.h
CompositorWidgetParent.cpp
CompositorWidgetParent.h
gtk2drawing.c Bug 1376756 - gtk: while drawing nsTreeBodyFrame, fetch current row attributes for proper style rendering. r=karlt 2018-06-27 05:11:00 +03:00
gtk3drawing.cpp Bug 1500423. Make '-webkit-appearance: menulist-textfield' behave like Chrome. r=mats 2018-10-19 18:12:15 +01:00
GtkCompositorWidget.cpp Bug 1401634 - Flush window XID to X server before we pass the XID to gpu process, r=jhorak 2018-07-27 14:00:09 +02:00
GtkCompositorWidget.h
gtkdrawing.h Bug 1498356 - Move border and padding from -moz-window-titlebar* to -moz-window-button-box on GTK backend, r=dao 2018-10-12 16:16:50 +00:00
IMContextWrapper.cpp Bug 1402247 - Use encoding_rs for XPCOM string encoding conversions. r=Nika,erahm,froydnj. 2018-08-14 14:43:42 +03:00
IMContextWrapper.h Bug 1461307 - Overwrite selection colors of widget which may be referred by IME via IM context with selection colors of GtkTextView r=karlt 2018-07-13 18:12:53 +09:00
InProcessGtkCompositorWidget.cpp
InProcessGtkCompositorWidget.h Bug 1448271 - Update some names of #include guards r=nical 2018-03-23 22:40:04 +09:00
maiRedundantObjectFactory.c
maiRedundantObjectFactory.h
moz.build Bug 1472276 - Make -moz-cellhighlight distinct from Highlight and -moz-field r=karlt 2018-06-29 19:23:03 +01:00
mozcontainer.cpp Bug 1477967 - Fix the popup menu sizes and redrawing on Wayland/hidpi monitor, r=stransky 2018-07-24 12:51:34 +02:00
mozcontainer.h Bug 1444437 - [Wayland] Don't map mozcontainer subsurface until parent surface is commited, r=ashie 2018-06-28 13:37:31 +02:00
NativeKeyBindings.cpp
NativeKeyBindings.h
nsApplicationChooser.cpp
nsApplicationChooser.h
nsAppShell.cpp Bug 1476250 - Simplify HAL initialization and shutdown to reduce the chance of leaks and UAFs r=froydnj 2018-08-31 20:29:30 +00:00
nsAppShell.h
nsBidiKeyboard.cpp Bug 1491595 - Remove the XPCOM registration for the bidi keyboard; r=mstange 2018-09-17 00:02:58 -04:00
nsBidiKeyboard.h
nsClipboard.cpp Bug 1497580 - Save text/html as UTF-8 to the clipboard. r=karlt 2018-10-17 23:00:36 +00:00
nsClipboard.h Bug 1417892 - Implement primary clipboard selection under Wayland, r=jhorak 2018-04-04 14:49:21 +02:00
nsClipboardWayland.cpp Bug 1500484 - Unbreak Wayland build on FreeBSD after bug 1417890. r=stransky 2018-10-19 09:45:00 -04:00
nsClipboardWayland.h Bug 1464808 - [Wayland] Emulate gdk_drag_context_get_actions(), nsWaylandDragContext::GetSelectedDragAction returns available D&D actions when no one is selected by user, r=jhorak 2018-06-01 12:24:17 +02:00
nsClipboardX11.cpp Bug 1417892 - Implement primary clipboard selection under Wayland, r=jhorak 2018-04-04 14:49:21 +02:00
nsClipboardX11.h Bug 1417892 - Implement primary clipboard selection under Wayland, r=jhorak 2018-04-04 14:49:21 +02:00
nsColorPicker.cpp Bug 1496836 - Set colorpicker widget as modal if parent widget is also modal on GTK. r=karlt 2018-10-10 20:21:39 +00:00
nsColorPicker.h
nsCUPSShim.cpp
nsCUPSShim.h
nsDeviceContextSpecG.cpp Bug 1402247 - Use encoding_rs for XPCOM string encoding conversions. r=Nika,erahm,froydnj. 2018-08-14 14:43:42 +03: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 1497831 - Use nsTArray instead of nsIArray for nsITransferable. r=smaug 2018-10-10 20:25:54 +00:00
nsDragService.h Bug 396370 - Gtk (XDnd) Image/File drag and drop support r=karlt 2018-10-04 10:31:45 +00:00
nsFilePicker.cpp Bug 1490186 - Add GtkFileChooserNative support to Firefox. r=stransky 2018-10-15 19:25:10 +00:00
nsFilePicker.h Bug 1490186 - Add GtkFileChooserNative support to Firefox. r=stransky 2018-10-15 19:25:10 +00:00
nsGtkCursors.h
nsGtkKeyUtils.cpp Bug 1470047 - Implement InitBySystemSettingsWayland() and get key modifiers on Wayland, r=ashie 2018-07-10 18:28:32 +02:00
nsGtkKeyUtils.h Bug 1470047 - Implement InitBySystemSettingsWayland() and get key modifiers on Wayland, r=ashie 2018-07-10 18:28:32 +02:00
nsGTKToolkit.h
nsGtkUtils.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
nsIImageToPixbuf.h
nsImageToPixbuf.cpp
nsImageToPixbuf.h
nsLookAndFeel.cpp Bug 1493145 - [CSD] Enable round corners by default by -moz-gtk-csd-transparent-background media query, r=dao 2018-09-25 11:53:04 +00:00
nsLookAndFeel.h Bug 1472276 - Make -moz-cellhighlight distinct from Highlight and -moz-field r=karlt 2018-06-29 19:23:03 +01:00
nsNativeThemeGTK.cpp Bug 1500423. Make '-webkit-appearance: menulist-textfield' behave like Chrome. r=mats 2018-10-19 18:12:15 +01:00
nsNativeThemeGTK.h Bug 1442755 - Redraw titlebar widgets when application focus changes and draw inactive titlebar with GTK_STATE_FLAG_BACKDROP state, r=jhorak 2018-09-12 11:03:56 +00:00
nsPrintDialogGTK.cpp Bug 1493737 - Fix many trivial calls to do_QueryInterface r=smaug 2018-10-01 21:38:01 +00:00
nsPrintDialogGTK.h
nsPrintSettingsGTK.cpp
nsPrintSettingsGTK.h
nsPrintSettingsServiceGTK.cpp
nsPrintSettingsServiceGTK.h
nsPSPrinters.cpp
nsPSPrinters.h
nsSound.cpp Bug 1448914 - remove nsISound::playSystemSound; r=masayuki 2018-03-27 10:41:40 -04:00
nsSound.h
nsToolkit.cpp
nsWidgetFactory.cpp Bug 1491594 - Remove the XPCOM registration for the native theme renderer r=mstange 2018-09-20 01:20:55 +00:00
nsWindow.cpp Bug 1493081 - Added nsIWidget::GetDesktopToDeviceScaleByScreen for scale factor lookup by window position; r=mattwoodrow 2018-10-23 12:49:21 +00:00
nsWindow.h Bug 1493081 - Added nsIWidget::GetDesktopToDeviceScaleByScreen for scale factor lookup by window position; r=mattwoodrow 2018-10-23 12:49:21 +00:00
PCompositorWidget.ipdl
PlatformWidgetTypes.ipdlh Bug 1406533 - Implement a way to transfer shape option from nsWindow to WindowSurfaceX11Image, r=lsalzman 2018-07-24 16:07:04 +02:00
ScreenHelperGTK.cpp Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj 2018-06-01 10:45:27 +02:00
ScreenHelperGTK.h
TaskbarProgress.cpp Bug 1418749 - Add a TaskbarProgress implementation for gtk3/x11. r=paolo,karlt 2018-03-08 18:43:00 +02:00
TaskbarProgress.h Bug 1418749 - Add a TaskbarProgress implementation for gtk3/x11. r=paolo,karlt 2018-03-08 18:43:00 +02:00
WakeLockListener.cpp Bug 1495404 - Postpone dbus_bus_get() call until we need it at WakeLockListener::Callback(), r=jhorak 2018-10-01 13:22:48 +00:00
WakeLockListener.h Bug 1495404 - Postpone dbus_bus_get() call until we need it at WakeLockListener::Callback(), r=jhorak 2018-10-01 13:22:48 +00:00
WidgetStyleCache.cpp Bug 1500423. Make '-webkit-appearance: menulist-textfield' behave like Chrome. r=mats 2018-10-19 18:12:15 +01:00
WidgetStyleCache.h Bug 1355143 - Implement CreateStyleContextWithStates to style with fully stated css path, r=jhorak 2018-04-18 11:03:39 +02:00
WidgetTraceEvent.cpp
WidgetUtilsGtk.cpp
WidgetUtilsGtk.h
WindowSurfaceProvider.cpp Bug 1406533 - Implement a way to transfer shape option from nsWindow to WindowSurfaceX11Image, r=lsalzman 2018-07-24 16:07:04 +02:00
WindowSurfaceProvider.h Bug 1406533 - Implement a way to transfer shape option from nsWindow to WindowSurfaceX11Image, r=lsalzman 2018-07-24 16:07:04 +02:00
WindowSurfaceWayland.cpp Bug 1498499 - [Wayland] Implement triple buffering at Wayland, r=jhorak 2018-10-18 14:30:21 +00:00
WindowSurfaceWayland.h Bug 1498499 - [Wayland] Implement triple buffering at Wayland, r=jhorak 2018-10-18 14:30:21 +00:00
WindowSurfaceX11.cpp Bug 1449352 - always composite 24 depth WindowSurfaceX11 as BGRX. r=jrmuizel 2018-04-10 12:43:59 -04:00
WindowSurfaceX11.h
WindowSurfaceX11Image.cpp Bug 1481385 - Calculate bitmap mask size with stride. r=lsalzman 2018-08-09 12:10:18 +03:00
WindowSurfaceX11Image.h Bug 1406533 - Create and apply XShape mask at WindowSurfaceX11Image, r=lsalzman 2018-07-24 16:02:05 +02:00
WindowSurfaceXRender.cpp
WindowSurfaceXRender.h