This constant has been removed from upstream chromium, and there's
already appropriate handling for kColorDownloadShelfButtonText in
AddBraveColorMixer.
Chromium changes:
https://chromium.googlesource.com/chromium/src/+/edf4f6ddcfb7a09aeb521d449b17df4f6f87d4a3
commit edf4f6ddcfb7a09aeb521d449b17df4f6f87d4a3
Author: Keren Zhu <kerenzhu@chromium.org>
Date: Tue Apr 26 18:46:09 2022 +0000
[color pipeline] Fix mismatched GTK colors and enable direction test
This enables ThemeProviderRedirectedEquivalenceLinuxTest, which marks
the full test coverage for directed colors on GTK.
Mismatched colors were due to the wrong implementation in cb/themes.
Some didn't respect the accent color, some missed the minimum contrast
requirement, others didn't properly switch between dark/light
variants. This CL fixes mismatches by migrating the first two types to
the color pipeline and fixing the last type by fixing cb/themes.
Bug: 1310397
Chromium change:
https://chromium.googlesource.com/chromium/src/+/9795f20f95d3b8cf7719e62a18d2ccc2aeedf51a
commit 9795f20f95d3b8cf7719e62a18d2ccc2aeedf51a
Author: Ryan Sturm <ryansturm@chromium.org>
Date: Tue Apr 19 20:56:17 2022 +0000
Adds a search prefetch experiment for on suggest select
Adding to the previous work in Search Prefetch, this CL aims to add a
new prefetch optimization when the omnibox suggestion was not prefetched.
There is substantial time between navigation start and request start,
and in the case of omnibox search, we can extend the prefetch behavior
to trigger when the user selects a suggestion to navigate to. While this
isn't a guaranteed navigation due to before unload handlers amongst
other factors, it is a highly confident navigation, and we will use the
non-prefetch URL with the purpose:prefetch header. This is intended as
an experiment that will not launch as is.
This changes OmniboxLog to report the actual destination URL of the
selected match. The match is not updated in results, so reporting the
URL change is sufficient in OmniboxLog.
This adds a few new histograms and updates some with suffixes. Due to
some histograms only reporting for one of the two suffixes, the
histograms are added directly to the histograms.xml file instead of
using an actual suffix. This is to prevent excess histograms showing up
without any data in them.
Bug: 1314128
Chromium change:
https://chromium.googlesource.com/chromium/src/+/bb4382b7d2f921014b5d06d8887a37536787f5e0
commit bb4382b7d2f921014b5d06d8887a37536787f5e0
Author: Gabriel Charette <gab@chromium.org>
Date: Mon May 2 13:54:40 2022 +0000
[base] Remove base/android dependency on post_task.h
and officially remove post_task.h!
task_runner_android.cc now holds the bulk of the logic to interface
directly with TaskExecutors via TaskTraitsExtensions.
post_task_android.cc just forwards to a BASE TaskRunner.
This is vastly overkill for what this is doing at this point.
Follow-up cleanups will:
- cleanup TaskExtensionsStorage (which is mostly just carrying a
TaskType byte, the extension id being unused at this point)
- cleanup TaskExecutor (don't need to allow multiple registrations)
- and ultimately ideally have an Android equivalent to directly
call content::GetUIThreadTaskRunner() and rid of this indirection
altogether.
Bug: 1026641
This patch had been introduced as result of the following issue:
https://github.com/brave/brave-browser/issues/1684
However, this method to fetch plugin metadata has since then been
deprecated, and with it, the methods being patched have been removed.
Chromium change:
https://chromium.googlesource.com/chromium/src/+/a1734d6df773d5984ebc2fb4a5e33ae85609ed97
commit a1734d6df773d5984ebc2fb4a5e33ae85609ed97
Author: Robert Sesek <rsesek@chromium.org>
Date: Wed Apr 20 19:09:31 2022 +0000
Delete the PluginsResourceService and WebResourceService.
The PluginsResourceService was used to fetch metadata about plugin
security updates. But the relevant plugins are deprecated, so Chrome
does not need to check for these updates. Nothing else uses
WebResourceService, so it too is deleted.
The also cleans up the PluginFinder class that used the
PluginsResourceService.
Bug: 1064647
Fix the bug that currently GetNetworkId might return empty string for
preloading networks not in kInfuraSubdomains. It needs to be non-empty
for all known networks because we are using it as pref key in multiple
places.