commit | 409912607e0151617d997dfbcab15693f1595ccb | [log] [tgz] |
---|---|---|
author | Mitsuru Oshima <[email protected]> | Mon Sep 08 06:27:29 2025 |
committer | Chromium LUCI CQ <[email protected]> | Mon Sep 08 06:27:29 2025 |
tree | 714dba68e87289a8ec28e02437e27e4dd8f1eec4 | |
parent | 890d0f2763f7d6ff2f6c271630bb8eebecbf3c98 [diff] |
Replace CreateTestWindowWithDelegateAndType with CreateTestWindow under //ash This CL remove use of the deprecated CreateTestWindowWithDelegateAndType function and replaces all its callsites with the modern CreateTestWindow function, which uses a WindowBuilderParams struct. This CL also simplifies the gfx::Rect assignments in two ways: 1) The origin of gfx::Rect is (0,0) when omitted, so they can just be written in gfx::Rect(width, height). 2) The value can be directly given to .bounds like .bounds{x, y, width, height}. (generated by gemini-cli) BUG=434082728 Change-Id: I1dded57c4682d58f083ffe6f5df53e100c5b54f9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6912267 Commit-Queue: Mitsuru Oshima <[email protected]> Reviewed-by: Di Wu <[email protected]> Cr-Commit-Position: refs/heads/main@{#1512241}
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.