cef/libcef_dll/ctocpp/views
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
..
box_layout_ctocpp.cc Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
box_layout_ctocpp.h Update copyright year for generated files 2024-01-05 13:03:36 -05:00
browser_view_ctocpp.cc views: Fix Chrome style browser RequestFocus behavior (fixes #3819) 2024-11-06 13:20:02 -05:00
browser_view_ctocpp.h views: Fix Chrome style browser RequestFocus behavior (fixes #3819) 2024-11-06 13:20:02 -05:00
browser_view_delegate_ctocpp.cc Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
browser_view_delegate_ctocpp.h chrome: Add support for Alloy style browsers and windows (see #3681) 2024-04-22 14:57:37 -04:00
button_ctocpp.cc views: Fix Chrome style browser RequestFocus behavior (fixes #3819) 2024-11-06 13:20:02 -05:00
button_ctocpp.h views: Fix Chrome style browser RequestFocus behavior (fixes #3819) 2024-11-06 13:20:02 -05:00
button_delegate_ctocpp.cc Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
button_delegate_ctocpp.h views: Use default theme background color for all controls (see #3671) 2024-03-28 11:35:37 -04:00
display_ctocpp.cc Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
display_ctocpp.h Update copyright year for generated files 2024-01-05 13:03:36 -05:00
fill_layout_ctocpp.cc Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
fill_layout_ctocpp.h Update copyright year for generated files 2024-01-05 13:03:36 -05:00
label_button_ctocpp.cc views: Fix Chrome style browser RequestFocus behavior (fixes #3819) 2024-11-06 13:20:02 -05:00
label_button_ctocpp.h views: Fix Chrome style browser RequestFocus behavior (fixes #3819) 2024-11-06 13:20:02 -05:00
layout_ctocpp.cc Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
layout_ctocpp.h Update copyright year for generated files 2024-01-05 13:03:36 -05:00
menu_button_ctocpp.cc views: Fix Chrome style browser RequestFocus behavior (fixes #3819) 2024-11-06 13:20:02 -05:00
menu_button_ctocpp.h views: Fix Chrome style browser RequestFocus behavior (fixes #3819) 2024-11-06 13:20:02 -05:00
menu_button_delegate_ctocpp.cc Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
menu_button_delegate_ctocpp.h views: Use default theme background color for all controls (see #3671) 2024-03-28 11:35:37 -04:00
menu_button_pressed_lock_ctocpp.cc Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
menu_button_pressed_lock_ctocpp.h Update copyright year for generated files 2024-01-05 13:03:36 -05:00
overlay_controller_ctocpp.cc Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
overlay_controller_ctocpp.h Update copyright year for generated files 2024-01-05 13:03:36 -05:00
panel_ctocpp.cc views: Fix Chrome style browser RequestFocus behavior (fixes #3819) 2024-11-06 13:20:02 -05:00
panel_ctocpp.h views: Fix Chrome style browser RequestFocus behavior (fixes #3819) 2024-11-06 13:20:02 -05:00
panel_delegate_ctocpp.cc Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
panel_delegate_ctocpp.h views: Use default theme background color for all controls (see #3671) 2024-03-28 11:35:37 -04:00
scroll_view_ctocpp.cc views: Fix Chrome style browser RequestFocus behavior (fixes #3819) 2024-11-06 13:20:02 -05:00
scroll_view_ctocpp.h views: Fix Chrome style browser RequestFocus behavior (fixes #3819) 2024-11-06 13:20:02 -05:00
textfield_ctocpp.cc views: Fix Chrome style browser RequestFocus behavior (fixes #3819) 2024-11-06 13:20:02 -05:00
textfield_ctocpp.h views: Fix Chrome style browser RequestFocus behavior (fixes #3819) 2024-11-06 13:20:02 -05:00
textfield_delegate_ctocpp.cc Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
textfield_delegate_ctocpp.h views: Use default theme background color for all controls (see #3671) 2024-03-28 11:35:37 -04:00
view_ctocpp.cc views: Fix Chrome style browser RequestFocus behavior (fixes #3819) 2024-11-06 13:20:02 -05:00
view_ctocpp.h views: Fix Chrome style browser RequestFocus behavior (fixes #3819) 2024-11-06 13:20:02 -05:00
view_delegate_ctocpp.cc Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
view_delegate_ctocpp.h views: Use default theme background color for all controls (see #3671) 2024-03-28 11:35:37 -04:00
window_ctocpp.cc views: Fix Chrome style browser RequestFocus behavior (fixes #3819) 2024-11-06 13:20:02 -05:00
window_ctocpp.h views: Fix Chrome style browser RequestFocus behavior (fixes #3819) 2024-11-06 13:20:02 -05:00
window_delegate_ctocpp.cc Update to Chromium version 130.0.6723.0 (#1356013) 2024-09-27 14:15:44 +00:00
window_delegate_ctocpp.h linux: Add CefWindowDelegate::GetLinuxWindowProperties (fixes #3383) 2024-08-05 12:36:28 -04:00