commit | 517d01f3666c7ddb347e04367275e315970f944f | [log] [tgz] |
---|---|---|
author | Kramer Ge <fangzhoug@chromium.org> | Wed May 01 21:45:45 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed May 01 21:45:45 2024 |
tree | cfbe4effbc19a39cc1f9fa1956442fd452bcc48c | |
parent | 6e766b8d7d5de0c965dd319615644b699f57875a [diff] |
Set kAnimationsDisabledKey according to DesktopWindowTreeHost On Init(), DesktopWindowTreeHostWin disables animation on TYPE_WINDOW that has standard frame, while DesktopWindowTreeHostPlatform disables animation on TYPE_WINDOW altogether. Difference of this logic explained by crrev.com/c/570670: "in X11, the animations are always handled by the window manager, whether there is a custom frame or not." Move setting kAnimationsDisabledKey during runtime to respective class and append the exclusion logic to prevent unintentional enablement of window animation. (cherry picked from commit b440964e1086d431d830cff54213904e05d5b4fe) Bug: 336785232 Change-Id: I3829813709a03fab015a34557a2c6cc97eb37295 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5497616 Reviewed-by: Scott Violet <sky@chromium.org> Commit-Queue: Kramer Ge <fangzhoug@chromium.org> Cr-Original-Commit-Position: refs/heads/main@{#1293811} Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5506074 Cr-Commit-Position: refs/branch-heads/6422@{#571} Cr-Branched-From: 9012208d0ce02e0cf0adb9b62558627c356f3278-refs/heads/main@{#1287751}
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.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.