cef/libcef/browser/chrome/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
..
browser_platform_delegate_chrome_child_window.cc Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
browser_platform_delegate_chrome_child_window.h Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
browser_platform_delegate_chrome_views.cc views: Fix Chrome style browser RequestFocus behavior (fixes #3819) 2024-11-06 13:20:02 -05:00
browser_platform_delegate_chrome_views.h views: Fix Chrome style browser RequestFocus behavior (fixes #3819) 2024-11-06 13:20:02 -05:00
chrome_browser_frame.cc Fix dangling raw_ptr errors and related issues (see #3239) 2024-05-21 12:56:47 -04:00
chrome_browser_frame.h Delete Alloy bootstrap (fixes #3685) 2024-07-01 12:32:14 -04:00
chrome_browser_view.cc views: Fix dangling raw_ptr on CefToolbarViewView destruction 2024-10-15 17:53:39 -04:00
chrome_browser_view.h views: Fix dangling raw_ptr on CefToolbarViewView destruction 2024-10-15 17:53:39 -04:00
chrome_child_window.cc Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
chrome_child_window.h Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
chrome_views_util.cc Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
chrome_views_util.h views: Add support for absolute positioned overlay views. 2021-09-16 18:25:43 +03:00
toolbar_view_impl.cc Fix dangling raw_ptr errors and related issues (see #3239) 2024-05-21 12:56:47 -04:00
toolbar_view_impl.h Fix dangling raw_ptr errors and related issues (see #3239) 2024-05-21 12:56:47 -04:00
toolbar_view_view.cc Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
toolbar_view_view.h Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00