-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Gardener] Revert "Correct and efficient handling of SolidColorScroll…
…barLayer color change" This reverts commit 16692da. Reason for revert: Change is causing the following tests to fail: - ScrollbarDisplayItemTest.HorizontalSolidColorScrollbar - ScrollbarDisplayItemTest.VerticalSolidColorScrollbar Example build: https://ci.chromium.org/ui/p/chromium/builders/ci/Linux%20ChromiumOS%20MSan%20Tests/39242/overview Original change's description: > Correct and efficient handling of SolidColorScrollbarLayer color change > > - Now a SolidColorScrollbarLayer can change color without recreating > the scrollbar, which reduces cost. > - When color changes, ensure SolidColorScrollbarLayer::SetColor() is > called. > > Also remove LayerTreeSettings::solid_color_scrollbar_color. It was for > the default color of the composited solid color scrollbars, and was > duplicate with the default color for non-composited solid color > scrollbars. Now let blink::ScrollbarThemeOverlayMobile manage the > default color for both overlay and non-overlay scrollbars. > > Also move the WebView scrollbar hiding logic into > SolidColorScrollbarLayer::SetColor(), which make it easy to apply the > logic to the root scrollbars only. > > Bug: 1490799 > Change-Id: Ifd2118268b8bc6cb6b789045d800582a695c6616 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4968601 > Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org> > Reviewed-by: Vladimir Levin <vmpstr@chromium.org> > Cr-Commit-Position: refs/heads/main@{#1216214} Bug: 1490799 Change-Id: I53b16557775df3826153be848981e5f8336cba14 No-Presubmit: true No-Tree-Checks: true No-Try: true Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4985662 Reviewed-by: Xianzhu Wang <wangxianzhu@chromium.org> Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org> Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Cr-Commit-Position: refs/heads/main@{#1216397}
- Loading branch information
1 parent
f8479c5
commit 716a958
Showing
26 changed files
with
137 additions
and
200 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.