chore: bump chromium to 138.0.7154.0 (main) (#46872)

* chore: bump chromium in DEPS to 138.0.7152.0

* chore: update patches

* chore: bump chromium in DEPS to 138.0.7154.0

* chore: update patches

* ozone/wayland: Fix bookmark dropdown right click context menu

6488801

* Use base::cstring_view in base::Environment

6494292

* [A11yPerformance] Remove Add/Remove AXMode methods

6418444

xref: 6383275

* build: update filenames.libcxx.gni

* Use base::cstring_view in base::Environment

6494292

* Use getters to expose NativePixmapHandle from GpuMemoryBufferHandle

6374406

---------

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:
electron-roller[bot] 2025-05-01 23:53:40 -05:00 committed by GitHub
parent 63114e2b8e
commit 2b07e6450c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
48 changed files with 174 additions and 179 deletions

View file

@ -1167,13 +1167,12 @@ void App::SetAccessibilitySupportEnabled(gin_helper::ErrorThrower thrower,
return;
}
// TODO(wg-upgrades): crbug.com/1470199 remove use of deprecated
// AddAccessibilityModeFlags() and RemoveAccessibilityModeFlags()
auto* ax_state = content::BrowserAccessibilityState::GetInstance();
if (enabled) {
ax_state->AddAccessibilityModeFlags(ui::kAXModeComplete);
} else {
ax_state->RemoveAccessibilityModeFlags(ui::kAXModeComplete);
if (!enabled) {
scoped_accessibility_mode_.reset();
} else if (!scoped_accessibility_mode_) {
scoped_accessibility_mode_ =
content::BrowserAccessibilityState::GetInstance()
->CreateScopedModeForProcess(ui::kAXModeComplete);
}
Browser::Get()->OnAccessibilitySupportChanged();
}