mirror of
https://github.com/electron/electron.git
synced 2026-05-02 03:00:22 -04:00
chore: bump chromium to 136.0.7067.0 (36-x-y) (#46017)
* chore: bump chromium in DEPS to 136.0.7066.1 * chore: bump chromium in DEPS to 136.0.7067.0 * chore: bump chromium in DEPS to 136.0.7067.3 * chore: bump chromium in DEPS to 136.0.7069.1 * chore: bump chromium in DEPS to 136.0.7071.0 * chore: bump chromium in DEPS to 136.0.7073.1 * chore: bump chromium in DEPS to 136.0.7075.1 * chore: bump chromium in DEPS to 136.0.7076.1 * chore: bump chromium in DEPS to 136.0.7077.1 * chore: bump chromium to 136.0.7064.0 (main) (#45985) * chore: bump chromium in DEPS to 136.0.7063.0 * chore: bump chromium in DEPS to 136.0.7064.0 * 6169919: Instantiate Linux (or CrOS) system fonts using Fontations Refs https://chromium-review.googlesource.com/c/chromium/src/+/6169919 * 6341209: Remove file-wide unsafe buffer suppression from content/ [1 of N]. Refs https://chromium-review.googlesource.com/c/chromium/src/+/6341209 * chore: update patches --------- Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com> Co-authored-by: David Sanders <dsanders11@ucsbalum.com> (cherry picked from commit962d8b325a) * chore: bump chromium to 136.0.7067.0 (main) (#46018) * chore: bump chromium in DEPS to 136.0.7066.0 * chore: bump chromium in DEPS to 136.0.7067.0 * 6325710: [LNA] Add Local Network Access permission type Refs https://chromium-review.googlesource.com/c/chromium/src/+/6325710 * 6342514: Create frame mojo endpoints in renderer during window.open() Refs https://chromium-review.googlesource.com/c/chromium/src/+/6342514 * 6344040: Create widget mojo endpoints in renderer process for window.open() Refs https://chromium-review.googlesource.com/c/chromium/src/+/6344040 * chore: update patches * 6349218: Move ExtensionService::install_directory() to ExtensionRegistrar Refs https://chromium-review.googlesource.com/c/chromium/src/+/6349218 * 6349395: Move ExtensionService::extensions_enabled() to ExtensionRegistrar Refs https://chromium-review.googlesource.com/c/chromium/src/+/6349395 * 6331510: Migrate views::Background class to ui::ColorVariant | https://chromium-review.googlesource.com/c/chromium/src/+/6331510 * build: reorder set-cookie step https://github.com/electron/electron/pull/46091 --------- Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com> Co-authored-by: David Sanders <dsanders11@ucsbalum.com> Co-authored-by: alice <alice@makenotion.com> (cherry picked from commitb13f05e2dc) * chore: update patch --------- Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com> Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
This commit is contained in:
committed by
GitHub
parent
b7a28f31d8
commit
3772e267c3
@@ -15,10 +15,12 @@
|
||||
#include "base/task/sequenced_task_runner.h"
|
||||
#include "base/threading/thread_restrictions.h"
|
||||
#include "base/time/time.h"
|
||||
#include "content/public/browser/browser_context.h"
|
||||
#include "extensions/browser/extension_file_task_runner.h"
|
||||
#include "extensions/browser/extension_prefs.h"
|
||||
#include "extensions/browser/extension_registry.h"
|
||||
#include "extensions/browser/pref_names.h"
|
||||
#include "extensions/common/constants.h"
|
||||
#include "extensions/common/error_utils.h"
|
||||
#include "extensions/common/file_util.h"
|
||||
#include "extensions/common/manifest_constants.h"
|
||||
@@ -95,7 +97,10 @@ ElectronExtensionLoader::ElectronExtensionLoader(
|
||||
content::BrowserContext* browser_context)
|
||||
: browser_context_(browser_context),
|
||||
extension_registrar_(ExtensionRegistrar::Get(browser_context)) {
|
||||
extension_registrar_->SetDelegate(this);
|
||||
extension_registrar_->Init(
|
||||
this, /*extensions_enabled=*/true,
|
||||
browser_context_->GetPath().AppendASCII(kInstallDirectoryName),
|
||||
browser_context_->GetPath().AppendASCII(kUnpackedInstallDirectoryName));
|
||||
}
|
||||
|
||||
ElectronExtensionLoader::~ElectronExtensionLoader() = default;
|
||||
|
||||
@@ -1221,7 +1221,7 @@ SkColor NativeWindowViews::GetBackgroundColor() const {
|
||||
auto* background = root_view_.background();
|
||||
if (!background)
|
||||
return SK_ColorTRANSPARENT;
|
||||
return background->get_color();
|
||||
return background->color().ConvertToSkColor(root_view_.GetColorProvider());
|
||||
}
|
||||
|
||||
void NativeWindowViews::SetBackgroundColor(SkColor background_color) {
|
||||
|
||||
@@ -206,7 +206,8 @@ void MenuBar::ViewHierarchyChanged(
|
||||
const views::ViewHierarchyChangedDetails& details) {
|
||||
views::AccessiblePaneView::ViewHierarchyChanged(details);
|
||||
#if BUILDFLAG(IS_WIN)
|
||||
background_color_ = GetBackground()->get_color();
|
||||
background_color_ =
|
||||
GetBackground()->color().ConvertToSkColor(root_view_->GetColorProvider());
|
||||
#endif
|
||||
}
|
||||
|
||||
@@ -219,7 +220,8 @@ void MenuBar::RefreshColorCache(const ui::NativeTheme* theme) {
|
||||
disabled_color_ = gtk::GetFgColor(
|
||||
"GtkMenuBar#menubar GtkMenuItem#menuitem:disabled GtkLabel");
|
||||
#elif BUILDFLAG(IS_WIN)
|
||||
background_color_ = GetBackground()->get_color();
|
||||
background_color_ = GetBackground()->color().ConvertToSkColor(
|
||||
root_view_->GetColorProvider());
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
@@ -223,6 +223,8 @@ v8::Local<v8::Value> Converter<blink::PermissionType>::ToV8(
|
||||
return StringToV8(isolate, "speaker-selection");
|
||||
case blink::PermissionType::WEB_APP_INSTALLATION:
|
||||
return StringToV8(isolate, "web-app-installation");
|
||||
case blink::PermissionType::LOCAL_NETWORK_ACCESS:
|
||||
return StringToV8(isolate, "local-network-access");
|
||||
case blink::PermissionType::DEPRECATED_SYNC_CLIPBOARD_READ:
|
||||
return StringToV8(isolate, "deprecated-sync-clipboard-read");
|
||||
case blink::PermissionType::NUM:
|
||||
|
||||
Reference in New Issue
Block a user