chore: bump chromium to 137.0.7141.0 (main) (#46725)
* chore: bump chromium in DEPS to 137.0.7139.0 * chore: bump chromium in DEPS to 137.0.7141.0 * chore: update patches Refs6474596
Refs6443472
Refs6471184
* [ServiceWorker] Pipe is_for_service_worker into OverrideURLLoaderFactoryParams Refs6459481
* Reland "[PermissionOptions] Use PermissionDescriptorPtr in PermissionControllerDelegate" Refs6455975
* clickiness: Check attestation and user settings on origins Refs6356796
* extensions : Move ReloadExtension from ExtensionService Refs6472812
Refs6472777
* fixup! Update AppleKeychain API to be friendlier Refs6443472
* chore: script/gen-libc++-filenames.js * Rename ColorVariant::CovertToSkColor() to ColorVariant::ResolveToSkColor() Refs6373793
* [headless] Provide headless aware window metrics on Windows Refs6374074
--------- Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com> Co-authored-by: deepak1556 <hop2deep@gmail.com>
This commit is contained in:
parent
e9f279afd1
commit
08b7a1f801
68 changed files with 393 additions and 371 deletions
|
@ -207,7 +207,7 @@ void MenuBar::ViewHierarchyChanged(
|
|||
views::AccessiblePaneView::ViewHierarchyChanged(details);
|
||||
#if BUILDFLAG(IS_WIN)
|
||||
background_color_ =
|
||||
GetBackground()->color().ConvertToSkColor(root_view_->GetColorProvider());
|
||||
GetBackground()->color().ResolveToSkColor(root_view_->GetColorProvider());
|
||||
#endif
|
||||
}
|
||||
|
||||
|
@ -220,7 +220,7 @@ void MenuBar::RefreshColorCache(const ui::NativeTheme* theme) {
|
|||
disabled_color_ = gtk::GetFgColor(
|
||||
"GtkMenuBar#menubar GtkMenuItem#menuitem:disabled GtkLabel");
|
||||
#elif BUILDFLAG(IS_WIN)
|
||||
background_color_ = GetBackground()->color().ConvertToSkColor(
|
||||
background_color_ = GetBackground()->color().ResolveToSkColor(
|
||||
root_view_->GetColorProvider());
|
||||
#endif
|
||||
}
|
||||
|
|
|
@ -68,7 +68,7 @@ bool ElectronDesktopWindowTreeHostWin::GetDwmFrameInsetsInPixels(
|
|||
|
||||
bool ElectronDesktopWindowTreeHostWin::GetClientAreaInsets(
|
||||
gfx::Insets* insets,
|
||||
HMONITOR monitor) const {
|
||||
int frame_thickness) const {
|
||||
// Windows by default extends the maximized window slightly larger than
|
||||
// current workspace, for frameless window since the standard frame has been
|
||||
// removed, the client area would then be drew outside current workspace.
|
||||
|
|
|
@ -38,7 +38,7 @@ class ElectronDesktopWindowTreeHostWin : public views::DesktopWindowTreeHostWin,
|
|||
bool ShouldPaintAsActive() const override;
|
||||
bool GetDwmFrameInsetsInPixels(gfx::Insets* insets) const override;
|
||||
bool GetClientAreaInsets(gfx::Insets* insets,
|
||||
HMONITOR monitor) const override;
|
||||
int frame_thickness) const override;
|
||||
bool HandleMouseEventForCaption(UINT message) const override;
|
||||
bool HandleMouseEvent(ui::MouseEvent* event) override;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue