0
Commit Graph

1553755 Commits

Author SHA1 Message Date
c4feac8c23 [Ash] Clean up dead imports in crosapi.mojom
Bug: 354710097
Test: tryjob
Change-Id: I85f4b5e91a9b93d7a04e04bc61a349b161694557
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6349720
Reviewed-by: Stefan Kuhne <skuhne@chromium.org>
Commit-Queue: Di Wu <diwux@google.com>
Cr-Commit-Position: refs/heads/main@{#1432464}
2025-03-13 17:19:49 -07:00
60269f65f0 Fix inconsistency with CSS system colors Field and FieldText
This CL addresses an issue with CSS system colors where the values of
`Field` and `FieldText` were shared with `Canvas` and `CanvasText`
respectively. This occurred after switching to retrieve system colors
from color providers instead of the NativeTheme in Blink
(http://crrev.com/c/5322440).

Previously, for Windows, `Field` and `FieldText` were retrieved using
the NativeTheme in light mode and forced colors mode, sharing the same
colors as `Canvas` and `CanvasText`. However, for Dark mode on Windows
and non-forced colors scenarios for other OSs, we used
`LayoutTheme::DefaultSystemColor()`, which treated these colors
separately.

To fix this discrepancy, new color ids have been added to the color
pipeline for these system colors, allowing them to share the same colors
when appropriate and have distinct colors when necessary.

Bug: 400746852
Change-Id: I47f7c8dd56bbd66bdde04c70847a5274cc431cec
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6349557
Reviewed-by: Alison Maher <almaher@microsoft.com>
Reviewed-by: Kentaro Hara <haraken@chromium.org>
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Commit-Queue: Sam Davis Omekara <samomekarajr@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#1432463}
2025-03-13 17:18:07 -07:00
1d31234adb Chromium Task Manager - TableView Accessibility(part 4)
This CL format the ICU syntax of the IDS string for table rows. Also use
ListFormatter to format the header name and the task name for task
group.

With this change. The AX name for table header for macOS would be, col1,
col2, col3 and col4 the row name for task group would be . col1, col2,
col3 and col4. Another task in the same task group: taskA col1, col2,
col3 and col4. Other 3 tasks in the same task group: taskA, taskB and
taskC

Screenshot demo:
header -
https://screenshot.googleplex.com/8sLV9Xvp4ptUZvn

task group -
https://screenshot.googleplex.com/5wNACdTACp2oCgo
https://screenshot.googleplex.com/84ojrjUy3Ytesqm

Bug: 396213873
Change-Id: I9415379a18670f97e11ef5ae42302546c2707a64
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6334691
Reviewed-by: Peter Kasting <pkasting@chromium.org>
Reviewed-by: Michael Wojcicka <mwoj@google.com>
Commit-Queue: Zhengzheng Liu <zhzhliu@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1432462}
2025-03-13 17:16:18 -07:00
6445fbe646 Roll Chrome Android ARM64 PGO Profile
Roll Chrome Android ARM64 PGO profile from chrome-android64-main-1741902910-a905b223d5d2b4def04cd1b29e95891499e98926-7678bc3da7a93f7376e2d7cc54ff24f099fcc39d.profdata to chrome-android64-main-1741905760-d9567531e3b89fb9b24d8e14d16ee9f77dedd92d-4ba42276f6880e6152e7c5989dfec77352f311a1.profdata

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/pgo-android-arm64-chromium
Please CC chrome-brapp-engprod@google.com,pgo-profile-sheriffs@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Chromium main branch: https://bugs.chromium.org/p/chromium/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Tbr: pgo-profile-sheriffs@google.com
Merge-Approval-Bypass: Chrome autoroller
Change-Id: I126460f8aa5dcb88066bc0aa40786114dbaf9527
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6354241
Commit-Queue: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#1432461}
2025-03-13 17:15:12 -07:00
a80abbd9a8 Add safe static position edges
Add `safe_inline_edge` and `safe_block_edge` to LogicalStaticPosition
and `safe_horizontal_edge` and `safe_vertical_edge` to
PhysicalStaticPosition to track the edge if overflow alignment is set
to 'safe' [1].

A future change will propagate the correct values up when OOFs are
added to the tree, converting them as they are propagated.

These edges will be used in OOF layout to properly handle safe
overflow alignment when an OOF is statically positioned.

[1] https://drafts.csswg.org/css-align/#valdef-overflow-position-safe

Bug: 40206357
Change-Id: I54d3c53a68e970e41cba6815e803fc60f5802669
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6345454
Commit-Queue: Alison Maher <almaher@microsoft.com>
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1432460}
2025-03-13 17:13:55 -07:00
7e55cffece [ios] Eliminate some JSONStringValue[De]Serializer usages
Eliminate some JSONStringValue[De]Serializer
usages in the //ios directory and replace them
with slightly more concise equivalents.

Along with some other changes that may be
necessary.

Bug: 40912727,40258809
Change-Id: I80e3c51a08eddb04f9a1c62b6dc30fa18da99757
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6348000
Reviewed-by: Sylvain Defresne <sdefresne@chromium.org>
Commit-Queue: Ho Cheung <hocheung@chromium.org>
Reviewed-by: Andrew Paseltiner <apaseltiner@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1432459}
2025-03-13 17:11:16 -07:00
79fb70e71e gardener: disable some yuv web tests
Bug: 391006701
Change-Id: I2fbe71e1d9621ed433d2711fef96b64ea6bbcd94
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6354342
Commit-Queue: Elly FJ <ellyjones@chromium.org>
Reviewed-by: Darryl James <dljames@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1432458}
2025-03-13 17:04:10 -07:00
f471a04ac7 [A11yPerformance][a11y] Add AXBlockFlowIterator for AXITB generation
Implement the AXBlockFlowIterator algorithm as an
    alternative method for generating
    AXInlineTextBoxes. The output produced matches the
    current algorithm exactly, as confirmed by a
    successful CQ run. This new algorithm is activated
    via a feature flag to facilitate performance
    studies.


Change-Id: I0cc29963e9c02828a058eb8f42b45213caf09a86
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6283522
Reviewed-by: Kevin Ellis <kevers@chromium.org>
Commit-Queue: Lucas Radaelli <lucasradaelli@google.com>
Cr-Commit-Position: refs/heads/main@{#1432457}
2025-03-13 17:00:57 -07:00
3bd4e1df69 [Cast Streaming] Add MediaVideoEncoder fieldtrial config
This patch adds a fieldtrial testing configuration for the
CastStreamingMediaVideoEncoder experiment.

Bug: 282984511
Change-Id: I18ecefcf3cecf89ba90f4de88801a567d2861d8b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6354280
Commit-Queue: Jordan Bayles <jophba@chromium.org>
Reviewed-by: Ben Pastene <bpastene@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1432456}
2025-03-13 16:57:49 -07:00
b2a84ed9d9 Add SetMinimumWidgetSize to Glic API
This will be used to enforce the minimum size on the glic widget for manual resizing.

Bug: 400522982
Change-Id: Ibc90a13f7cb55f479491837047d286b64632e105
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6352391
Reviewed-by: Alex Gough <ajgo@chromium.org>
Commit-Queue: Sana Akbani <sanaakbani@google.com>
Reviewed-by: Dan Harrington <harringtond@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1432455}
2025-03-13 16:55:22 -07:00
1328599438 Disable Page Visibility model on Arm32
Bug: 402179603
Change-Id: Iefb4e78c6f90c32d57bb4438b2d31f192ca20fe8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6355152
Commit-Queue: Robert Ogden <robertogden@chromium.org>
Reviewed-by: Sophie Chang <sophiechang@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1432454}
2025-03-13 16:53:06 -07:00
83e9c46b03 Fix BUILD.gn deps for chrome/browser/apps/browser_instance.
A recent refactoring of ExtensionService means this target is no longer
dependent on //chrome/browser/extensions. However, it was getting one of
its dependencies transitively from there.

This CL removes the unneeded dependency and adds the missing one. This
helps break up cyclical dependencies between this target and some
extension API targets.

Bug: 40593486
Change-Id: I4b64ae3f20f59d1091ab5b128d775e92d558f2ad
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6354180
Commit-Queue: Theresa Sullivan <twellington@chromium.org>
Auto-Submit: David Bertoni <dbertoni@chromium.org>
Reviewed-by: Theresa Sullivan <twellington@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1432453}
2025-03-13 16:52:32 -07:00
3ec6a0d09e [FedCM] Refactor title updates to correctly update in multi IDP
Currently, the title is not updated correctly for multi IDP. We fix this
by computing whether multiple IDPs are being shown in updateSheet() and
by setting the idp for display and icon in showAccountsInternal()
instead of showAccounts() since the former is the one which is invoked
when the back button is pressed.

Demo: https://issues.chromium.org/issues/392142580#comment16

Bug: 392142580
Change-Id: I3b07e023007e85f78b8b32a3a0b5eece8fe1b4c4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6352821
Commit-Queue: Nicolás Peña <npm@chromium.org>
Reviewed-by: Zachary Tan <tanzachary@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1432452}
2025-03-13 16:48:54 -07:00
120df5aaa9 Update TestExpectations with bugs filed for crrev.com/c/6353623
R=rubber-stamper@appspot.gserviceaccount.com

Bug: 403340566, 403358035, 403364345
Change-Id: I497e076aae08100433096d63f72aa2fbdb389a6e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6353962
Commit-Queue: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Auto-Submit: WPT Autoroller <wpt-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#1432451}
2025-03-13 16:48:09 -07:00
6429e7f0bd Fix bug where notifyPanelWillOpen is called too many times
The problem fixed here is that we try to call notifyPanelWillOpen
synthetically when chrome://glic is opened from a tab. This check
wasn't done correctly.

Bug: 402286424
Change-Id: I2593e19dbdf3fd805d3f5f222b34e7dde17641fd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6354728
Reviewed-by: Nick Birnie <birnie@google.com>
Commit-Queue: Dan Harrington <harringtond@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1432450}
2025-03-13 16:45:48 -07:00
84e05386c3 Update estade@chromium.org to new/active account
Most OWNERS entries are updated from estade@chromium.org to
evanstade@microsoft.com. These accounts are both owned by the same
human.  Committer affiliations are also updated in Blink (although
evanstade@microsoft.com is expected to be the only active account
going forward).

Change-Id: If047d2df9fb7d2b352ac6ce74017949331aa5c01
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6348619
Owners-Override: Rick Byers <rbyers@chromium.org>
Reviewed-by: Rick Byers <rbyers@chromium.org>
Commit-Queue: Evan Stade <evanstade@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#1432449}
2025-03-13 16:42:46 -07:00
69272128ec Suppress some nullaway warning
Objects.requireNonNullElse() will throw an exception is both
param is null

Change-Id: I312c1c3a1e39c3d0495ef3b51f01e2a2c5f62ea1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6354807
Commit-Queue: Min Qin <qinmin@chromium.org>
Reviewed-by: Siddhartha S <ssid@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1432448}
2025-03-13 16:41:41 -07:00
27033b5f80 Adding glic actions.
This CL provides an API to act from glic. The API accepts a proto as
bytes and a page context get options. This is not fully implemented.

Change-Id: Iedb8750e6e80b1ca50a9c8a1209f75e61ca47b61
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6334753
Reviewed-by: Dan Harrington <harringtond@chromium.org>
Reviewed-by: Carlos Knippschild <carlosk@chromium.org>
Commit-Queue: Ryan Sturm <ryansturm@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1432447}
2025-03-13 16:41:25 -07:00
f12a066493 Add presubmit for not using CreateBrowserWithTestWindowForParams.
This is a natural extension of not using BrowserWithTestWindowTest and
TestWithBrowserView.

Bug: 384547121
Change-Id: I5cbec94e88bd9aa07cdec08fd42e96fae5c563e0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6355343
Commit-Queue: Erik Chen <erikchen@chromium.org>
Reviewed-by: Eshwar Stalin <estalin@chromium.org>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1432446}
2025-03-13 16:30:34 -07:00
226b102bb3 Change Toast API to accept a full string
This CL changes the Toast Params API to accept a full string
as an alternative to providing string resource ID and replacement
strings.

Bug: 403139390
Change-Id: I3004c80241a5820edd4738d886ec63778ff61e0d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6349928
Reviewed-by: Alison Gale <agale@chromium.org>
Commit-Queue: Shakti Sahu <shaktisahu@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1432445}
2025-03-13 16:28:55 -07:00
d62255a968 scanner: Fix actions not appearing on first run of Sunfish-session
It is possible for `ScannerController::CanShowUi` to be true, and
therefore allowing Sunfish-capture-sessions to be started, while
`ScannerController::CanStartSession` is false. This is specifically when
the user has not consented to the feature yet.

If this is the case when a Sunfish-session is started, and the user
accepts consent during the session, actions will not appear despite
`ScannerController::CanStartSession` now being true - as a Scanner
session is only started on Sunfish-capture-session start.

Fix this by moving the Scanner session start from
Sunfish-capture-session start to once the consent disclaimer has been
accepted, which is instant if the consent disclaimer has already been
accepted.

Fixed: b:401980665
Change-Id: I6a6a2100a1e635054dc632129df8383f797132dc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6338426
Commit-Queue: Michael Cui <mlcui@google.com>
Auto-Submit: Michael Cui <mlcui@google.com>
Reviewed-by: Sammie Quon <sammiequon@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1432444}
2025-03-13 16:27:16 -07:00
6f74b3a96f Roll Chrome Android ARM64 PGO Profile
Roll Chrome Android ARM64 PGO profile from chrome-android64-main-1741899638-387271011217a58546262f85037245cd38af376c-127155aedda439315146f92009433c39f2e7c5f1.profdata to chrome-android64-main-1741902910-a905b223d5d2b4def04cd1b29e95891499e98926-7678bc3da7a93f7376e2d7cc54ff24f099fcc39d.profdata

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/pgo-android-arm64-chromium
Please CC chrome-brapp-engprod@google.com,pgo-profile-sheriffs@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Chromium main branch: https://bugs.chromium.org/p/chromium/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Tbr: pgo-profile-sheriffs@google.com
Merge-Approval-Bypass: Chrome autoroller
Change-Id: Ibeb0004239f298cc1714ded20bff23e8a05a1fff
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6355150
Commit-Queue: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#1432443}
2025-03-13 16:26:49 -07:00
dd05153cb3 [cookies] add a UMA for isPersistent bit
Let's track the distribution here.

Bug: 40285083
Change-Id: I2308419c3394d0271ba7a2c28f90af6299f39519
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6353699
Auto-Submit: Ari Chivukula <arichiv@chromium.org>
Reviewed-by: Steven Bingler <bingler@chromium.org>
Commit-Queue: Ari Chivukula <arichiv@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1432442}
2025-03-13 16:25:33 -07:00
27d1314556 Roll src/third_party/crabbyavif/src/ e8b91a8b8..02d0fad2c (7 commits)
e8b91a8b85..02d0fad2c5

$ git log e8b91a8b8..02d0fad2c --date=short --no-merges --format='%ad %ae %s'
2025-03-13 vigneshv decode: Fix alpha premultiplied
2025-03-13 vigneshv decode: Add option to ignore xmp and exif
2025-03-12 vigneshv aom: Add aom-sys crate
2025-03-12 vigneshv Move Fraction structs out of internal_utils
2025-03-11 vigneshv Move some structs out of the decoder module
2025-03-10 maryla Handle animation with audio track.
2025-03-06 maryla Check the auxiliary track type. Previously, all auxiliary tracks were treated as being alpha regardless of their type. Assume alpha if no type is present.

Created with:
  roll-dep src/third_party/crabbyavif/src

R=jzern@google.com

Bug: 402547568
Change-Id: Ic7fc72a3efe363d6463b0c610a1a4ebc3cc787cb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6352898
Auto-Submit: Vignesh Venkat <vigneshv@google.com>
Commit-Queue: James Zern <jzern@google.com>
Reviewed-by: James Zern <jzern@google.com>
Cr-Commit-Position: refs/heads/main@{#1432441}
2025-03-13 16:24:48 -07:00
532df60a59 gardener channels: expect -canary suffix for linux canary
Fixed: 403211355
Change-Id: I698f3c2a6b31692de6af47cfcc39d1213a54a311
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6355043
Auto-Submit: Elly FJ <ellyjones@chromium.org>
Reviewed-by: Thomas Anderson <thomasanderson@chromium.org>
Commit-Queue: Elly FJ <ellyjones@chromium.org>
Owners-Override: Elly FJ <ellyjones@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1432440}
2025-03-13 16:23:57 -07:00
a528d3bac4 sunfish: Update search results panel title.
Update panel title according to strings doc, mark it as translateable,
and set it as the panel window's title.

Bug: b:401570359
Change-Id: I23d95594f27bb167d68504515b6a4288d852b856
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6347738
Commit-Queue: Michelle Chen <michellegc@google.com>
Reviewed-by: Ahmed Fakhry <afakhry@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1432439}
2025-03-13 16:23:41 -07:00
de178865bc lobster: restrict in tablet mode
This CL adds a logic to ensure lobster isn't shown in tablet mode.

Bug: b:399513104
Change-Id: I7752dfa2fd7c35ac2a50f918296f1c7365b12170
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6347140
Reviewed-by: Sam McNally <sammc@chromium.org>
Reviewed-by: Grey Wang <greywang@google.com>
Commit-Queue: Chuong Ho <hdchuong@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1432438}
2025-03-13 16:22:47 -07:00
9713164f0d Update criteria when to apply bottom sheet color to nav bar
Change when bottom sheet is considered as a bottom attached UI based
on whether it is anchored on top of the browser controls.

e2e everywhere:
https://screenshot.googleplex.com/8n6W4BrXZkQGpWk
https://screenshot.googleplex.com/8j36DnKex5vC9CJ

bottom chin:
https://screenshot.googleplex.com/BUGbnH2DMep92Fc
https://screenshot.googleplex.com/5Vnigw7wn9iMRPe

Bug: 399333826
Change-Id: I35c05f53e22ad603affad09697ba91cf1dec0151
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6336781
Reviewed-by: Patrick Noland <pnoland@chromium.org>
Reviewed-by: Charles Hager <clhager@google.com>
Commit-Queue: Wenyu Fu <wenyufu@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1432437}
2025-03-13 16:21:53 -07:00
74694f4564 Roll quote: 1.0.39 => 1.0.40 in //third_party/rust.
This CL has been created semi-automatically.  The expected review
process and other details can be found at
//tools/crates/create_update_cl.md

Updated crates:

* quote: 1.0.39 => 1.0.40

Chromium `supply-chain/config.toml` policy requires that the following
audit criteria are met (note that these are the *minimum* required
criteria and `supply-chain/audits.toml` can and should record a stricter
certification if possible;  see also //docs/rust-unsafe.md):

* quote@1.0.40: crypto-safe, safe-to-deploy, ub-risk-2

Bug: None
Change-Id: Iab0eef40f8c3fda1630d978dfe88f3b6cd8373ca
Cq-Include-Trybots: chromium/try:android-rust-arm32-rel
Cq-Include-Trybots: chromium/try:android-rust-arm64-dbg
Cq-Include-Trybots: chromium/try:android-rust-arm64-rel
Cq-Include-Trybots: chromium/try:linux-rust-x64-dbg
Cq-Include-Trybots: chromium/try:linux-rust-x64-rel
Cq-Include-Trybots: chromium/try:win-rust-x64-dbg
Cq-Include-Trybots: chromium/try:win-rust-x64-rel
Disable-Rts: True
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6352976
Commit-Queue: Łukasz Anforowicz <lukasza@chromium.org>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1432436}
2025-03-13 16:16:36 -07:00
b717747fa4 Roll libc: 0.2.170 => 0.2.171 in //third_party/rust.
This CL has been created semi-automatically.  The expected review
process and other details can be found at
//tools/crates/create_update_cl.md

Updated crates:

* libc: 0.2.170 => 0.2.171

Chromium `supply-chain/config.toml` policy requires that the following
audit criteria are met (note that these are the *minimum* required
criteria and `supply-chain/audits.toml` can and should record a stricter
certification if possible;  see also //docs/rust-unsafe.md):

* libc@0.2.171: crypto-safe, safe-to-deploy, ub-risk-2

Bug: None
Change-Id: Iddf9376714d16e3b33c4a67e11502026e48ca25a
Cq-Include-Trybots: chromium/try:android-rust-arm32-rel
Cq-Include-Trybots: chromium/try:android-rust-arm64-dbg
Cq-Include-Trybots: chromium/try:android-rust-arm64-rel
Cq-Include-Trybots: chromium/try:linux-rust-x64-dbg
Cq-Include-Trybots: chromium/try:linux-rust-x64-rel
Cq-Include-Trybots: chromium/try:win-rust-x64-dbg
Cq-Include-Trybots: chromium/try:win-rust-x64-rel
Disable-Rts: True
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6352956
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Commit-Queue: Łukasz Anforowicz <lukasza@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1432435}
2025-03-13 16:16:23 -07:00
5221933b52 sunfish: disable the feature when in pinned mode.
Bug: b:400993203
Change-Id: Id85cac4cdf433b7e5224a0bf17adb39d43201431
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6337094
Reviewed-by: Ahmed Fakhry <afakhry@chromium.org>
Commit-Queue: Xiaoqian Dai <xdai@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1432434}
2025-03-13 16:15:07 -07:00
20e081a4ec Roll src-internal from f32f462d3b2b to b3ab0cf19b96 (1 revision)
f32f462d3b..b3ab0cf19b

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://skia-autoroll.corp.goog/r/src-internal-chromium-autoroll
Please CC chrome-browser-infra-team,ellyjones@google.com on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Cq-Include-Trybots: luci.chrome.try:linux-chromeos-chrome
Bug: None
Tbr: ellyjones@google.com
Change-Id: Ic019663d32e96b51eb80ebeac19b66612fb14d2b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6353942
Commit-Queue: chromium-internal-autoroll <chromium-internal-autoroll@skia-corp.google.com.iam.gserviceaccount.com>
Bot-Commit: chromium-internal-autoroll <chromium-internal-autoroll@skia-corp.google.com.iam.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#1432433}
2025-03-13 16:11:39 -07:00
90969d7099 Settings: Remove incorrect import of lazy_load.js.
lazy_load.js should never be imported by anywhere other than
ensure_lazy_loaded.ts, as this defeats the purpose of the main/lazy
bundle splitting.

Bug: 40275778
Change-Id: If6b7f39329ab001f990408ac90f564b7894f9057
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6349499
Auto-Submit: Demetrios Papadopoulos <dpapad@chromium.org>
Commit-Queue: John Lee <johntlee@chromium.org>
Reviewed-by: John Lee <johntlee@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1432432}
2025-03-13 16:02:43 -07:00
8a149c6462 Rename classes with duplicate names.
These currently don't conflict because they're in anonymous namespaces.
In preparation for moving them out of those namespaces (so they can be
forward-declared elsewhere), give them unique names.

Bug: 403313552
Change-Id: I7fc3a9d659bf1f2d8991dfd022bcd8ff51c393dd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6354727
Commit-Queue: Peter Kasting <pkasting@chromium.org>
Auto-Submit: Peter Kasting <pkasting@chromium.org>
Reviewed-by: David Yeung <dayeung@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1432431}
2025-03-13 16:01:34 -07:00
220bbec552 Add Projection support for Webm Muxer
This CL allows the webm muxer to properly set rotation and horizontal
flipping on the VideoTrack. While the VideoParameters type will have a
VideoTransformation, actually writing the VideoTransformation into
VideoParameters will be done in a later CL as it involves adding
Transformation related methods to EncodedFrame and other classes.

Bug: 391786486
Change-Id: I50c69f363879569b0269e6d9c64dbdaa59241d9b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6309559
Reviewed-by: Dale Curtis <dalecurtis@chromium.org>
Reviewed-by: Thomas Guilbert <tguilbert@chromium.org>
Commit-Queue: Syed AbuTalib <lowkey@google.com>
Cr-Commit-Position: refs/heads/main@{#1432430}
2025-03-13 16:00:49 -07:00
669baea695 Prevent overflow of OpenXrRenderLoop::next_frame_id_
Bug: 403313554
Change-Id: I73ec438eab85051616cea37b6f4a5a4d4939be64
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6354764
Commit-Queue: Alexander Cooper <alcooper@chromium.org>
Auto-Submit: Alexander Cooper <alcooper@chromium.org>
Commit-Queue: Piotr Bialecki <bialpio@chromium.org>
Reviewed-by: Piotr Bialecki <bialpio@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1432429}
2025-03-13 15:58:09 -07:00
a62f1758ea Roll Chrome Win32 PGO Profile
Roll Chrome Win32 PGO profile from chrome-win32-main-1741867191-122d6e3f098335a50ddf88920bebf2af95aadbe1-407f3a036ee21e205185c9389d362661950ddb48.profdata to chrome-win32-main-1741888771-0de6a1f55d0201ab5bae8e1267b9ff1980bddb2c-df41ba52c70bd81114e7d9d632a6af8ebdcedffe.profdata

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/pgo-win32-chromium
Please CC chrome-brapp-engprod@google.com,pgo-profile-sheriffs@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Chromium main branch: https://bugs.chromium.org/p/chromium/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Cq-Include-Trybots: luci.chrome.try:win-chrome
Tbr: pgo-profile-sheriffs@google.com
Merge-Approval-Bypass: Chrome autoroller
Change-Id: Ib215dccb0333249362c895136e5527afb4ca9409
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6353142
Commit-Queue: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#1432428}
2025-03-13 15:56:12 -07:00
e026384111 Roll Chrome Win64 PGO Profile
Roll Chrome Win64 PGO profile from chrome-win64-main-1741867191-ea58d464a2d3033281b1f81c024815f14cf403f3-407f3a036ee21e205185c9389d362661950ddb48.profdata to chrome-win64-main-1741877864-fda888e48992ed0fd0bf4c1418e04cf99db34d7d-33357bc0d141ac5e083fc8e62ffd4a2d65551a8b.profdata

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/pgo-win64-chromium
Please CC chrome-brapp-engprod@google.com,pgo-profile-sheriffs@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Chromium main branch: https://bugs.chromium.org/p/chromium/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Cq-Include-Trybots: luci.chrome.try:win64-chrome
Tbr: pgo-profile-sheriffs@google.com
Merge-Approval-Bypass: Chrome autoroller
Change-Id: Id85bf99e0999720872dd33d0a0891a6468efa208
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6353560
Commit-Queue: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#1432427}
2025-03-13 15:55:34 -07:00
3e2ce84c84 [PDF Ink Signatures] Fix stroke shift from crop box offset
If a page has an optional CropBox which has a different offset compared
to its required MediaBox, then this can impact the positioning for Ink
strokes applied to the page.

Update the transform generation used when applying Ink strokes into the
PDF page to account for any offset from the intersection of these two
boxes.

Fixed: 402043701
Change-Id: I4126dc52ddf3533580a94d2f186a46b043f0985b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6346007
Commit-Queue: Alan Screen <awscreen@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Reviewed-by: Andy Phan <andyphan@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1432426}
2025-03-13 15:53:29 -07:00
918bb8e03a Roll Chrome Mac Arm PGO Profile
Roll Chrome Mac Arm PGO profile from chrome-mac-arm-main-1741895960-6bc186be638c6d986e83575a0ea0766e7912438e-22eaa3855b063992170a9554fc9e50cfe36319a3.profdata to chrome-mac-arm-main-1741903170-bc239237617bc2276c914af4bb2f5afe97bda272-dc981656641d8331fb8f6cfd4e45a1b2ac3d74cc.profdata

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/pgo-mac-arm-chromium
Please CC chrome-brapp-engprod@google.com,pgo-profile-sheriffs@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Chromium main branch: https://bugs.chromium.org/p/chromium/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Cq-Include-Trybots: luci.chrome.try:mac-chrome
Tbr: pgo-profile-sheriffs@google.com
Merge-Approval-Bypass: Chrome autoroller
Change-Id: Ib776a1b87f055adc518d4e0acde9646daadc93fe
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6355149
Commit-Queue: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#1432425}
2025-03-13 15:47:09 -07:00
c67af2d624 Add Crossbench Speedometer 3.1 to support local file server.
Bug: 400828291
Change-Id: I78316ecf2a9b8845e04b196a96930591b0888c62
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6354806
Commit-Queue: Farid (Mojtaba) Faridzad <faridzad@google.com>
Reviewed-by: John Chen <johnchen@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1432424}
2025-03-13 15:46:00 -07:00
2d7f45b465 Roll FuzzTest from 75dc8d63f97a to 716629ca2e93 (1 revision)
75dc8d63f9..716629ca2e

2025-03-13 fniksic@google.com Add the workdir_root configuration option.

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/fuzztest-chromium
Please CC chrome-fuzzing-core@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Chromium: https://bugs.chromium.org/p/chromium/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Cq-Include-Trybots: luci.chromium.try:linux-centipede-asan-rel;luci.chromium.try:linux-libfuzzer-asan-rel;luci.chromium.try:win-libfuzzer-asan-rel
Bug: None
Tbr: chrome-fuzzing-core@google.com
Change-Id: I19e3639c500b6bc58075534951fa8513330b5005
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6354263
Commit-Queue: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#1432423}
2025-03-13 15:44:45 -07:00
d7bbfe0c1b Fix test failures in HotseatWidgetTest when Sunfish/Scanner is enabled
https://crrev.com/c/6297343 overrides the long press home button
shortcut when the Sunfish or Scanner features are enabled. Update the
hotseat widget tests to accommodate for this in preparation for enabling
Scanner by default.

Bug: b:391909810, b:397538442
Change-Id: I6a6a2100b1352fb1a5d7e4ff6530977bc5206909
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6347538
Commit-Queue: Michael Cui <mlcui@google.com>
Reviewed-by: Toni Barzic <tbarzic@google.com>
Cr-Commit-Position: refs/heads/main@{#1432422}
2025-03-13 15:44:35 -07:00
4ba42276f6 Modify tab strip shared image tiles size
Bug: 395725770
Change-Id: I8b26d6571d71f8b846e87c29ec7a0c0f7eefbc0d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6350080
Commit-Queue: Hailey Wang <haileywang@google.com>
Reviewed-by: Sky Malice <skym@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1432421}
2025-03-13 15:42:40 -07:00
4b726b369c [ios blink] Resign first responder on url entry
Close the keyboard when we follow a location from the url
entry field.

Change-Id: I084b58c3595a2d0a92e35f4629aa0e160fad4909
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6354324
Reviewed-by: Rohit Rao <rohitrao@chromium.org>
Commit-Queue: Dave Tapuska <dtapuska@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1432420}
2025-03-13 15:41:22 -07:00
bed531f641 Import wpt@e5b21a0312d0e7c703ff5235946ee00c058da910
b862ecfb3...e5b21a031

Using wpt-import in Chromium 4c3c637829.
With Chromium commits locally applied on WPT:
  9479ba47fb "Fix only-top-level-navigation-hsts-upgrade test's comment"

Note to gardeners: This CL imports external tests and adds expectations
for those tests; if this CL is large and causes a few new failures,
please fix the failures by adding new lines to TestExpectations rather
than reverting. See:
https://chromium.googlesource.com/chromium/src/+/main/docs/testing/web_platform_tests.md

NOAUTOREVERT=true
R=rubber-stamper@appspot.gserviceaccount.com

No-Export: true
Cq-Include-Trybots: luci.chromium.try:linux-blink-rel
Change-Id: I49335973cb4d36958f3aa14aab5466ddf7094967
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6353623
Auto-Submit: WPT Autoroller <wpt-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Commit-Queue: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#1432419}
2025-03-13 15:39:50 -07:00
c4f6865a2d webauthn: disable passkey upgrade feature flag by default
Temporarily disable kWebAuthnPasskeyUpgrade by default for a cherry-pick
to M135. Once the cherry pick is complete, this change will be reverted
on main (i.e., re-enabling the flag by default for M136).

Include-Ci-Only-Tests: chromium.mac:mac14-tests|browser_tests


Bug: 403343688
Change-Id: I3eeaa87d6b6713b940feb1b3e989a021f61babbf
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6354943
Commit-Queue: Nina Satragno <nsatragno@chromium.org>
Commit-Queue: Martin Kreichgauer <martinkr@google.com>
Auto-Submit: Martin Kreichgauer <martinkr@google.com>
Reviewed-by: Nina Satragno <nsatragno@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1432418}
2025-03-13 15:37:20 -07:00
b61bd3c18f Roll Chrome Android ARM64 PGO Profile
Roll Chrome Android ARM64 PGO profile from chrome-android64-main-1741894617-4f914f427c69c33ef474c39df922be34924026d9-4c3c637829fc63ed90d127264a2779ba85af1859.profdata to chrome-android64-main-1741899638-387271011217a58546262f85037245cd38af376c-127155aedda439315146f92009433c39f2e7c5f1.profdata

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/pgo-android-arm64-chromium
Please CC chrome-brapp-engprod@google.com,pgo-profile-sheriffs@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Chromium main branch: https://bugs.chromium.org/p/chromium/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Tbr: pgo-profile-sheriffs@google.com
Merge-Approval-Bypass: Chrome autoroller
Change-Id: I09e63183cc6dabb619bd137858fd02e8dc440e56
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6355103
Bot-Commit: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#1432417}
2025-03-13 15:36:41 -07:00
975b2e7928 [PDF Ink Signatures] Add test for stroke on cropped page
Ink strokes made on PDF pages which have a CropBox smaller than the
MediaBox are getting shifted.  Add a test that demonstrates this
behavior.

Bug: 402043701
Change-Id: I583767f4bf9ac09ebc8becd66c431faae3129659
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6346452
Reviewed-by: Andy Phan <andyphan@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: Alan Screen <awscreen@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1432416}
2025-03-13 15:31:57 -07:00
7eef2e1a76 Fix overflow icons not opening the correct menus
This fixes a bug where clicking on icons from the overflow menu did not
open the correct menu. This was because we were using the
`onTextStyleMenuButtonClick_` callback from the overflow menu, which
opened the index of the item based on the `textStyleOptions_` array, not
based on the `moreOptionsButtons_` array.

I added a test to replicate this scenario, and confirmed that it
previously failed and now succeeds.

Bug: 403292140
Change-Id: I5907362a6a5f508ca010a4dd24e877ca03d055f2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6351778
Reviewed-by: Xiang Xiao <xiangxiao@google.com>
Commit-Queue: Eitan Goldberger <eitang@google.com>
Cr-Commit-Position: refs/heads/main@{#1432415}
2025-03-13 15:31:44 -07:00