0
Commit Graph

1253612 Commits

Author SHA1 Message Date
Austin Sullivan
00d34c8c94 Revert "Add memory alignment parameter to gpu::Buffer"
This reverts commit 2b034ff051.

Reason for revert: broke MSAN bots. See https://crbug.com/1434472

Original change's description:
> Add memory alignment parameter to gpu::Buffer
>
> Bug: 1426766
> Change-Id: I0902bf42975ca0a1bb967208fa51e42f4a74392e
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4377798
> Commit-Queue: Sergey Pashaev <bioh@yandex-team.ru>
> Reviewed-by: Xianzhu Wang <wangxianzhu@chromium.org>
> Cr-Commit-Position: refs/heads/main@{#1131990}

Bug: 1426766
Change-Id: I80d49b1f5712cd50e63f041feac79e9415349aad
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4443370
Reviewed-by: Meredith Lane <meredithl@chromium.org>
Auto-Submit: Austin Sullivan <asully@chromium.org>
Owners-Override: Austin Sullivan <asully@chromium.org>
Commit-Queue: Meredith Lane <meredithl@chromium.org>
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#1132321}
2023-04-19 04:40:11 +00:00
sisidovski
19258eb7cc [BestEffortServiceWorker] Fix restarting request hits DCHECK
This CL fixes a potential issue for RaceNetworkRequest for subresources.

There maybe the case that the fetch event originated from
ServiceWorkerSubresourceLoader is restarted when the controller is
dropped. In that case RaceNetworkRequest tries to dispatch again and
hits DCHECK, specifically
`DCHECK(!race_network_request_loader_client_);` in
`MaybeStartRaceNetworkRequest()`.

Rather than just removing DCHECKs, it would be simpler to disable
RaceNetworkRequest when the restart happens.

Also, this CL checks and sets `fetch_response_from` if the connection
close happened. By checking its value, we can avoid calling
CommitComplete multiple times.

We can revisit when we have to support the restart case.

Bug: 1420517
Change-Id: I5b1aeae1a65a4a8eaafb1303c1a24d204b3e3a9d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4417124
Code-Coverage: Findit <findit-for-me@appspot.gserviceaccount.com>
Commit-Queue: Shunya Shishido <sisidovski@chromium.org>
Reviewed-by: Yoshisato Yanagisawa <yyanagisawa@chromium.org>
Reviewed-by: Minoru Chikamune <chikamune@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1132320}
2023-04-19 04:31:28 +00:00
chromium-internal-autoroll
eb6c8d2dd2 Roll clank/internal/apps from 7c980170b6cd to 89e99fbe9544 (1 revision)
7c980170b6..89e99fbe95

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://skia-autoroll.corp.goog/r/clank-apps-chromium-autoroll
Please CC chrome-brapp-engprod@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://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

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

Bug: None
Tbr: 
No-Try: true
Change-Id: I02e3b97198cc4c32c9f359a908711e2c6b21bba8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4444399
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@{#1132319}
2023-04-19 04:30:50 +00:00
Zengfeng Ye
071de0c097 [iOS] Make CWVNavigationDelegate method to decide policy asynchronous
- Original delegate method `webView:shouldStartLoadWithRequest:` was
added before the asynchronous policy handling was supported. Since
policy decision can be decided asynchronously now, these two delegate
methods can also be converted to asynchronous methods.

- Align decide policy methods of CWVNavigationDelegate to
WKNavigationDelegate.

Bug: 1431768
Change-Id: I39f31fb319867e5e89053f20dcb6f23afa4a7f8c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4405654
Reviewed-by: John Wu <jzw@chromium.org>
Commit-Queue: Zengfeng Ye <zenye@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#1132318}
2023-04-19 04:18:31 +00:00
chromium-autoroll
c4e7db386f Roll Arm AFDO from 114.0.5715.0_rc-r1-merged to 114.0.5715.0_rc-r2-merged
This CL may cause a small binary size increase, roughly proportional
to how long it's been since our last AFDO profile roll. For larger
increases (around or exceeding 100KB), please file go/crostc-bug.

Please note that, despite rolling to chrome/android, this profile is
used for both Linux and Android.

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

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

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

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

Tbr: c-compiler-chrome@google.com
Change-Id: Idb450a3fa8bd8670386eeb98d44b8db3701dadd7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4442885
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@{#1132317}
2023-04-19 04:16:55 +00:00
minch
31e89bf5cd dark_mode: Do not check IsDarkLightModeEnabled - part10
chromeos::features::IsDarkLightModeEnabled is always true after
launching dark/light mode.

Bug: b/258246941
Change-Id: I12b37d9be50366547ea38ca2502a3e0e8332a0fa
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4444266
Commit-Queue: Min Chen <minch@chromium.org>
Reviewed-by: Zufeng Wang <zufeng@google.com>
Code-Coverage: Findit <findit-for-me@appspot.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#1132316}
2023-04-19 04:15:10 +00:00
sisidovski
797d1e5da4 [BestEffortServiceWorker] Cancel the RaceNetworkRequest
This CL fixes potential issue in RaceNetworkRequest. When the fetch
handler doesn't respond (fallback), and the response from
RaceNetworkRequset at the same time, |status_| may not be transitioned
as expected. Specifically following case:

1. Dispatch the fetch handler and RaceNetowrkRequest.
2. The response of the fetch handler comes first and it falls back.
3. |status_| will be transitioned to Status::kCompleted.
4. The response from RaceNetworkRequest comes.
5. `CommitCompleted()` is called and try to transition |status_| again.
6. Changing |status| from kCompleted to kCompleted hits DCHECK .

This CL immediately cancels the RaceNetworkRequest by
reseting |race_network_request_url_loader_| after the loader decided to
use the response from the fetch handler. By doing so, |status_| won't be
changed by RaceNetworkRequest accidentally. Instead, the fallback
resource fetch will start separately without using RaceNetworkRequest's
result.

Change-Id: If5f48fac376a0566cf255d36bce6f3326e6bd8ba
Bug: 1420517
Disable-Rts: True
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4414117
Reviewed-by: Yoshisato Yanagisawa <yyanagisawa@chromium.org>
Code-Coverage: Findit <findit-for-me@appspot.gserviceaccount.com>
Reviewed-by: Minoru Chikamune <chikamune@chromium.org>
Commit-Queue: Shunya Shishido <sisidovski@chromium.org>
Reviewed-by: Kouhei Ueno <kouhei@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1132315}
2023-04-19 04:11:42 +00:00
Junji Watanabe
e1840b65bc [infra] use jammy for build perf Linux/Android builders
Bug: b/277863911, b/278654724
Change-Id: I1345e83d81336d72275de153610a2a3df1ca6b90
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4445715
Reviewed-by: Takuto Ikuta <tikuta@chromium.org>
Auto-Submit: Junji Watanabe <jwata@google.com>
Commit-Queue: Takuto Ikuta <tikuta@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1132314}
2023-04-19 04:10:40 +00:00
chromium-autoroll
9d929dd733 Roll Depot Tools from 9e36ef60d0b3 to 54762c22175e (1 revision)
9e36ef60d0..54762c2217

2023-04-19 sokcevic@chromium.org Handle 401 from gsutil

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/depot-tools-chromium-autoroll
Please CC ajp@google.com,aravindvasudev@google.com,gavinmak@google.com,sokcevic@chromium.org 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://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

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

Bug: chromium:1433494
Tbr: ajp@google.com,aravindvasudev@google.com,gavinmak@google.com,sokcevic@chromium.org
Change-Id: Id3f73d0f45c532aac11a5f34bed7b1215be3cb6b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4445310
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@{#1132313}
2023-04-19 03:54:33 +00:00
Pi-Hsun Shih
6d2fcb1703 CCA: Migrate focus ring to dynamic color
Bug: b:228796439
Test: manually
Change-Id: I21b246d278456920068405a7091f28482194ea55
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4384350
Reviewed-by: Shik Chen <shik@chromium.org>
Commit-Queue: Pi-Hsun Shih <pihsun@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1132312}
2023-04-19 03:40:22 +00:00
CJ Huang
9e2e378721 [launcher] Extend expiring histograms.
Bug: 1433959, 1433960, 1433981
Change-Id: Ib29c9628268f13c9f6ab6bb6b1211c5789acf59d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4445187
Reviewed-by: Tony Yeoman <tby@chromium.org>
Commit-Queue: CJ Huang <chenjih@google.com>
Cr-Commit-Position: refs/heads/main@{#1132311}
2023-04-19 03:37:47 +00:00
chromium-autoroll
ccbe52f85a Roll Chrome Lacros Arm Generic PGO Profile
Roll Chrome Lacros Arm PGO profile from chrome-chromeos-arm-generic-main-1681847961-42f65652607673340b2b1a617583a4ce53e5d307.profdata to chrome-chromeos-arm-generic-main-1681862179-2ae5a154f3e651c0d35e0983e0c501920659e848.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-lacros-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://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

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

Tbr: pgo-profile-sheriffs@google.com
Change-Id: I0e59080180ca54d3bd550af46872c94874734d39
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4443890
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@{#1132310}
2023-04-19 03:30:53 +00:00
Pi-Hsun Shih
2b829f188c CCA: Migrate device switch button to dynamic color
Bug: b:228796439
Test: manually
Change-Id: Ib8429da6cf48bcc707529aa562160842d3c7dc7e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4383451
Reviewed-by: Shik Chen <shik@chromium.org>
Commit-Queue: Pi-Hsun Shih <pihsun@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1132309}
2023-04-19 03:27:23 +00:00
junwei
d4ed5a81ff WebNN: Define mojo interface of Web Neural Network API for IPC
There is a singleton WebNN service running in GPU process to
communicate with renderer process, every `ml` object in navigator will
bind a `WebnnContextProvider` message pipe with the `GetInterface()`
function of `BrowserInterfaceBroker`, it can create different
`WebnnContext` mojo interface mapping with `MLContext` WebIDL object.

This feature has undergone security review here [1].
There is a runtime flag to disable the WebNN GPU Context by default.
The CL is split from the big CL [2] to review easily.

[1] https://bugs.chromium.org/p/chromium/issues/detail?id=1381569
[2] https://chromium-review.googlesource.com/c/chromium/src/+/3915513

Bug: 1273291
Change-Id: Ie6154dde313bdb4e46a0e557722d1b431dadc0cf
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3984947
Reviewed-by: Alex Gough <ajgo@chromium.org>
Reviewed-by: Rafael Cintron <rafael.cintron@microsoft.com>
Reviewed-by: Jiewei Qian <qjw@chromium.org>
Reviewed-by: Kenneth Russell <kbr@chromium.org>
Commit-Queue: Junwei Fu <junwei.fu@intel.com>
Reviewed-by: Scott Violet <sky@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1132308}
2023-04-19 03:19:26 +00:00
chromium-autoroll
b8bcb200d2 Roll Chrome Mac Arm PGO Profile
Roll Chrome Mac Arm PGO profile from chrome-mac-arm-main-1681862179-11581a4242149dc163bfa3743ab97bfb5f112200.profdata to chrome-mac-arm-main-1681869143-e508c537add8b3182e053411a717904268c04e4a.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://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

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
Change-Id: Iea4f48b115e66626ed813d932004ab4e9023a2d7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4444614
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@{#1132307}
2023-04-19 03:16:36 +00:00
Marcello Salomao
f9f2b963e5 Revert "[Sheriff]Disable failing test transferOfficeFileFromDriveToDownloads"
This reverts commit 21ec259cc2.

Reason for revert: Original problem fixed crrev.com/c/4380798

Original change's description:
> [Sheriff]Disable failing test transferOfficeFileFromDriveToDownloads
>
> This is failing on builder chromium/ci/Linux Chromium OS ASan LSan Tests
> (1).
>
> Bug: 1428909, 1425820
> Change-Id: Ia98d426c09a0ff39b232ca6373f816e45e0fe0ce
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4381246
> Reviewed-by: Denis Kuznetsov <antrim@chromium.org>
> Commit-Queue: Denis Kuznetsov <antrim@chromium.org>
> Auto-Submit: thefrog <thefrog@chromium.org>
> Cr-Commit-Position: refs/heads/main@{#1123593}

Bug: 1428909, 1425820
Change-Id: I2fe1ce95b2b0beea40c616c288792f35b16d85cf
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4438353
Reviewed-by: thefrog <thefrog@chromium.org>
Commit-Queue: Marcello Salomao <msalomao@google.com>
Cr-Commit-Position: refs/heads/main@{#1132306}
2023-04-19 03:14:54 +00:00
chromium-autoroll
a2388d2516 Roll Chrome Mac PGO Profile
Roll Chrome Mac PGO profile from chrome-mac-main-1681840647-d5566fc27940004c741123a0c0db09a86d94bfdd.profdata to chrome-mac-main-1681862179-af02b9c95b8520245033a38f255eaa25b19dee4f.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-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://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

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
Change-Id: Ifd3e3818e7a89b56562c336c2a51530af3ccf806
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4442804
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@{#1132305}
2023-04-19 03:10:41 +00:00
Mike Dougherty
070c52e290 Remove GetMainWebFrameId and GetWebFrameWithId
This util only supports the page content world which is less widely used
now than it was when the utility was created. Additionally, it can hide
this fact from the caller and lead to bugs where the expected frames are
not returned (because the associated features live in an isolated
world).

Bug: 1427327
Change-Id: I2c783f174bacbfeeaf83d063832bf2cb71d82bc4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4442406
Code-Coverage: Findit <findit-for-me@appspot.gserviceaccount.com>
Commit-Queue: Mike Dougherty <michaeldo@chromium.org>
Reviewed-by: Ali Juma <ajuma@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1132304}
2023-04-19 03:10:34 +00:00
Grey Wang
e2d276dc6f Improve emoji picker offline experience.
- Align error illustrations with new design spec.
- Handle no network connection error more properly:
  - Only show error illustration in GIF tab (if no internet connection).
  - Only show non-GIF emojis in search view (if no internet connection).

Bug: b:277657906
Change-Id: I782223ad01903fa0615ff513905a3d9afd335790
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4405809
Reviewed-by: John Palmer <jopalmer@chromium.org>
Commit-Queue: Grey Wang <greywang@google.com>
Cr-Commit-Position: refs/heads/main@{#1132303}
2023-04-19 03:02:42 +00:00
Chrome Release Bot (LUCI)
108566cd02 Updating trunk VERSION from 5721.0 to 5722.0
* This is an automated release commit.
* Do not revert without consulting chrome-pmo@google.com.
NOAUTOREVERT=true

Change-Id: Ic20eb697cbdbdab42827833e913e9a3d96d723dc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4444088
Bot-Commit: Chrome Release Bot (LUCI) <chrome-official-brancher@chops-service-accounts.iam.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#1132302}
2023-04-19 03:01:53 +00:00
chromium-autoroll
fed3e49e70 Roll Chrome Win64 PGO Profile
Roll Chrome Win64 PGO profile from chrome-win64-main-1681851513-cb681ad4d1b64517a03aef276f1d30cdd117067e.profdata to chrome-win64-main-1681862179-8cec4b78314738f00896b8f432079d964aa1d4fc.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://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

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
Change-Id: Ie2ba1d09c1cd0564b369802a810fc5dba5fe6b25
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4443779
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@{#1132301}
2023-04-19 02:59:43 +00:00
Pi-Hsun Shih
d5ae74ed53 CCA: Supports dynamic color
Add basic code to listen for dynamic color changes and migrate two
simple things into using dynamic color tokens as a poc. All colors will
be migrated in a series of follow up CLs.

Bug: b:228796439
Test: enable chrome://flags#jelly-colors, and check the icon and
background are of expected color.

Change-Id: I7f1b909db3c68e20aad2d2cad065170bca7266c3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4374510
Reviewed-by: Takashi Toyoshima <toyoshim@chromium.org>
Code-Coverage: Findit <findit-for-me@appspot.gserviceaccount.com>
Commit-Queue: Pi-Hsun Shih <pihsun@chromium.org>
Reviewed-by: Shik Chen <shik@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1132300}
2023-04-19 02:50:22 +00:00
chromium-autoroll
39f24022e9 Roll Chrome Linux PGO Profile
Roll Chrome Linux PGO profile from chrome-linux-main-1681840647-3a51566332637ec1788be6b95a0900ce8faa5f6d.profdata to chrome-linux-main-1681862179-0c38d08a3325d83eab5a1fd229876b875ad615a4.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-linux-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://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

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

Cq-Include-Trybots: luci.chrome.try:linux-chrome
Tbr: pgo-profile-sheriffs@google.com
Change-Id: I18609d163ad1821ce2d75dcc910d443846b034d1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4445307
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@{#1132299}
2023-04-19 02:48:30 +00:00
Peter Marshall
e0eb9e70df Fix index bug in GetAppsForIntent
Previously, we could skip to the next iteration of the loop
at the continue on line 498, meaning index was not incremented.

This could theoretically result in a file handler being shown
twice in the list, or incorrect calculation of the 'best'
handler.

Bug: none
Change-Id: I1fa98243be93509edb3f7f6dfc11be730030e1dc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4401990
Commit-Queue: Peter Marshall <petermarshall@chromium.org>
Reviewed-by: Tim Sergeant <tsergeant@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1132298}
2023-04-19 02:42:00 +00:00
chromium-autoroll
911fd730d5 Roll Chrome Win32 PGO Profile
Roll Chrome Win32 PGO profile from chrome-win32-main-1681851513-c6e6e570724c3bd82ffafb438b7e7134e2aa2ca4.profdata to chrome-win32-main-1681862179-7827ca44a7b9a52225429c0ff08e6c434d42bbd0.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://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

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
Change-Id: I353f17eda9ead45468c5ddd5100235f703585024
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4443245
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@{#1132297}
2023-04-19 02:41:11 +00:00
sisidovski
49f36e981d [BestEffortServiceWorker] Fix OnFallback error case for subresources
This CL fixes the bug that may hit DCHECK in race case. When fetch
handler results for subresorces are fallback, normally additional
fallback requests are created in
`ServiceWorkerSubresourceLoader::OnFallback` and dispatched, then change
the `status_` to `Status::kCompleted`.

Howevver, if the response from RaceNetworkRequest comes first, the
response is passed to the original URLLoaderClient before `OnFallback`
being called. In that case additional network requests are totally
meaningless, and transitioning the `status_` from `Status::kCompleted`
to `Status::kCompleted`, that hits DCHECK.

As a short term solution, if the response is already handled by
RaceNetworkRequest, simply returns `OnFallback` early.

For a long term solution, we should reuse the result from
RaceNetworkRequest as a fallback response, but it needs additional mojo
pipe modification.

Bug: 1432075
Change-Id: I10f56bcb3318d8506f4cb165e313639feb54e8cd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4410223
Reviewed-by: Kouhei Ueno <kouhei@chromium.org>
Reviewed-by: Yoshisato Yanagisawa <yyanagisawa@chromium.org>
Reviewed-by: Minoru Chikamune <chikamune@chromium.org>
Commit-Queue: Shunya Shishido <sisidovski@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1132296}
2023-04-19 02:40:22 +00:00
chromium-autoroll
251bee5bce Roll Chrome Mac Arm PGO Profile
Roll Chrome Mac Arm PGO profile from chrome-mac-arm-main-1681855118-05776b4e23dc63a836bf8f35c38143167a1f085f.profdata to chrome-mac-arm-main-1681862179-11581a4242149dc163bfa3743ab97bfb5f112200.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://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

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
Change-Id: I43d51e9e9dd0a7634bbb53ba875a6d52d2bdd547
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4444554
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@{#1132295}
2023-04-19 02:37:43 +00:00
John Lee
3c1626ac5d Realbox: Hide dropdown if there are no primary matches
This CL hides the realbox's dropdown if there are no primary matches or
groups to show. This deals with the edge case in which a user removes
all (primary) suggestions and there is no trending searches to show.

This also updates `matchesAreVisible` to the more correct name
`dropdownIsVisible`. Matches may not be visible if a dropdown is open.

Bug: 1432704
Change-Id: Iedcbb437637793570586f7d5df7ddf558c723f7c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4443100
Reviewed-by: Moe Ahmadi <mahmadi@chromium.org>
Commit-Queue: John Lee <johntlee@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1132294}
2023-04-19 02:34:03 +00:00
Michael Tang
b33dac3d89 viz: win: Handle more cases for content rect in DCLayerTree
This CL allows overlay candidates to have a content rect to now:
 - Scale the overlay image since the content rect's area smaller or
   larger than the display rect.
 - Clip the overlay image if the content rect is not at the origin or
   has a size that does not match the quad rect's size.

The content rect maps to the UV rect in OverlayCandidate. This rect is
the portion of the overlay image that we want to use, scaled to fit the
display rect (which is the quad rect + transform to root). This CL
implements the clip and transform on the content visual needed to
support this.

This change also handles low latency canvas in DCLayerTree directly,
rather than via SwapChainPresenter. Now if a overlay image is
DCLayerOverlayType::kDCompVisualContent, then it will not be handled by
SwapChainPresenter.

To help testing, nearest-neighbor filtering support was added to
overlays on Windows, so we can avoid bleed from linear interpolation
while sampling overlays that are clipped and scaled by their content
rect.

Change-Id: I57815aa0da0cdfa530fc2773468729ebab89ca8b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4426676
Reviewed-by: Sunny Sachanandani <sunnyps@chromium.org>
Commit-Queue: Michael Tang <tangm@microsoft.com>
Reviewed-by: Brian Sheedy <bsheedy@chromium.org>
Reviewed-by: Rafael Cintron <rafael.cintron@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#1132293}
2023-04-19 02:26:08 +00:00
chromium-internal-autoroll
298d37642e Roll Fuchsia Internal Images from 12.20230418.2.1 to 12.20230418.3.1
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://skia-autoroll.corp.goog/r/fuchsia-internal-images-chromium
Please CC chrome-fuchsia-gardener@grotations.appspotmail.com,chrome-fuchsia-team@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://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

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

Cq-Include-Trybots: luci.chrome.try:fuchsia-fyi-astro
Tbr: chrome-fuchsia-gardener@grotations.appspotmail.com
Disable-Retries: true
Change-Id: I88b5dd6555e11c1198220f19da8e81a77dee3674
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4444549
Bot-Commit: chromium-internal-autoroll <chromium-internal-autoroll@skia-corp.google.com.iam.gserviceaccount.com>
Commit-Queue: chromium-internal-autoroll <chromium-internal-autoroll@skia-corp.google.com.iam.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#1132292}
2023-04-19 02:24:30 +00:00
chromium-autoroll
998c6ea2da Roll Chrome Lacros Amd64 Generic PGO Profile
Roll Chrome Lacros Amd64 PGO profile from chrome-chromeos-amd64-generic-main-1681847961-f46a87cf3a5dff5abf4751c33b8001da803f5e94.profdata to chrome-chromeos-amd64-generic-main-1681862179-6bc87009fd110406976787038d22bfce19755986.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-lacros-amd64-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://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

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

Tbr: pgo-profile-sheriffs@google.com
Change-Id: I6dbb48545a5248211686e44d7c42e28c091b8625
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4444556
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@{#1132291}
2023-04-19 02:19:01 +00:00
Alexander Bolodurin
85a5dae9e3 [odfs] Move ODFS extension ID to shared constants
Ensure that the ODFS extension ID can be shared between Ash and Lacros.
Needed for installation in both Ash and Lacros.

Bug: b:278796699
Change-Id: I6e03e46a608cc19afea222b1efdbbd71509ce952
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4437834
Reviewed-by: Devlin Cronin <rdevlin.cronin@chromium.org>
Code-Coverage: Findit <findit-for-me@appspot.gserviceaccount.com>
Commit-Queue: Alexander Bolodurin <alexbn@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1132290}
2023-04-19 02:14:22 +00:00
Benjamin Beaudry
a6803b0993 [ViewsAX] Remove RFHI reference in AccessibilityNotificationWaiter
... and replace it with a reference to the
BrowserAccessibilityManager associated with that RFHI. This will
allow us to get rid of the AccessibilityRenderFrameHost API from the
WebAXPlatformTreeManagerDelegate, which in turn will allow us to get
rid of the WebAXPlatformTreeManagerDelegate itself.

We're currently following the plan  outlined in
https://docs.google.com/document/d/1zBXIH2ztsSHGmS0_5JKWPZRKgDG5lKWhct_FB8k8SL0/edit?usp=sharing.

Bug: 1049261
Change-Id: I4e0395523bf37b7322a20ece660f4a14471b7c1c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4437271
Commit-Queue: Benjamin Beaudry <benjamin.beaudry@microsoft.com>
Reviewed-by: Rakina Zata Amni <rakina@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1132289}
2023-04-19 02:11:11 +00:00
Wang Qing
111ffc2043 loongarch64: Set has_64_bit_pointers=true on loongarch64.
Bug: v8:12008, v8:13927
Change-Id: Ic737a305396f4b2c7db9ed03f8c78206d5244440
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4438335
Commit-Queue: 汪清 <wangqing-hf@loongson.cn>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1132288}
2023-04-19 02:10:49 +00:00
Lu Huang
ed7019e9cb [dPWA] Add WebAppOriginAssociationManager to lock
Add WebAppOriginAssociationManager to app lock so it is available for
use within commands. It will be used for web app origin association
validation during app install and during manifest update.

Bug: 1250011
Change-Id: Ie89d3d73a5404fa351258fe13f919a86efc64236
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4422046
Reviewed-by: Daniel Murphy <dmurph@chromium.org>
Commit-Queue: Lu Huang <luhua@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#1132287}
2023-04-19 02:04:22 +00:00
Pi-Hsun Shih
1c6d72855e CCA: Change svg wrapper to use color
Since we're going to migrate most SVG background to css sides, and
there's not many SVG that needs more than 1 color, use the standard
color CSS attribute that also inherits, and add fill: currentColor to
correctly style the svg.

Bug: b:228796439
Test: manually
Change-Id: I325e5189a30f62e1c5cebaed4df61061b380f15f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4439232
Reviewed-by: Chu-Hsuan Yang <chuhsuan@chromium.org>
Commit-Queue: Pi-Hsun Shih <pihsun@chromium.org>
Reviewed-by: Shik Chen <shik@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1132286}
2023-04-19 02:03:53 +00:00
Zain Afzal
6e58f995ad [Jellybean] Ensure generate TS compiles in google3
Previously the TS we were generating was tagged as unsafe by the google3
compile time checks. This CL rearranges the generated TS and legacy
mappings to remove any strings that can't be tagged as safe at compile
time.

Change-Id: Id790993dbc889ee7092ea0ca3079029b60de9047
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4424232
Commit-Queue: Zain Afzal <zafzal@google.com>
Reviewed-by: Christos Froussios <cfroussios@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1132285}
2023-04-19 02:02:18 +00:00
Nicolas MacBeth
803d409b99 [iOS] Consolidate user session time
Use the NTP's defined user sessions time in default browser `utils` to
have a single definition of a user session it case it changes in the
future.

Bug: 1433042, 1433376
Change-Id: I8c806d1a55a2b571a8de212ac8aa046ccffbcda7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4436557
Reviewed-by: Rohit Rao <rohitrao@chromium.org>
Commit-Queue: Nicolas MacBeth <nicolasmacbeth@google.com>
Code-Coverage: Findit <findit-for-me@appspot.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#1132284}
2023-04-19 01:52:23 +00:00
Kristi Saney
59b22c8e05 Make the toolbar navigable by arrow keys.
Behavior before: full toolbar reachable with tab key only.
Behavior now: first item in toolbar reachable with tab key only, remaining items reachable with arrow keys only.

Demo: https://drive.google.com/file/d/1biuKWXUCIeqioJ04APphux4RlnjtGmlh/view?usp=sharing&resourcekey=0-z4NMUDebcXWc08H-AFOMnA
Bug: 1266555
Change-Id: I16050ae28dd9d317133145df86b84f44af1c194c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4429233
Reviewed-by: Abigail Klein <abigailbklein@google.com>
Commit-Queue: Kristi Saney <kristislee@google.com>
Cr-Commit-Position: refs/heads/main@{#1132283}
2023-04-19 01:41:24 +00:00
Zain Afzal
225b194ee4 Fixed build failure
Reland "[Jellybean] Ensure legacy mappings ignore token namespace"

This reverts commit aa90c73753.

Reason for revert: Fixed the underlying issue

Original change's description:
> Revert "[Jellybean] Ensure legacy mappings ignore token namespace"
>
> This reverts commit 5f390a234c.
>
> Reason for revert: Breaks compilation on ChromiumOS ASAN Release
>
> See https://ci.chromium.org/ui/p/chromium/builders/ci/ChromiumOS%20ASAN%20Release/288455/overview
>
> Original change's description:
> > [Jellybean] Ensure legacy mappings ignore token namespace
> >
> > Previously tokens specified in legacy_mappings would
> > pick up the namespace of the json5 file they were declared
> > in. Since these are legacy variables we want to map to new
> > tokens they should not be prefixed with any token
> > namespace.
> >
> > This CL fixes the model to implement the correct behaviour
> > and adds a test case.
> >
> > Change-Id: Ifa18991bb6a1df8b29c722cafa77f2beb3cf599d
> > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4426610
> > Reviewed-by: Christos Froussios <cfroussios@chromium.org>
> > Commit-Queue: Zain Afzal <zafzal@google.com>
> > Cr-Commit-Position: refs/heads/main@{#1131666}
>
> Change-Id: I3de82b0a4b10cfcd21e80bebeeacaaab8a93fa97
> No-Presubmit: true
> No-Tree-Checks: true
> No-Try: true
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4439229
> Reviewed-by: Christos Froussios <cfroussios@chromium.org>
> Commit-Queue: Christos Froussios <cfroussios@chromium.org>
> Owners-Override: Christos Froussios <cfroussios@chromium.org>
> Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
> Cr-Commit-Position: refs/heads/main@{#1131686}

Change-Id: Ia54854d34f38e46d94127cad6652803d07442b1b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4439230
Reviewed-by: Christos Froussios <cfroussios@chromium.org>
Commit-Queue: Zain Afzal <zafzal@google.com>
Cr-Commit-Position: refs/heads/main@{#1132282}
2023-04-19 01:37:08 +00:00
Zoraiz Naeem
2b054d07cc [Rounded-Display] Updates multiple overlays logic for rounded-displays.
This CL updates the multiple overlay processor to handle candidates
with rounded-display mask textures.

Currently the overlay processor will reject the candidates with
rounded-display masks as these textures have no damage over consecutive
frames therefore it is less power efficient to promote these textures.
Candidates with rounded-display masks are given a special priority in
the system that promote them for correctness rather than efficient.

This CL also adds fallback strategies in case candidates with
rounded-display mask textures fail DRM page-flip test.

Bug: 1262970
Test: Covered by unittests
Change-Id: Ia99fec6932b2f639fc3c13b5df30d7d6d63fb5f8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4285130
Reviewed-by: Peter McNeeley <petermcneeley@chromium.org>
Reviewed-by: Kevin Haslett <khaslett@chromium.org>
Commit-Queue: Zoraiz Naeem <zoraiznaeem@chromium.org>
Code-Coverage: Findit <findit-for-me@appspot.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#1132281}
2023-04-19 01:35:13 +00:00
sisidovski
1b9809dec7 [BestEffortServiceWorker] Refactor RaceNetworkRequestBrowserTest
This is a refactoring CL that makes existing tests simpler.

Specifically, following updates are applied:
- Use single URL endpoint (/service_worker/mock_response) for each test
- Rename parameters that specify each behavior to be more intuitive
- Start ServiceWorker for subresource tests to make the order reliable

For parameters, following will be used:
- `server_slow` for the delayed response from server
- `server_notfound` for 404 response from server
- `sw_slow` for the delayed response from fetch hander
- `sw_respond` for the fixed 200 response from fetch handler
- `sw_fallback` for the fallback from fetch handler

This is a follow up from
https://chromium-review.googlesource.com/c/chromium/src/+/4348252/comment/c34a3db6_4977c6fe/

Change-Id: Ib1893c99d7667a2bdcfce02f9109b54c659ecb6e
Bug: 1420517
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4408809
Reviewed-by: Minoru Chikamune <chikamune@chromium.org>
Reviewed-by: Kouhei Ueno <kouhei@chromium.org>
Reviewed-by: Yoshisato Yanagisawa <yyanagisawa@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1132280}
2023-04-19 01:28:09 +00:00
sisidovski
4f139d9729 Reland "[BestEffortServiceWorker] RaceNetworkRequest mode supports
subresources"

This is a reland of commit 472153701f

Changes from the reverted commit: Disabled the flaky test on Fuchsia. It
doesn't reproduce the error either on the local machine or CI test via
trybot. Also Fuchsia is not our primary target platform.

Please see the diff from here.
https://chromium-review.googlesource.com/c/chromium/src/+/4402520/1..7

Original change's description:
> [BestEffortServiceWorker] RaceNetworkRequest mode supports subresources
>
> This CL adds the subresource support to the RaceNetworkRequest mode.
> It's basically implemented with the same approach as the CL for the main
> resource[1].
>
> So, this CL will do following:
> 1. Trigger the network request directly from the renderer process.
> 2. Race the network request and the fetch handler execution, and use
> whichever faster as a response.
>
> And this CL doesn't cover below thing. Those will be added in follwo-ups.
> 1. Prevent the fetch handler from dispatching the fetch request which is
> same as the one issued by this feature.
>
> [1] crrev.com/c/4328792/18
>
> Change-Id: I0a8380611a07e6c467ecb4a7100afe99010f4c1f
> Bug: 1420517
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4348252
> Reviewed-by: Nicolas Ouellet-Payeur <nicolaso@chromium.org>
> Reviewed-by: Yoshisato Yanagisawa <yyanagisawa@chromium.org>
> Commit-Queue: Shunya Shishido <sisidovski@chromium.org>
> Cr-Commit-Position: refs/heads/main@{#1124583}

Bug: 1420517
Change-Id: I8718e5796769b844a223ab4b316dc27b1ffc1b61
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4402520
Code-Coverage: Findit <findit-for-me@appspot.gserviceaccount.com>
Reviewed-by: Nicolas Ouellet-Payeur <nicolaso@chromium.org>
Reviewed-by: Kouhei Ueno <kouhei@chromium.org>
Reviewed-by: Yoshisato Yanagisawa <yyanagisawa@chromium.org>
Reviewed-by: Minoru Chikamune <chikamune@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1132279}
2023-04-19 01:28:09 +00:00
John Lee
e83b7cf84f WebUI: Add noink property to cr-checkbox to allow hiding ripple
Checkboxes may choose to hide the ripple if the UI is using the checkbox
as an entire row with its own hover state or ripple.

Bug: 1431798
Change-Id: I75ca7360a7a3cb92a89378eaca19992574e0e2a4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4443436
Reviewed-by: Demetrios Papadopoulos <dpapad@chromium.org>
Commit-Queue: John Lee <johntlee@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1132278}
2023-04-19 01:26:41 +00:00
Alexander Bolodurin
d4af05f690 [Office] remove unused Office PWA declaration
Bug: b:270896455
Change-Id: I727719a73f2b6d2102c6f5ab49201542284befc0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4437832
Commit-Queue: Devlin Cronin <rdevlin.cronin@chromium.org>
Auto-Submit: Alexander Bolodurin <alexbn@chromium.org>
Reviewed-by: Devlin Cronin <rdevlin.cronin@chromium.org>
Code-Coverage: Findit <findit-for-me@appspot.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#1132277}
2023-04-19 01:25:15 +00:00
Fritz Koenig
f9d1452f5d media/gpu/v4l2: Split initialization for VP8
Follow on to the VP9 initialization changes. Use the split
initialization process to lazily create the CAPTURE queue
after the first frame is parsed by the driver. This codec
also supports DRC so the DRC support in the legacy
initialization code is removed.

BUG=b:277338563

Change-Id: I9c7a11aaf2aac2b2b13daa3b625f0bd68e15cdd7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4429791
Reviewed-by: Steve Cho <stevecho@chromium.org>
Commit-Queue: Fritz Koenig <frkoenig@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1132276}
2023-04-19 01:24:14 +00:00
Junji Watanabe
e6b660f038 [infra] fix build perf builder dimensions
We have changed the bot specs in https://crrev.com/i/5764633.
This CL changes those builders to use the builder dimension for bot selections so that we don't need to change them every time when we change specs.

Bug: b/278654724, b/277863911
Change-Id: I552ba9742711098cfc62874d0fcc05b8a3e8230e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4445046
Commit-Queue: Takuto Ikuta <tikuta@chromium.org>
Auto-Submit: Junji Watanabe <jwata@google.com>
Reviewed-by: Takuto Ikuta <tikuta@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1132275}
2023-04-19 01:15:50 +00:00
Dale Curtis
d905c192d6 Prefer config color space when the frame color space is missing.
R=tmathmeyer

Bug: 1377842
Change-Id: If98129e1d468973f766468019067d583d991fee3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4442896
Reviewed-by: Ted (Chromium) Meyer <tmathmeyer@chromium.org>
Commit-Queue: Dale Curtis <dalecurtis@chromium.org>
Code-Coverage: Findit <findit-for-me@appspot.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#1132274}
2023-04-19 01:13:44 +00:00
Hidehiko Abe
2259d6c622 Do not inject LocalState to UserManager after creation for testing
Instead, let tests pass the LocalState instance to its ctor.
By default BrowserProcess's LocalState is used for ChromeUserManager
and its subclasses.

BUG=b:278643115
TEST=Ran tryjob.

Change-Id: Idc742af199c41a33ae34ad25358d39081015743f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4441786
Reviewed-by: Xiyuan Xia <xiyuan@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: Hidehiko Abe <hidehiko@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1132273}
2023-04-19 01:10:52 +00:00
Andrew Williams
82d8414ae1 [DoH] Check DoH provider feature flags less often where possible
With this change, the per-provider feature flags should only be
checked when (for Chrome):
 - the user has a DNS configuration that makes it eligible for
   DoH auto-upgrading (this was true to some extent before as
   well, but now the feature flag gets checked after we also
   determine whether the configured DNS providers are a match)

 - A user visits the chrome://settings page (same as before,
   except now only providers that are globally-visible or
   that have a country code matching that of the user will
   have their feature flag checked)

 - the user produces a NetLog file (the NetLog includes a list
   of all the disabled providers)

Previously, the feature flags would also be checked after
each DNS request made via the built-in resolver.

This change is beneficial because we use these flags when
enabling DoH providers via Finch (so we can enable the provider
slowly while we monitor health metrics), and the experiments
use the default Finch behavior of deeming a given client to be
a part of the experiment if the experiment feature flag is
checked. If the feature flag is checked broadly, then lots of
users that don't use the given DoH provider get placed into the
experiment groups, and it seems to make the metrics much more
noisy (and in general less useful). With this change, fewer
users that don't use a given DoH provider will enter an
experiment for it, giving us better data to analyze.

Fixed: 1432938
Change-Id: I8dab2bcd7ccba16b00042096355401a58b8ce55f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4423489
Code-Coverage: Findit <findit-for-me@appspot.gserviceaccount.com>
Reviewed-by: Tommy Nyquist <nyquist@chromium.org>
Commit-Queue: Andrew Williams <awillia@chromium.org>
Reviewed-by: Tsuyoshi Horo <horo@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1132272}
2023-04-19 01:08:35 +00:00