cef/tests/cefsimple
Marshall Greenblatt b660522983 views: Fix Chrome style browser RequestFocus behavior (fixes #3819)
Fix implementation of CefBrowserView::RequestFocus for Chrome style
browsers. Match Alloy style behavior of requesting browser focus
(calling OnSetFocus) after initial navigation. Add CefView::HasFocus
and CefWindow::GetFocusedView that can be used in combination with
CefWindow::IsActive to determine global keyboard focus.

Update sample applications for the new behavior.

In cefclient:
- Browser receives initial focus via ViewsWindow::RequestBrowserFocus.
- When running with `--show-overlay-browser` (see #3790):
  - Give initial focus to the overlay browser.
  - Change the overlay popout shortcut to CTRL+SHIFT+O to avoid
    assigning focus to the menu in the main window.
  - Switching from overlay in the main window to popout browser
    window will give focus to the popout browser.
  - Switching from popout browser to overlay will leave current focus
    unchanged (e.g. in the overlay browser, or somewhere else). User
    gesture to activate the main window may be required on Mac/Linux.
- When running with `--no-active` don't give initial focus to either
  browser.

In cefsimple:
- Browser receives initial focus via default handling.
2024-11-06 13:20:02 -05:00
..
mac Update to Chromium version 129.0.6668.0 2024-08-26 12:44:25 +00:00
win bazel: Add initial config for binary distribution (see #3757) 2024-07-28 18:19:47 +00:00
CMakeLists.txt.in bazel: Add initial config for binary distribution (see #3757) 2024-07-28 18:19:47 +00:00
cefsimple_linux.cc Delete Alloy bootstrap (fixes #3685) 2024-07-01 12:32:14 -04:00
cefsimple_mac.mm Delete Alloy bootstrap (fixes #3685) 2024-07-01 12:32:14 -04:00
cefsimple_win.cc Delete Alloy bootstrap (fixes #3685) 2024-07-01 12:32:14 -04:00
process_helper_mac.cc Update source files for bracket style 2023-01-04 17:47:17 -05:00
resource.h chrome: win: Fix app icon for default Chrome windows (fixes #3606) 2023-11-20 19:35:09 -05:00
simple_app.cc views: Fix Chrome style browser RequestFocus behavior (fixes #3819) 2024-11-06 13:20:02 -05:00
simple_app.h Replace OVERRIDE with override (see issue #3140) 2021-06-17 16:16:53 -04:00
simple_handler.cc chrome: Add support for Alloy style browsers and windows (see #3681) 2024-04-22 14:57:37 -04:00
simple_handler.h Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
simple_handler_linux.cc Update source files for bracket style 2023-01-04 17:47:17 -05:00
simple_handler_mac.mm views: mac: Add CEF_SHOW_STATE_HIDDEN (fixes #3630) 2024-01-30 12:16:03 -05:00
simple_handler_win.cc Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00