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 menu6488801
* Use base::cstring_view in base::Environment6494292
* [A11yPerformance] Remove Add/Remove AXMode methods6418444
xref:6383275
* build: update filenames.libcxx.gni * Use base::cstring_view in base::Environment6494292
* Use getters to expose NativePixmapHandle from GpuMemoryBufferHandle6374406
--------- 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:
parent
63114e2b8e
commit
2b07e6450c
48 changed files with 174 additions and 179 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue