4a6dca0f1efd35de16d38e9afac515d962a9e35e

Currently UiElementContainerView does not auto scroll when the focus in the AssistantCardElementView changes, e.g. during Tab traversing. This patch surfaces the OnFocusChangedInPage event from WebContentsImpl to NavigableContentsObserver, so that the UiElementContainerView can do scroll accordinglly. In this patch, if the bounds of the focused node is clipped by the container, it will scroll the node to the center of the container. Bug: 966806 Test: manual Change-Id: I974db35731b85fdcb957d9898ae921a12dbd7607 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1885253 Commit-Queue: Tao Wu <wutao@chromium.org> Reviewed-by: Camille Lamy <clamy@chromium.org> Reviewed-by: Xiaohui Chen <xiaohuic@chromium.org> Reviewed-by: Ken Rockot <rockot@google.com> Reviewed-by: Sam McNally <sammc@chromium.org> Reviewed-by: Xiyuan Xia <xiyuan@chromium.org> Cr-Commit-Position: refs/heads/master@{#713180}
…
Chromium
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
Description
Chromium是一个开源浏览器项目,提供了一种安全、快速、稳定的方法来体验Web。该浏览器可以在多个平台上下载,包括Mac、Windows、Linux和ChromiumOS。项目原始地址: https://chromium.googlesource.com/chromium/src.git
https://www.mobibrw.com/gitea-mirrors/chromium/src.git
Languages
C++
74.4%
Java
8.2%
Objective-C++
4.6%
TypeScript
4%
Python
2.5%
Other
6.1%