cef/include/capi/views
Marshall Greenblatt b91be9fcc9 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-07 11:11:36 -05:00
..
cef_box_layout_capi.h Update copyright year for generated files 2024-01-05 13:03:36 -05:00
cef_browser_view_capi.h Delete Alloy bootstrap (fixes #3685) 2024-07-01 12:32:14 -04:00
cef_browser_view_delegate_capi.h Delete Alloy bootstrap (fixes #3685) 2024-07-01 12:32:14 -04:00
cef_button_capi.h Update copyright year for generated files 2024-01-05 13:03:36 -05:00
cef_button_delegate_capi.h Update copyright year for generated files 2024-01-05 13:03:36 -05:00
cef_display_capi.h Update copyright year for generated files 2024-01-05 13:03:36 -05:00
cef_fill_layout_capi.h Update copyright year for generated files 2024-01-05 13:03:36 -05:00
cef_label_button_capi.h capi: Update list comments in generated files 2024-01-05 15:04:12 -05:00
cef_layout_capi.h Update copyright year for generated files 2024-01-05 13:03:36 -05:00
cef_menu_button_capi.h Update copyright year for generated files 2024-01-05 13:03:36 -05:00
cef_menu_button_delegate_capi.h Update copyright year for generated files 2024-01-05 13:03:36 -05:00
cef_overlay_controller_capi.h Update copyright year for generated files 2024-01-05 13:03:36 -05:00
cef_panel_capi.h Update copyright year for generated files 2024-01-05 13:03:36 -05:00
cef_panel_delegate_capi.h Update copyright year for generated files 2024-01-05 13:03:36 -05:00
cef_scroll_view_capi.h Update copyright year for generated files 2024-01-05 13:03:36 -05:00
cef_textfield_capi.h capi: Update list comments in generated files 2024-01-05 15:04:12 -05:00
cef_textfield_delegate_capi.h capi: Update list comments in generated files 2024-01-05 15:04:12 -05:00
cef_view_capi.h views: Fix Chrome style browser RequestFocus behavior (fixes #3819) 2024-11-07 11:11:36 -05:00
cef_view_delegate_capi.h views: Add support for OS and Chrome themes (fixes #3610, fixes #3671) 2024-04-09 16:19:35 -04:00
cef_window_capi.h views: Fix Chrome style browser RequestFocus behavior (fixes #3819) 2024-11-07 11:11:36 -05:00
cef_window_delegate_capi.h linux: Add CefWindowDelegate::GetLinuxWindowProperties (fixes #3383) 2024-08-05 12:36:28 -04:00