cef/libcef_dll
Marshall Greenblatt d8db6fa9da mac: cefclient: Use RootWindowManager to track key window status (fixes issue #3307)
This change provides a generic solution for active (key) window tracking that
works with both Views-hosted and native windows on MacOS. With this new approach
we can now successfully route top menu actions to the currently active window.

Prior to this change CEF's Views API was using focus notifications as a proxy
for window activation notifications. That doesn't work on MacOS where NSWindow
activation (key status) is independent of NSView focus (first responder) status,
and changes in activation don't necessarily generate focus notifications (see
NativeWidgetMac::OnWindowKeyStatusChanged). To make this work reliably on all
platforms we now expose a CefWindowDelegate::OnWindowActivationChanged callback.

This change also fixes an uninitialized variable
(RootWindowMacImpl::with_extension_) that was causing flaky behavior in
RootWindowManager::OnRootWindowActivated.

To test:
1. Run `cefclient [--use-views]`
2. Select Popup Window from the Tests menu. Do not explicitly activate the popup
   window (e.g. don't click on it).
3. Verify that further Tests menu actions go to the popup window.
4. Change activation to a first window by clicking on it. Verify that Test
   menu actions go to that window.
5. Close the currently active window. Do not explicitly activate the remaining
   window (e.g. don't click on it).
6. Verify that Test menu actions go to the only remaining window.
2022-04-12 16:37:01 -04:00
..
base Remove DISALLOW_ macro from libcef_dll/ (see issue #3234) 2021-12-07 15:02:28 -05:00
cpptoc mac: cefclient: Use RootWindowManager to track key window status (fixes issue #3307) 2022-04-12 16:37:01 -04:00
ctocpp mac: cefclient: Use RootWindowManager to track key window status (fixes issue #3307) 2022-04-12 16:37:01 -04:00
sandbox Windows: Add abseil-cpp deps to cef_sandbox.lib 2021-11-16 14:22:58 -05:00
wrapper Delete cef_web_plugin.h and plugin-related APIs (see issue #3047) 2022-02-18 16:23:11 -05:00
CMakeLists.txt.in Update to Chromium version 86.0.4240.0 (#800218) 2020-09-03 17:44:25 -04:00
libcef.dll.manifest
libcef.lst
libcef_dll.cc Delete cef_web_plugin.h and plugin-related APIs (see issue #3047) 2022-02-18 16:23:11 -05:00
libcef_dll.rc Compute all version numbers using cef_version.py (see issue #2596) 2019-03-15 13:16:43 -04:00
libcef_dll2.cc Compute all version numbers using cef_version.py (see issue #2596) 2019-03-15 13:16:43 -04:00
resource.h
shutdown_checker.cc Various fixes related to the C++11/14 update (see issue #3140) 2021-06-18 13:42:31 -04:00
shutdown_checker.h
template_util.h Check C API structure sizes before copying values to C++ classes (fixes issue #3238) 2022-02-17 12:46:38 -05:00
transfer_util.cc
transfer_util.h Remove DISALLOW_ macro from libcef_dll/ (see issue #3234) 2021-12-07 15:02:28 -05:00
wrapper_types.h chrome: Add ability to handle chrome menu/keyboard commands (fixes issue #3280) 2022-03-22 15:11:47 -04:00