electron/shell/browser/ui/views
Jeremy Rose 8a926ffde4
refactor: use views NonClientHitTest for draggable regions on mac (#35603)
* refactor: use views NonClientHitTest for draggable regions on mac

* iwyu

* add backport of 9bb5f0316

* chore: update patches

* remove some unneeded functions

* remove test for triggering when BW is focused

* chore: update patches

* simplify views/mac split now that the draggable logic is the same

* Apply suggestions from code review

Co-authored-by: Charles Kerr <charles@charleskerr.com>

* Update shell/browser/native_window.h

Co-authored-by: Charles Kerr <charles@charleskerr.com>

* fix build

Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com>
2022-10-12 12:05:45 -04:00
..
autofill_popup_view.cc fix: <datalist> bounds vertical cutoff (#34759) 2022-06-29 10:14:03 +02:00
autofill_popup_view.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
client_frame_view_linux.cc chore: bump chromium to 108.0.5329.0 (main) (#35628) 2022-10-03 13:21:00 -07:00
client_frame_view_linux.h chore: bump chromium to 108.0.5329.0 (main) (#35628) 2022-10-03 13:21:00 -07:00
electron_views_delegate.cc chore: bump chromium to 105.0.5187.0 (main) (#34921) 2022-07-20 13:03:34 +02:00
electron_views_delegate.h chore: bump chromium to 100.0.4857.0 (main) (#32419) 2022-02-09 18:58:52 -08:00
electron_views_delegate_win.cc chore: bump chromium to 108.0.5329.0 (main) (#35628) 2022-10-03 13:21:00 -07:00
frameless_view.cc refactor: use views NonClientHitTest for draggable regions on mac (#35603) 2022-10-12 12:05:45 -04:00
frameless_view.h refactor: better solution for resizable frameless DCHECK (#33790) 2022-04-28 20:34:12 -04:00
global_menu_bar_registrar_x11.cc chore: move global_menu_bar_registrar_x11 out of chromium_src (#30837) 2021-09-06 09:03:07 +02:00
global_menu_bar_registrar_x11.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
global_menu_bar_x11.cc chore: bump chromium to 106.0.5216.0 (main) (#34993) 2022-08-17 11:35:53 -07:00
global_menu_bar_x11.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
inspectable_web_contents_view_views.cc fix: persist BrowserView content bounds when calculating layout (#32747) 2022-03-23 10:16:15 +09:00
inspectable_web_contents_view_views.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
menu_bar.cc chore: bump chromium to 106.0.5216.0 (main) (#34993) 2022-08-17 11:35:53 -07:00
menu_bar.h chore: bump chromium to 106.0.5216.0 (main) (#34993) 2022-08-17 11:35:53 -07:00
menu_delegate.cc refactor: use Get/SetID from views:View in Button (#35022) 2022-07-25 09:46:14 +02:00
menu_delegate.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
menu_model_adapter.cc chore: bump chromium to 106.0.5216.0 (main) (#34993) 2022-08-17 11:35:53 -07:00
menu_model_adapter.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
native_frame_view.cc feat: make win.setAspectRatio() work on Windows (#26941) 2021-01-05 17:17:33 +09:00
native_frame_view.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
root_view.cc chore: bump chromium to 100.0.4857.0 (main) (#32419) 2022-02-09 18:58:52 -08:00
root_view.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
submenu_button.cc chore: bump chromium to 108.0.5329.0 (main) (#35628) 2022-10-03 13:21:00 -07:00
submenu_button.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
win_caption_button.cc chore: apply chromium commit 30a32e6 (#35370) 2022-08-23 10:31:23 +09:00
win_caption_button.h fix: update Windows caption buttons to match Win11 style (#34790) 2022-07-12 09:13:40 +02:00
win_caption_button_container.cc fix: allow maximizing when window enters tablet mode with WCO (#35617) 2022-09-13 13:41:23 -07:00
win_caption_button_container.h fix: WCO pressed background state updates (#34771) 2022-07-07 17:17:20 +02:00
win_frame_view.cc fix: Set background for WCO container (#35569) 2022-09-08 22:11:51 +09:00
win_frame_view.h fix: WCO respects maximizable/closable/minimizable (#34677) 2022-06-23 13:08:32 -04:00
win_icon_painter.cc chore: apply chromium commit 30a32e6 (#35370) 2022-08-23 10:31:23 +09:00
win_icon_painter.h fix: update Windows caption buttons to match Win11 style (#34790) 2022-07-12 09:13:40 +02:00