electron/shell/browser/ui
msizanoen1 7b8fb2b074
fix: Wayland general CSD fixes (#34955)
* fix: broken wayland window decorations due to botched chromium update

The `GetTitlebarBounds().height()` is obviously intended to be placed in
the `top` parameter, which used to be the second one before upstream
removed multi-parameter `gfx::Rect::Inset`, but it's the first parameter
for `gfx::Insets::TLBR`, which was intended to replace the removed
`Inset` function. However, whoever updated Chromium kept the parameter
unchanged, causing the title bar height to be passed to the `left`
parameter, causing the window title bar to be unclickable.

* fix: wayland window top bar buttons unclickable

Use NonClientFrameView::TargetForRect for the ClientFrameViewLinux
implementation because the default inherited from FramelessView blocks
any non-HTCLIENT events.

* fix: add maximized parameter to LinuxUI::GetWindowFrameProvider

* fix: pass frame_->IsMaximized() to GetWindowFrameProvider

This ensures that the toolkit renders the window decorations in maximized mode
while the window is maximized to ensure that there is no empty space around the window.
2022-08-03 17:51:52 +09:00
..
cocoa fix: DCHECK entering fullscreen while loading url (#35111) 2022-08-01 16:52:58 -04:00
gtk
views fix: Wayland general CSD fixes (#34955) 2022-08-03 17:51:52 +09:00
webui
win fix: touch events not recognized by WCO on windows (#35117) 2022-08-02 12:13:58 +09:00
x
accelerator_util.cc
accelerator_util.h
accelerator_util_unittests.cc
autofill_popup.cc
autofill_popup.h
certificate_trust.h
certificate_trust_mac.mm
certificate_trust_win.cc
devtools_manager_delegate.cc
devtools_manager_delegate.h
devtools_ui.cc
devtools_ui.h
drag_util.cc
drag_util.h
drag_util_mac.mm
drag_util_views.cc
electron_desktop_window_tree_host_linux.cc
electron_desktop_window_tree_host_linux.h
electron_gdk_pixbuf.sigs
electron_gtk.fragment refactor: use stubs for gdk-pixbuf dependency (#34077) 2022-06-19 17:42:30 -07:00
electron_gtk.sigs
electron_menu_model.cc
electron_menu_model.h
file_dialog.h
file_dialog_gtk.cc
file_dialog_mac.mm
file_dialog_win.cc
gtk_util.cc
gtk_util.h
inspectable_web_contents.cc
inspectable_web_contents.h
inspectable_web_contents_delegate.h
inspectable_web_contents_view.h
inspectable_web_contents_view_delegate.cc
inspectable_web_contents_view_delegate.h
inspectable_web_contents_view_mac.h
inspectable_web_contents_view_mac.mm
message_box.h
message_box_gtk.cc
message_box_mac.mm
message_box_win.cc
run_all_unittests.cc
tray_icon.cc
tray_icon.h
tray_icon_cocoa.h
tray_icon_cocoa.mm
tray_icon_gtk.cc
tray_icon_gtk.h
tray_icon_observer.h
tray_icon_win.cc