electron/shell/browser/ui
Marek Rusinowski cdf2b3f4e4
fix: calling of X11 functions when running under Wayland (#33355)
* fix: don't call X11 functions in file dialog and message box

* refactor: remove unused GtkUiPlatform declaration

* fix: set gtk darktheme only when running under X11

* fix: replace X11 window state watcher with implementation using ozone

* fix: make sure global menu barr is used only when supported

* fix: don't call X11 function in native window views under wayland

* style: fix lint issues

* fix: use GtkUiPlatform::ShowGtkWindow instead of gtk_window_present directly

* refactor: extract CreateGlobalMenuBar into separate function

* refactor: move checking for WaylandWindowDecorations inside class

* fix: check if we run under X11 only in ozone build

* refactor: drop including unused ui/base/ui_base_features.h header

* fix: modify ui_gtk_public_header.patch to also export gtk_ui.h

* fix: refactor guarding of X11 calls

- Introduce patch exposing new electron_can_call_x11 property
- Replace defined(USE_OZONE) with BUILDFLAG(OZONE_PLATFORM_X11) flags

* fix: remove the last remaining usage of USE_X11

* fix: usage of BUILDFLAG(OZONE_PLATFORM_X11) not building on non ozone

* fix: call UpdateWindowState from OnBoundsChanged only under X11
2022-03-28 12:48:50 -04:00
..
cocoa feat: support more color formats for backgroundColor (#31868) 2022-03-21 18:35:54 +01:00
gtk fix: calling of X11 functions when running under Wayland (#33355) 2022-03-28 12:48:50 -04:00
views feat: add WCO title bar style setters (#33066) 2022-03-24 20:02:45 -04:00
webui chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
win chore: bump chromium to 102.0.4961.0 (main) (#33091) 2022-03-24 21:39:03 -04:00
x fix: calling of X11 functions when running under Wayland (#33355) 2022-03-28 12:48:50 -04:00
accelerator_util.cc chore: bump chromium to 93.0.4530.0 (master) (#29256) 2021-06-03 01:05:04 -07:00
accelerator_util.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
accelerator_util_unittests.cc chore: enable native unittesting (#20293) 2019-10-03 22:21:30 +02:00
autofill_popup.cc chore: bump chromium to 100.0.4894.0 (main) (#32852) 2022-02-25 13:17:35 -05:00
autofill_popup.h chore: bump chromium to 100.0.4894.0 (main) (#32852) 2022-02-25 13:17:35 -05:00
certificate_trust.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
certificate_trust_mac.mm chore: use std::make_unique/base::MakeRefCounted when possible (#29510) 2021-06-08 11:00:05 +09:00
certificate_trust_win.cc refactor: remove uses of v8::Isolate::GetCurrent (#24179) 2020-06-22 09:35:24 -07:00
devtools_manager_delegate.cc refactor: replace deprecated DISALLOW_COPY_AND_ASSIGN (#31633) 2021-11-03 20:41:45 +09:00
devtools_manager_delegate.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
devtools_ui.cc refactor: replace deprecated DISALLOW_COPY_AND_ASSIGN (#31633) 2021-11-03 20:41:45 +09:00
devtools_ui.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
drag_util.cc chore: bump chromium to 96.0.4664.4 (main) (#31317) 2021-10-21 11:51:36 -07:00
drag_util.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
drag_util_mac.mm refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
drag_util_views.cc chore: bump chromium to 98.0.4706.0 (main) (#31555) 2021-11-24 09:45:59 +01:00
electron_desktop_window_tree_host_linux.cc fix: calling of X11 functions when running under Wayland (#33355) 2022-03-28 12:48:50 -04:00
electron_desktop_window_tree_host_linux.h fix: calling of X11 functions when running under Wayland (#33355) 2022-03-28 12:48:50 -04:00
electron_menu_model.cc chore: bump chromium to 100.0.4857.0 (main) (#32419) 2022-02-09 18:58:52 -08:00
electron_menu_model.h chore: bump chromium to 100.0.4857.0 (main) (#32419) 2022-02-09 18:58:52 -08:00
file_dialog.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
file_dialog_gtk.cc fix: calling of X11 functions when running under Wayland (#33355) 2022-03-28 12:48:50 -04:00
file_dialog_mac.mm chore: bump chromium to 99.0.4767.0 (main) (#31986) 2022-01-10 17:31:39 -05:00
file_dialog_win.cc chore: bump chromium to 102.0.4961.0 (main) (#33091) 2022-03-24 21:39:03 -04:00
gtk_util.cc fix: correct default text for button labels in gtk dialogs (#31798) 2021-11-15 08:18:33 +01:00
gtk_util.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
inspectable_web_contents.cc chore: bump chromium to 102.0.4961.0 (main) (#33091) 2022-03-24 21:39:03 -04:00
inspectable_web_contents.h fix: settings not persisting across devtools loads (#33120) 2022-03-08 20:17:43 -05:00
inspectable_web_contents_delegate.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
inspectable_web_contents_view.h chore: bump chromium to 100.0.4857.0 (main) (#32419) 2022-02-09 18:58:52 -08:00
inspectable_web_contents_view_delegate.cc chore: bump chromium to 93.0.4536.0 (main) (#29586) 2021-06-08 15:22:43 -05:00
inspectable_web_contents_view_delegate.h chore: bump chromium to 100.0.4857.0 (main) (#32419) 2022-02-09 18:58:52 -08:00
inspectable_web_contents_view_mac.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
inspectable_web_contents_view_mac.mm 2757472: Reland "Reland "[LSC] Remove base::string16 alias"" 2021-03-16 12:18:45 -04:00
message_box.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
message_box_gtk.cc fix: calling of X11 functions when running under Wayland (#33355) 2022-03-28 12:48:50 -04:00
message_box_mac.mm fix: do not run dialog callback inside transaction commit (#31606) 2021-11-01 17:08:31 -04:00
message_box_win.cc chore: fix typos (#32985) 2022-02-21 10:27:45 +01:00
run_all_unittests.cc chore: enable native unittesting (#20293) 2019-10-03 22:21:30 +02:00
tray_icon.cc chore: rename atom -> electron (#21986) 2020-02-04 12:19:40 -08:00
tray_icon.h chore: bump chromium to 100.0.4857.0 (main) (#32419) 2022-02-09 18:58:52 -08:00
tray_icon_cocoa.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
tray_icon_cocoa.mm fix: macOS tray icon alternate images (#33026) 2022-02-28 14:59:27 -08:00
tray_icon_gtk.cc chore: bump chromium to 93.0.4530.0 (master) (#29256) 2021-06-03 01:05:04 -07:00
tray_icon_gtk.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
tray_icon_observer.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
tray_icon_win.cc chore: bump chromium to 93.0.4530.0 (master) (#29256) 2021-06-03 01:05:04 -07:00