electron/shell/browser/ui
trop[bot] 4e2c6b5eb8
fix: handle failing to enter fullscreen on macOS (#43153)
* fix: handle failing to enter/exit fullscreen on macOS

On macOS, failing to enter/exit fullscreen can fail. If this happens,
properly restore the original window state.

Co-authored-by: cptpcrd <31829097+cptpcrd@users.noreply.github.com>

* refactor: remove fail to exit fullscreen handlers

Seem to be unnecessary since the window exits fullscreen anyway.

Co-authored-by: cptpcrd <31829097+cptpcrd@users.noreply.github.com>

---------

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: cptpcrd <31829097+cptpcrd@users.noreply.github.com>
2024-08-01 14:57:20 +02:00
..
cocoa fix: handle failing to enter fullscreen on macOS (#43153) 2024-08-01 14:57:20 +02:00
gtk chore: bump chromium to 122.0.6194.0 (29-x-y) (#40872) 2024-01-04 16:17:50 -05:00
views fix: WCO maximize button visibility when non-maximizable (#41807) 2024-04-09 19:20:32 -04:00
webui refactor: replace use of deprecated `base::JSONWriter::WriteJson()` (#41223) 2024-02-02 19:08:52 -06:00
win fix: missing badge text on Windows (#41628) 2024-03-19 11:36:21 -07:00
x chore: bump chromium to 121.0.6159.0 (29-x-y) (#40751) 2023-12-12 13:59:27 -06:00
accelerator_util.cc refactor: remove banned std::to_string() calls (#41109) 2024-01-25 09:45:14 +09:00
accelerator_util.h chore: enable check raw ptr fields (#38167) 2023-05-11 16:07:39 -04:00
accelerator_util_unittests.cc chore: bump chromium to 117.0.5913.0 (main) (#39172) 2023-07-31 10:47:32 -07:00
autofill_popup.cc refactor: inline simple getters, pt . 2 (#41254) (#41341) 2024-02-15 11:00:32 -05:00
autofill_popup.h refactor: inline simple getters, pt . 2 (#41254) (#41341) 2024-02-15 11:00:32 -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: bump chromium to 121.0.6116.0 (main) (#40490) 2023-11-14 13:21:32 -08:00
certificate_trust_win.cc refactor: replace remaining `NULL` with `nullptr` (#40053) 2023-10-03 12:26:35 -07:00
devtools_manager_delegate.cc fix: `Storage.{get|set|clear}Cookies` via CDP not working (#41739) 2024-03-29 09:51:43 -05:00
devtools_manager_delegate.h fix: `Storage.{get|set|clear}Cookies` via CDP not working (#41739) 2024-03-29 09:51:43 -05:00
devtools_ui.cc chore: bump chromium to 107.0.5274.0 (main) (#35375) 2022-09-07 09:46:37 +02: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: remove dead draggable region code (#38404) 2023-05-24 10:03:07 +02:00
drag_util.h chore: bump chromium to 117.0.5884.1 (main) (#38969) 2023-07-16 16:14:43 +02:00
drag_util_mac.mm chore: bump chromium to 118.0.5975.0 (main) (#39531) 2023-09-01 15:54:59 +09:00
drag_util_views.cc chore: cleanup `drag_util` (#36806) 2023-01-09 10:00:47 +01:00
electron_desktop_window_tree_host_linux.cc chore: bump chromium to 122.0.6261.6 (29-x-y) (#40959) 2024-01-25 15:19:31 -05:00
electron_desktop_window_tree_host_linux.h chore: enable check raw ptr fields (#38167) 2023-05-11 16:07:39 -04:00
electron_gdk_pixbuf.sigs refactor: use stubs for gdk-pixbuf dependency (#34077) 2022-06-19 17:42:30 -07:00
electron_gtk.fragment refactor: use stubs for gdk-pixbuf dependency (#34077) 2022-06-19 17:42:30 -07:00
electron_gtk.sigs refactor: use stubs for gdk-pixbuf dependency (#34077) 2022-06-19 17:42:30 -07:00
electron_menu_model.cc refactor: inline simple getters, pt . 2 (#41254) (#41341) 2024-02-15 11:00:32 -05:00
electron_menu_model.h refactor: inline simple getters, pt . 2 (#41254) (#41341) 2024-02-15 11:00:32 -05:00
file_dialog.h chore: enable check raw ptr fields (#38167) 2023-05-11 16:07:39 -04:00
file_dialog_linux.cc fix: param passed to `showSaveDialogSync` on Linux (#42679) 2024-06-27 19:50:20 +02:00
file_dialog_mac.mm chore: migrate base::StringPiece to std::string_view (#40915) (#40973) 2024-01-12 10:50:55 +01:00
file_dialog_win.cc refactor: use gin_helper::Dictionary::CreateEmpty() helper (#40140) 2023-10-10 12:45:44 +02:00
gtk_util.cc chore: update links in comments (#37197) 2023-02-11 18:52:54 -08: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 refactor: inline simple getters, pt . 2 (#41254) (#41341) 2024-02-15 11:00:32 -05:00
inspectable_web_contents.h refactor: inline simple getters, pt . 2 (#41254) (#41341) 2024-02-15 11:00:32 -05:00
inspectable_web_contents_delegate.h feat: emit `devtools-open-url` event for DevTools link selection (#36774) 2023-01-26 09:54:26 +01:00
inspectable_web_contents_view.cc chore: Move draggable regions implementation from NativeBrowserView into InspectableWebContentsView (#35007) 2022-10-17 11:10:07 -04:00
inspectable_web_contents_view.h feat: add a 'title' parameter to `openDevTools()` (#39047) 2023-08-15 14:32:53 +09: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: cleanup arc migration helpers (#39606) 2023-08-23 09:54:21 -04:00
inspectable_web_contents_view_mac.mm feat: add a 'title' parameter to `openDevTools()` (#39047) 2023-08-15 14:32:53 +09:00
message_box.h chore: replace absl::optional<T> with std::optional<T> (#41074) 2024-01-23 20:43:22 -06:00
message_box_gtk.cc chore: replace absl::optional<T> with std::optional<T> (#41074) 2024-01-23 20:43:22 -06:00
message_box_mac.mm chore: replace absl::optional<T> with std::optional<T> (#41074) 2024-01-23 20:43:22 -06:00
message_box_win.cc chore: replace absl::optional<T> with std::optional<T> (#41074) 2024-01-23 20:43:22 -06:00
run_all_unittests.cc chore: bump chromium to 111.0.5544.3 (main) (#36820) 2023-02-03 12:43:42 +01:00
status_icon_gtk.cc chore: bump chromium to 119.0.6045.0 (main) (#40076) 2023-10-05 19:59:39 -04:00
status_icon_gtk.h chore: bump chromium to 119.0.6045.0 (main) (#40076) 2023-10-05 19:59:39 -04:00
tray_icon.cc feat: add middle click event to tray (#39926) 2023-09-27 14:21:15 -04:00
tray_icon.h chore: replace absl::optional<T> with std::optional<T> (#41074) 2024-01-23 20:43:22 -06:00
tray_icon_cocoa.h chore: bump chromium to 121.0.6159.0 (29-x-y) (#40751) 2023-12-12 13:59:27 -06:00
tray_icon_cocoa.mm chore: replace absl::optional<T> with std::optional<T> (#41074) 2024-01-23 20:43:22 -06:00
tray_icon_linux.cc chore: replace absl::optional<T> with std::optional<T> (#41074) 2024-01-23 20:43:22 -06:00
tray_icon_linux.h chore: bump chromium to 116.0.5817.0 (main) (#38465) 2023-06-09 16:08:36 -07:00
tray_icon_observer.h feat: add middle click event to tray (#39926) 2023-09-27 14:21:15 -04:00
tray_icon_win.cc chore: replace absl::optional<T> with std::optional<T> (#41074) 2024-01-23 20:43:22 -06:00