0
Commit Graph

955490 Commits

Author SHA1 Message Date
46a1d77a23 clang docs: link related documents from clang.md
I couldn't find the toolchain guarantees doc the other day, so as a first step
link to it here. We should probably reorganize the docs a bit -- the perf
regression bit in updating_clang.md looks like it belongs in the sheriffing
doc, and the "which files belong in the main package" should arguably move to
the toolchain guarantees doc.

Bug: none
Change-Id: I6b9018748c47f5942a970e8bcc76bcf1107784e7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2576583
Reviewed-by: Hans Wennborg <hans@chromium.org>
Commit-Queue: Nico Weber <thakis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#834199}
2020-12-07 14:39:13 +00:00
40525f2d46 [DevTools] Add test for inline document.write() not sending CDP event
This CL adds a test which ensures that a `document.write()` when the
document is still open does not trigger sending a `Page.documentOpened`
CDP event.

`Page.documentOpened` CL: https://crrev.com/c/2498482
Design Doc: http://doc/1l-XzjFMdASjRzX4-vMxOoK-MXoxY5uhCe0GNfDsXeDo

Change-Id: Ibbe7d539db6ee85168c99972a8e2779dcc982b03
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2567007
Reviewed-by: Sigurd Schneider <sigurds@chromium.org>
Commit-Queue: Wolfgang Beyer <wolfi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#834198}
2020-12-07 14:38:50 +00:00
145cde68b5 Roll WebRTC from 393159147685 to ea969d287bfe (4 revisions)
https://webrtc.googlesource.com/src.git/+log/393159147685..ea969d287bfe

2020-12-07 perkj@webrtc.org Reland Addd class InterArrivalDelta to goog_cc
2020-12-07 akonradi@google.com Remove nesting of Naggy/Strict/NiceMock
2020-12-06 jonaso@webrtc.org Add field trial WebRTC-AllowMACBasedIPv6
2020-12-06 chromium-webrtc-autoroll@webrtc-ci.iam.gserviceaccount.com Roll chromium_revision a04842f6a7..29886952c7 (833885:834077)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/webrtc-chromium-autoroll
Please CC webrtc-chromium-sheriffs-robots@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/master/autoroll/README.md

Bug: None
Tbr: webrtc-chromium-sheriffs-robots@google.com
Change-Id: I0a9b9c175603bd6c786d3fcda7d777e8834bab57
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2577423
Reviewed-by: 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/master@{#834197}
2020-12-07 14:32:02 +00:00
a350fdd952 Roll Chrome Win64 PGO Profile
Roll Chrome Win64 PGO profile from chrome-win64-master-1607309475-be47e6675d78a40c2743c701a82c248ac3d955c3.profdata to chrome-win64-master-1607331580-48b245bff1ba8e6eb069e7a15838de53304e6a37.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 pgo-profile-sheriffs@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/master/autoroll/README.md

Cq-Include-Trybots: luci.chrome.try:win64-chrome
Tbr: pgo-profile-sheriffs@google.com
Change-Id: I077de263674d24a9f1b90b1f1d82b2978b5bfedf
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2575508
Reviewed-by: 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/master@{#834196}
2020-12-07 14:26:47 +00:00
529f43bc5b Support WebBundle Subresource loading via Network Service
This is a follow-up to https://crrev.com/c/2560526.

This CL changes the implementation of WebBundle subresource loading
from "renderer oriented" to "network service oriented".

Before this CL, a renderer parses a WebBundle and serves a subresource
from there directly.

After this CL, they are done in the Network Service, instead of a renderer.

The motivation we're changing our design is "we should honor CORB
[1]". A renderer shouldn't have cross-origin data in their memory.
See the design doc [2] for details.

Note this CL removes
blink/renderer/platform/loader/fetch/url_loader/web_bundle_subresource_loader_test.cc,
which was already moved to
services/network/web_bundle_url_loader_factory_unittest.cc in a previous CL.

- [1]: https://source.chromium.org/chromium/chromium/src/+/master:services/network/cross_origin_read_blocking_explainer.md
- [2]: https://docs.google.com/document/d/1_AqUBS4Gr45MPPtXGTUl7Q0DMIEw2zUeWO0zo6Sj0z4/edit

Bug: 1082020
Change-Id: I78b0e81b573f735c84334a4cd2271c248609c2e8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2564924
Commit-Queue: Hayato Ito <hayato@chromium.org>
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Reviewed-by: Kunihiko Sakamoto <ksakamoto@chromium.org>
Cr-Commit-Position: refs/heads/master@{#834195}
2020-12-07 14:25:45 +00:00
67870a5b34 Roll Chrome Mac PGO Profile
Roll Chrome Mac PGO profile from chrome-mac-master-1607320769-d0ad4f5a17a630b334cdaa2bc2220f2b7c7c5cc2.profdata to chrome-mac-master-1607341806-857507b5a91b3ce5824fe454e7d197a8b05189bf.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 pgo-profile-sheriffs@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/master/autoroll/README.md

Cq-Include-Trybots: luci.chrome.try:mac-chrome
Tbr: pgo-profile-sheriffs@google.com
Change-Id: Ia8a57c37d2860aa5e5014759c9b554e31e5400cd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2577427
Reviewed-by: 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/master@{#834194}
2020-12-07 14:21:15 +00:00
b9573c4ae2 [fuchsia] Implement chromium.cast.DataReset in CastRunner
This patch implements chromium.cast.DataReset in CastRunner. Upon
request to reset persistent state, we:

 - Block launching new components in the main context
 - Move all data under /cache to a staging directory that is deleted
   upon next startup of CastRunner

Bug: 1146474, 1146480
Test: run_cast_runner_integration_tests
Test: verified manually on device that a file in the cache directory of CastRunner is gone after DataReset and reboot
Change-Id: I713133540302a1c0535c778e5957e2c87e0f669b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2537840
Commit-Queue: Przemek Pietrzkiewicz <ppi@google.com>
Reviewed-by: Wez <wez@chromium.org>
Reviewed-by: Benjamin Lerman <qsr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#834193}
2020-12-07 14:19:15 +00:00
a9b2fd310e Roll Chrome Linux PGO Profile
Roll Chrome Linux PGO profile from chrome-linux-master-1607320769-89cdddd8995ad3be12a676e570aae350fc15988d.profdata to chrome-linux-master-1607341806-34092e6e948e6283aae1770f567faca0b14a9512.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 pgo-profile-sheriffs@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/master/autoroll/README.md

Cq-Include-Trybots: luci.chrome.try:linux-chrome
Tbr: pgo-profile-sheriffs@google.com
Change-Id: Ica66cc4562dd9a92eb97e1f3fe50dab799702a01
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2577429
Reviewed-by: 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/master@{#834192}
2020-12-07 14:14:46 +00:00
585cfe80cb Roll DevTools Frontend from b36ad7e1d111 to 698d1c0a0acb (7 revisions)
b36ad7e1d1..698d1c0a0a

2020-12-07 devtools-ci-autoroll-builder@chops-service-accounts.iam.gserviceaccount.com Update DevTools DEPS.
2020-12-07 sigurds@chromium.org Don't generate types for deprecated Console domain
2020-12-07 tvanderlippe@chromium.org Upgrade third_party/acorn to 8.0.4
2020-12-07 jacktfranklin@chromium.org [Dark Mode]: small CSS files
2020-12-07 sigurds@chromium.org Remove twin definitions from ConsoleModel
2020-12-07 wolfi@chromium.org Update link url
2020-12-07 jacktfranklin@chromium.org [Dark mode] disable patching for customPreviewComponent.css

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/devtools-frontend-chromium
Please CC devtools-waterfall-sheriff-onduty@grotations.appspotmail.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/master/autoroll/README.md

Bug: chromium:1152082,chromium:1152736,chromium:1153099
Tbr: devtools-waterfall-sheriff-onduty@grotations.appspotmail.com
Change-Id: Id13ed33a6517131b32ef1e12d080e2ac9a55f592
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2576427
Reviewed-by: 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/master@{#834191}
2020-12-07 14:11:19 +00:00
81f6e579ea Pass the correct profile to NavigationSheet classes.
This CL gets Profile from WebContents and pass it through the
NavigationSheetCoordinator.

Bug: 1048632
Change-Id: I5c9f3aca1c9b840f810eb780fc8d05be4be9df2a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2569738
Reviewed-by: Jinsuk Kim <jinsukkim@chromium.org>
Reviewed-by: Theresa  <twellington@chromium.org>
Commit-Queue: Side YILMAZ <sideyilmaz@chromium.org>
Cr-Commit-Position: refs/heads/master@{#834190}
2020-12-07 14:07:40 +00:00
c24aab83fe Replace std::map with std::vector in StatsResponse::Report.
The std::map in StatsResponse::Report is only used to iterate though
the elements. Profiling on Mac shows that a replacing the std::map
with a std::vector shaves off about 40% CPU time spent in
StatsResponse::Report in some common video conferencing scenarios.

Bug: 1156090
Change-Id: I3070000bb534deb18fb0fd9b18b83a947fae64a9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2576240
Reviewed-by: Henrik Boström <hbos@chromium.org>
Commit-Queue: Ali Tofigh <alito@chromium.org>
Cr-Commit-Position: refs/heads/master@{#834189}
2020-12-07 14:00:49 +00:00
31a0632196 Only call GetDeviceAttributeUpdatePermission for manual enrollment
GetDeviceAttributeUpdatePermission resolves the current user by OAuth
token and then checks if that user may change the device's attributes.
This is only sensible for manual enrollment where a user has actually
authenticated and we have an OAuth token for the user.
For enrollment modes without explicit user auth, such as
attestation-based enrollment or enrollment-token-based enrollment, the
enrolling user is not known so this check is not possible.

For now, assume that device attributes should not be changed in this,
as there is no way to find out if the enrolling user is permitted to
change them.

Bug: 942013
Change-Id: I5f7e08ca2af223d0dbcac3839c6eb2b2f45e62b2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2566820
Commit-Queue: Pavol Marko <pmarko@chromium.org>
Reviewed-by: Denis Kuznetsov [CET] <antrim@chromium.org>
Cr-Commit-Position: refs/heads/master@{#834188}
2020-12-07 13:57:19 +00:00
75712bafd6 css-contain/contain-size-monolithic-002.html passes in NG block frag.
TBR=foolip@chromium.org

Bug: 1154574
Change-Id: Ib632013e53de9b69d579890fe0c7b6f3dccb6f8e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2577200
Reviewed-by: Morten Stenshorne <mstensho@chromium.org>
Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/master@{#834187}
2020-12-07 13:56:19 +00:00
49797ab5b9 Attempt to re-enable SyncAuthTest.TokenExpiry
The test has been disabled for >2 years. Let's to try to re-enable it.

Bug: 860200
Change-Id: Ia425f68d99f3e056226d367f66ab03ac85a13e4b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2574702
Commit-Queue: Jan Krcal <jkrcal@chromium.org>
Auto-Submit: Victor Vianna <victorvianna@google.com>
Reviewed-by: Jan Krcal <jkrcal@chromium.org>
Cr-Commit-Position: refs/heads/master@{#834186}
2020-12-07 13:53:45 +00:00
d86e2da314 Manually Roll Perfetto from 0fdb2247e82e to c56ea91f6bd1 (1 revision)
0fdb2247e8..c56ea91f6b

2020-12-04 primiano@google.com Merge "service: Add MaybeSaveTraceForBugreport()"

Includes empty implementation of SaveTraceForBugreport.

Change-Id: Ia351be67f1ad24c87ee9b2f8ee56c0916bf39450
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2574744
Reviewed-by: Eric Seckler <eseckler@chromium.org>
Reviewed-by: Primiano Tucci <primiano@chromium.org>
Commit-Queue: Mikhail Khokhlov <khokhlov@google.com>
Cr-Commit-Position: refs/heads/master@{#834185}
2020-12-07 13:47:05 +00:00
1b0582f7e6 Disable TwoClientWebAppsBMOSyncTest.UninstallSynced on Linux TSan
There's been a spike of flakes on this bot following 2020-12-03, let's disable the test.

https://findit-for-me.appspot.com/p/chromium/flake-portal/flakes/occurrences?key=ag9zfmZpbmRpdC1mb3ItbWVyVgsSBUZsYWtlIktjaHJvbWl1bUBzeW5jX2ludGVncmF0aW9uX3Rlc3RzQFR3b0NsaWVudFdlYkFwcHNCTU9TeW5jVGVzdC5Vbmluc3RhbGxTeW5jZWQM

Bug: 1108172
Change-Id: I3c142419ee690165bde93c9d84fe94a4225a18f7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2577358
Commit-Queue: Jan Krcal <jkrcal@chromium.org>
Auto-Submit: Victor Vianna <victorvianna@google.com>
Reviewed-by: Jan Krcal <jkrcal@chromium.org>
Cr-Commit-Position: refs/heads/master@{#834184}
2020-12-07 13:44:26 +00:00
609dba3217 [iOS][Thumb Strip] Open/close thumb strip when scrolling in web view
The new ThumbStripMediator handles observing the regular/incognito
WebStateLists to add the ViewRevealingVerticalPanHandler as a
scrollViewProxy observer. This allows it to get scroll delegate
callbacks from the active webstate.

This CL also slightly fixes the BVC thumb strip hide/reveal behavior to
correctly change the scroll view's content insets as well as the
content offset.

Bug: 1094335
Change-Id: I006a3e72a06b1e327ce0984cf84bc69c2e95fe7a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2563556
Reviewed-by: Gauthier Ambard <gambard@chromium.org>
Reviewed-by: Chris Lu <thegreenfrog@chromium.org>
Commit-Queue: Robbie Gibson <rkgibson@google.com>
Cr-Commit-Position: refs/heads/master@{#834183}
2020-12-07 13:43:52 +00:00
599ad0b15b Roll ANGLE from 71bbb3b22e98 to cf023b3a8cd1 (1 revision)
71bbb3b22e..cf023b3a8c

2020-12-07 angle-autoroll@skia-public.iam.gserviceaccount.com Roll SwiftShader from bae138de13ac to 7c84426d2abe (8 revisions)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/angle-chromium-autoroll
Please CC geofflang@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/master/autoroll/README.md

Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:mac_optional_gpu_tests_rel;luci.chromium.try:win-asan;luci.chromium.try:win_optional_gpu_tests_rel;luci.chromium.try:linux-swangle-try-x64;luci.chromium.try:win-swangle-try-x86
Bug: None
Tbr: geofflang@google.com
Change-Id: Ie8cf67c182edc94b1da57edd08c35b1f1229bc26
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2577418
Reviewed-by: 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/master@{#834182}
2020-12-07 13:41:23 +00:00
2ce3bfdf66 [Files app]: Add scripts for JS modules conversion
Command:
ui/file_manager/base/tools/modules.sh [1] [2]
[1] build directory (e.g. out/Release)
[2] path of JS file to convert (relative to chromium/src)

What does the script do:
1. Update BUILD.gn to enable conversion of JS file.
2. Add exports.
3. Run closure compiler.
4. Parse closure compiler output to retrieve unknown types/variables/functions.
6. Parse these dependencies to find relevant exported types/variables/functions.
7. When found, update BUILD.gn and JS file.

Made sure that:
The script doesn't add any irrelevant import/export.
No duplicate lines are added.

Steps 3 to 7 are ran until the closure compiler output
'X error(s), Y warning(s), Z% typed' doesn't change. The closure compiler
is ran at least 3 times (except if no imports are found), sometimes more.

Bug: 1133186
Change-Id: I1528c8187bc1476d6add1bcb14a0d4fd1b64a4fe
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2550328
Commit-Queue: Jeremie Boulic <jboulic@chromium.org>
Reviewed-by: Luciano Pacheco <lucmult@chromium.org>
Cr-Commit-Position: refs/heads/master@{#834181}
2020-12-07 13:40:00 +00:00
b8c6670fe3 Roll Chrome Win32 PGO Profile
Roll Chrome Win32 PGO profile from chrome-win32-master-1607252866-d41b621d05e6450c8f7df54cb40144efff641518.profdata to chrome-win32-master-1607320769-266f8d6f8ffba3874a821f44f98b77515c76c883.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 pgo-profile-sheriffs@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/master/autoroll/README.md

Cq-Include-Trybots: luci.chrome.try:win-chrome
Tbr: pgo-profile-sheriffs@google.com
Change-Id: If1be95461ed0505f640019f76b5ab274eaea4121
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2575504
Reviewed-by: 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/master@{#834180}
2020-12-07 13:39:26 +00:00
593decb53d [Android][Modularization] Clean up redundant IdentityServicesProvider
This CL cleans up redundant IdentityServicesProvider.

Bug: 1152718
Change-Id: Ie056721b377f1a8de747333eafbae7fcaf9daa3b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2574844
Reviewed-by: Mihai Sardarescu <msarda@chromium.org>
Commit-Queue: Alice Wang <aliceywang@chromium.org>
Cr-Commit-Position: refs/heads/master@{#834179}
2020-12-07 13:38:55 +00:00
b60d1e915b fix typo.
BUG=b:172748724
TEST=build ok.

Change-Id: I5a882b830c0920d4f721515aacb34464499fba50
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2569327
Reviewed-by: Maksim Ivanov <emaxx@chromium.org>
Commit-Queue: Leo Lai <cylai@google.com>
Cr-Commit-Position: refs/heads/master@{#834178}
2020-12-07 13:28:02 +00:00
f0ebcd6c25 Adjust EOL texts for FlexOrgs
Adjust the domain placeholder names, descriptions and screenshots in
IDS_SETTINGS_UPDATE_REQUIRED_EOL_BANNER_ONE_WEEK and
IDS_SETTINGS_UPDATE_REQUIRED_EOL_BANNER_DAYS to prepare them for
FlexOrgs and make it easier for the translators to understand the usage
of the texts.

Additionally replace calls to
BrowserPolicyConnectorChromeOS::GetEnterpriseDisplayDomain with calls to
BrowserPolicyConnectorChromeOS::GetEnterpriseDomainManager.

Bug: b:172683940, b:172683948
Test: Manual
Change-Id: I1102446a9d065638a8dd008a751340f6abb6060c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2571878
Reviewed-by: Brian Malcolm <bmalcolm@chromium.org>
Reviewed-by: James Cook <jamescook@chromium.org>
Commit-Queue: Jana Grill <janagrill@chromium.org>
Cr-Commit-Position: refs/heads/master@{#834177}
2020-12-07 13:01:16 +00:00
89292a4ae2 Migrate chrome://predictors to JS modules.
Bug: None
Change-Id: Idf627b30a15a069a44c4d6faf6a63316d6ec38b5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2574394
Commit-Queue: dpapad <dpapad@chromium.org>
Reviewed-by: Alex Ilin <alexilin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#834176}
2020-12-07 12:50:14 +00:00
82bce4593a Add translated string templates for concatenating two strings
Add two string templates with placeholders that allow for concatenating
two other string, without the concatenation leading to incorrect
translations. The string tuples are:
* |IDS_CONCAT_TWO_STRINGS_WITH_COMMA|: "<string1>, <string2>"
* |IDS_CONCAT_TWO_STRINGS_WITH_PERIODS|:"<string1>. <string2>."

This CL also extends PluralStringProxy to in one step fetch two plural
strings and concatenate them into one string, using the templates above.
It also fixes one already existing instance of crbug/1060625 in
chrome/browser/ui/webui/settings/safety_check_handler.cc by migrating it
to the corresponding string tuple.

Translation screenshots:

IDS_CONCAT_TWO_STRINGS_WITH_COMMA
https://storage.cloud.google.com/chromium-translation-screenshots/6139bb64c11e0f921e8d5951367952b62ecb3fcc

IDS_CONCAT_TWO_STRINGS_WITH_PERIODS
https://storage.cloud.google.com/chromium-translation-screenshots/f39b3eea7e82b711a29c50f7cc12567bae2a80c3

Bug: 1154630
Change-Id: Ie2cb8383448ecc35933a470b28e56ed0fcc12771
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2566821
Commit-Queue: Rainhard Findling <rainhard@chromium.org>
Reviewed-by: Esmael Elmoslimany <aee@chromium.org>
Cr-Commit-Position: refs/heads/master@{#834175}
2020-12-07 12:48:52 +00:00
4dd043bfbf Roll Skia from d90e578fb431 to f3b959c00071 (2 revisions)
https://skia.googlesource.com/skia.git/+log/d90e578fb431..f3b959c00071

2020-12-07 kjlubick@google.com [canvaskit] Respect Exif metadata for animated images.
2020-12-07 kjlubick@google.com [canvaskit] Remove 2d point arrays from API.

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/skia-autoroll
Please CC jmbetancourt@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/master/autoroll/README.md

Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux-blink-rel;luci.chromium.try:linux-chromeos-compile-dbg;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:mac_optional_gpu_tests_rel;luci.chromium.try:win_optional_gpu_tests_rel
Cq-Do-Not-Cancel-Tryjobs: true
Bug: None
Tbr: jmbetancourt@google.com
Change-Id: I171f00431365ab42318c88bdf81db637372de65c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2576425
Reviewed-by: 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/master@{#834174}
2020-12-07 12:48:11 +00:00
6f1eacda45 Update Toolbar View ephemeral Guest profile test.
ToolbarViewWithExtensionsToolbarMenuTest did not correctly disable
Ephemeral Guest profiles when they were enabled by default.
This issue is fixed.

Bug: 1125474
Change-Id: I4f277c3477d76cf3fee51bcd80c283b2929e2ea5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2573104
Reviewed-by: Bret Sepulveda <bsep@chromium.org>
Commit-Queue: Ramin Halavati <rhalavati@chromium.org>
Cr-Commit-Position: refs/heads/master@{#834173}
2020-12-07 12:40:41 +00:00
d434f3cac0 [PA] Make De/RecommitSystemPages consistent between Fuchsia and POSIX
De/RecommitSystemPages() have similar properties under POSIX and
Fuchsia, since both use over-commit, but the API implementations differ
in their optimizations. Update the Fuchsia implementations with the same
optimizations as provided for POSIX.

Bug: 766882
Change-Id: I34b98db27ed85543e53b3231ec118d0a2409b454
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2558122
Commit-Queue: Bartek Nowierski <bartekn@chromium.org>
Reviewed-by: Chris Palmer <palmer@chromium.org>
Reviewed-by: Wez <wez@chromium.org>
Auto-Submit: Bartek Nowierski <bartekn@chromium.org>
Cr-Commit-Position: refs/heads/master@{#834172}
2020-12-07 12:37:53 +00:00
a5e9783262 Roll DevTools Frontend from dead315abbf8 to b36ad7e1d111 (4 revisions)
dead315abb..b36ad7e1d1

2020-12-07 jacktfranklin@chromium.org [Interaction tests] fix running in out/Release
2020-12-07 sigurds@chromium.org Update readme in front_end/Images
2020-12-07 wolfi@chromium.org [Issues] Add UMA for opening the Issues Tab via the command menu
2020-12-07 yiorsi@gmail.com Add "Copy file name" context menu to Workspace

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/devtools-frontend-chromium
Please CC devtools-waterfall-sheriff-onduty@grotations.appspotmail.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/master/autoroll/README.md

Bug: chromium:1126031,chromium:1153281,chromium:1155120
Tbr: devtools-waterfall-sheriff-onduty@grotations.appspotmail.com
Change-Id: I9c52f61c6075efc7d1a13372d65d891884f7273c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2575509
Reviewed-by: 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/master@{#834171}
2020-12-07 12:37:23 +00:00
10574ea5ff Roll src-internal from 731e67da3620 to 682b3e2b91af (1 revision)
731e67da36..682b3e2b91

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 grt@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/master/autoroll/README.md

Cq-Include-Trybots: luci.chrome.try:linux-chromeos-chrome
Bug: None
Tbr: grt@google.com
Change-Id: Ifc9ca19658c01ad31e86105980766b2d31a3b0af
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2575634
Reviewed-by: 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/master@{#834170}
2020-12-07 12:30:52 +00:00
b6f45d9d52 Fieldset NG: the content box should be able to be an OOF container
OOF descendants of a fieldset should not be contained by the fieldset
because they should be scrolled together with the fieldset contents.
This CL makes an anonymous fieldset content box an OOF container by
adding |filter: brightness(100%)| or |position: relative| if the
fieldset can contain OOF objects.

We need to add a special handling for OOF descendants of a LEGEND to
FindAncestorByPredicate() because such OOF descendants are contained
by fieldsets in NG fragment trees.  Without this change, we had some
CHECK failures.

Bug: 1153042
Change-Id: I993922cfd373a9e0558bc50edb009680f0f1244a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2569140
Reviewed-by: Morten Stenshorne <mstensho@chromium.org>
Commit-Queue: Kent Tamura <tkent@chromium.org>
Cr-Commit-Position: refs/heads/master@{#834169}
2020-12-07 12:29:51 +00:00
92a07dab0b Skip layout test for DevTools roll
R=sigurds@chromium.org

Bug: 1144171
Change-Id: I88304a0cc6eba84973c2a7ff7c0d93410eb68760
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2575021
Auto-Submit: Tim van der Lippe <tvanderlippe@chromium.org>
Commit-Queue: Sigurd Schneider <sigurds@chromium.org>
Reviewed-by: Sigurd Schneider <sigurds@chromium.org>
Cr-Commit-Position: refs/heads/master@{#834168}
2020-12-07 12:10:47 +00:00
949af9a4f0 Android: inline deprecated BuildInfo methods (/base/android/java/src/org/chromium/base/process_launcher)
No change to logic. This inlines BuildInfo.isAtLeast{Q,R} and
BuildInfo.targetsAtLeast{Q,R} (and their C++ equivalents) in
/base/android/java/src/org/chromium/base/process_launcher.

The methods themselves will be removed in a follow-up CL once all call
sites have been removed.

This CL was uploaded by git cl split.

R=rmcilroy@chromium.org

Bug: 1106920
Test: autoninja -C out/Default monochrome_public_apk
Change-Id: I74be1508173db531826fb0b8cfdc953642740989
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2575373
Auto-Submit: Nate Fischer <ntfschr@chromium.org>
Reviewed-by: Ross McIlroy <rmcilroy@chromium.org>
Commit-Queue: Ross McIlroy <rmcilroy@chromium.org>
Cr-Commit-Position: refs/heads/master@{#834167}
2020-12-07 11:50:06 +00:00
79ebd0b826 Enable support for ::target-text
I2S: https://groups.google.com/a/chromium.org/g/blink-dev/c/yN2lrq67a1c/m/YJIsFVdoAAAJ

Bug: 1136817
Change-Id: Id1818f2e06356b272f24f83a87cdf107414d45f2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2574843
Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org>
Commit-Queue: Rune Lillesveen <futhark@chromium.org>
Cr-Commit-Position: refs/heads/master@{#834166}
2020-12-07 11:38:13 +00:00
26188a2d65 WebUI: Delete preprocess_grit
Removing in favor of the more limited preprocess_if_expr.

Change-Id: I2f7d237a6697489e6d45f72968e0d662f40d8bdc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2574929
Commit-Queue: dpapad <dpapad@chromium.org>
Reviewed-by: dpapad <dpapad@chromium.org>
Cr-Commit-Position: refs/heads/master@{#834165}
2020-12-07 11:20:43 +00:00
fbde314f81 [ios] Disable OmniboxPopupTestCase/testCloseNTPWhenSwitching
Bug: 1156054
Change-Id: Ic22973c56bce2b7f79770e788a31ea90f7629a39
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2576238
Auto-Submit: David Jean <djean@chromium.org>
Commit-Queue: Stepan Khapugin <stkhapugin@chromium.org>
Reviewed-by: Stepan Khapugin <stkhapugin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#834164}
2020-12-07 11:10:56 +00:00
9f4908495a [Passwords] Use network::IsOriginPotentiallyTrustworthy in TTF
This change replaces network::IsUrlPotentiallyTrustworthy with
network::IsOriginPotentiallyTrustworthy in the Touch To Fill controller.
The small difference between those two APIs is irrelevant for Touch To
Fill, and the latter matches the semantics of
TouchToFillView::IsOriginSecure better.

Bug: 1012717, 1153336
Change-Id: I06553ac01aeae540426e6df30631e03db0ccfe60
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2574743
Commit-Queue: Jan Wilken Dörrie <jdoerrie@chromium.org>
Commit-Queue: Friedrich [CET] <fhorschig@chromium.org>
Auto-Submit: Jan Wilken Dörrie <jdoerrie@chromium.org>
Reviewed-by: Friedrich [CET] <fhorschig@chromium.org>
Cr-Commit-Position: refs/heads/master@{#834163}
2020-12-07 11:02:19 +00:00
7955d904cb Android: inline deprecated BuildInfo methods (/components/browser_ui/photo_picker/android)
No change to logic. This inlines BuildInfo.isAtLeast{Q,R} and
BuildInfo.targetsAtLeast{Q,R} (and their C++ equivalents) in
/components/browser_ui/photo_picker/android.

The methods themselves will be removed in a follow-up CL once all call
sites have been removed.

This CL was uploaded by git cl split.

R=finnur@chromium.org

Bug: 1106920
Test: autoninja -C out/Default monochrome_public_apk
Change-Id: Ib3278a63d0a27967cb873aa265b504bc5dd7107d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2575382
Auto-Submit: Nate Fischer <ntfschr@chromium.org>
Reviewed-by: Finnur Thorarinsson <finnur@chromium.org>
Commit-Queue: Finnur Thorarinsson <finnur@chromium.org>
Cr-Commit-Position: refs/heads/master@{#834162}
2020-12-07 10:52:13 +00:00
0acbcf7e6a Add video processing perf page set for webrtc benchmark
The new page set needs extra Chrome flags; pipe those through the
superclass constructors.

The sample that's the source for the new page set has multiple JS files;
change update_webrtc_cases to concatenate all JS files to create the
target JS file. Also, fix the URL for the video file (reusing the video
file for trivial_full_screen).

`./tools/perf/run_benchmark run webrtc --browser=canary` passes locally
on Mac and runs the new stories. `./tools/perf/run_benchmark run webrtc
--browser=system` also passes, correctly skipping the stories since
they use features that are new in M89.

Change-Id: I732b3c967469c7b83b940faf2f9486d909430ee3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2566935
Commit-Queue: Ben Wagner aka dogben <benjaminwagner@google.com>
Reviewed-by: Mirko Bonadei <mbonadei@chromium.org>
Reviewed-by: John Chen <johnchen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#834161}
2020-12-07 10:52:01 +00:00
b4a07e56d5 Roll DevTools Frontend from 3a803457d17d to dead315abbf8 (1 revision)
3a803457d1..dead315abb

2020-12-07 bmeurer@chromium.org Add webassemblymemory subtype.

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/devtools-frontend-chromium
Please CC devtools-waterfall-sheriff-onduty@grotations.appspotmail.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/master/autoroll/README.md

Bug: chromium:1155566
Tbr: devtools-waterfall-sheriff-onduty@grotations.appspotmail.com
Change-Id: Ie0680b39f825ca1488286b6f75866f2637b1026f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2576106
Reviewed-by: 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/master@{#834160}
2020-12-07 10:49:25 +00:00
42bc2388cd Skip overlay painting during scroll
This CL adds page-level scroll events to be sent to the inspector
overlay agent so that the agent can disable persistent overlays
during scrolling. Since the scrolling happens in the compositor and
the overlay is painted on the main thread, there is a visible lag
in the overlay rendering during scroll. This CL is a workaround for
this issue.

Video: https://i.imgur.com/krVFVPG.mp4

Bug: 1147362
Change-Id: Ifd9f735c0fe15a745f49f1fb440889e78e4a599e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2562846
Reviewed-by: Andrey Kosyakov <caseq@chromium.org>
Reviewed-by: Stephen McGruer <smcgruer@chromium.org>
Reviewed-by: Khushal <khushalsagar@chromium.org>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Reviewed-by: David Bokan <bokan@chromium.org>
Reviewed-by: Mathias Bynens <mathias@chromium.org>
Commit-Queue: Alex Rudenko <alexrudenko@chromium.org>
Cr-Commit-Position: refs/heads/master@{#834159}
2020-12-07 10:30:18 +00:00
be21ea1167 [Frameworks roll] Roll to 346030038 piper revision
TBR=bling-team@google.com

Change-Id: I94b4066627951e9caf9edb86182c1f962f671029
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2576424
Reviewed-by: Internal Frameworks Autoroller <bling-autoroll-builder@chops-service-accounts.iam.gserviceaccount.com>
Commit-Queue: Internal Frameworks Autoroller <bling-autoroll-builder@chops-service-accounts.iam.gserviceaccount.com>
Cr-Commit-Position: refs/heads/master@{#834158}
2020-12-07 10:23:40 +00:00
38f8aed383 [PTZ] Remove MediaCapturePanTilt blink feature
Camera PTZ feature has shipped in M87. This CL removes the
MediaCapturePanTilt blink feature and cleans up related code. There
should be no behaviour change.

Change-Id: Ie6222ec7275cbfb3f80deb5af8506307b89362c0
Bug: 934063
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2533774
Reviewed-by: Reilly Grant <reillyg@chromium.org>
Reviewed-by: Guido Urdaneta <guidou@chromium.org>
Reviewed-by: Kentaro Hara <haraken@chromium.org>
Commit-Queue: François Beaufort <beaufort.francois@gmail.com>
Cr-Commit-Position: refs/heads/master@{#834157}
2020-12-07 10:20:13 +00:00
d61951670f Roll ANGLE from 251ba5cb119f to 71bbb3b22e98 (1 revision)
251ba5cb11..71bbb3b22e

2020-12-07 angle-autoroll@skia-public.iam.gserviceaccount.com Roll Chromium from 6991410be0 to bbe26af295 (235 revisions)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/angle-chromium-autoroll
Please CC geofflang@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/master/autoroll/README.md

Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:mac_optional_gpu_tests_rel;luci.chromium.try:win-asan;luci.chromium.try:win_optional_gpu_tests_rel;luci.chromium.try:linux-swangle-try-x64;luci.chromium.try:win-swangle-try-x86
Bug: None
Tbr: geofflang@google.com
Change-Id: I7dfaa7520504d1bbe829003601c44e92e12e4126
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2576999
Reviewed-by: 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/master@{#834156}
2020-12-07 10:18:49 +00:00
758f6e7a4d Added TODO for recording server profiles
Change-Id: I0aac983134a08eb79e4874d44f62f7c605597ed3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2574738
Reviewed-by: Jan Krcal <jkrcal@chromium.org>
Commit-Queue: Vidhan Jain <vidhanj@google.com>
Cr-Commit-Position: refs/heads/master@{#834155}
2020-12-07 10:09:57 +00:00
cb11d5949b Adjust layout for disclosure-open and disclosure-closed
This CL makes layout of disclosure-* equivalent to the default layout
of ::-webkit-details-marker.

* DisclosureSymbolSize()
  Make the symbol size same as 0.66em.

* ListMarker::WidthOfSymbol()
  1px gaps are not necessary.

* ListMarker::InlineMarginsForInside()
  No margin for inline-start.
  0.4em margin for inline-end.

* ListMarker::RelativeSymbolMarkerRect()
  No margin for inline-start.
  Align the marker bottom and the baseline

* ListMarkerPainter::PaintSymbol() should take a non-pixel-snapped
  rectangle. It matches to the current behavior of LayoutDetailsMarker
  and DetailsMarkerPainter.

This CL will reduce the number of rebaseline files significantly when
SummaryListItem flag is enabled.

Bug: 590014
Change-Id: I600ab534a05c08bca482a4316270b9e9b9a3c651
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2577077
Commit-Queue: Kent Tamura <tkent@chromium.org>
Commit-Queue: Koji Ishii <kojii@chromium.org>
Auto-Submit: Kent Tamura <tkent@chromium.org>
Reviewed-by: Koji Ishii <kojii@chromium.org>
Cr-Commit-Position: refs/heads/master@{#834154}
2020-12-07 09:59:44 +00:00
bbadbc448f Convert callbacks in .../sync_file_system
This CL converts uses of base::Callback to their proper {Once|Repeating}
equivalents in the chrome/browser/sync_file_system.

Specifically, LocalFileSyncService, LocalFileSyncContext and
RootDeleteHelper are updated.

Bug: 1152272
Change-Id: I7955714c5b000d77dab4a21e463161f1038f0e44
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2575047
Auto-Submit: Thomas Guilbert <tguilbert@chromium.org>
Commit-Queue: Kinuko Yasuda <kinuko@chromium.org>
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Cr-Commit-Position: refs/heads/master@{#834153}
2020-12-07 09:51:29 +00:00
e964fcc044 Disable SSLUITest.InAppTestHTTPSExpiredCertAndProceed due to flakes.
BUG=1156046
TBR=estark@chromium.org

Change-Id: I953a93aae7964aa17d1f460dc79da1a8bfd5e6b4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2577217
Reviewed-by: Greg Thompson <grt@chromium.org>
Commit-Queue: Greg Thompson <grt@chromium.org>
Cr-Commit-Position: refs/heads/master@{#834152}
2020-12-07 09:43:20 +00:00
f17737a24f Web Share: Support sharing title/text/url without files on ChromeOS
Web apps on Chrome OS may use the Web Share API to send title,
text and/or url, even when files are not also being shared at
the same time.

Support for sharing title/text/url in combination with files is
already implemented:
https://chromium-review.googlesource.com/c/chromium/src/+/2569329


Bug: 1127670
Change-Id: Iae5d51f0012d7134309af80ba377ecd60f311efd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2576296
Commit-Queue: Eric Willigers <ericwilligers@chromium.org>
Reviewed-by: Alan Cutter <alancutter@chromium.org>
Auto-Submit: Eric Willigers <ericwilligers@chromium.org>
Cr-Commit-Position: refs/heads/master@{#834151}
2020-12-07 09:41:39 +00:00
580c10dd72 Prepare chrome://predictors UI for migrating to JS modules.
Specifically:
 - Replacing calls to CallJavascriptFunctioUnsafe with
   ResolveJavascriptCallback
 - Add JS type checking.

Bug: None
Change-Id: I8df90a3b394d191418e9e4155f38e9a30c328650
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2574389
Commit-Queue: dpapad <dpapad@chromium.org>
Reviewed-by: Alex Ilin <alexilin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#834150}
2020-12-07 09:41:19 +00:00