chore: bump chromium to 136.0.7058.1 (main) (#45928)
* chore: bump chromium in DEPS to 136.0.7056.0 * chore: update mas_avoid_private_macos_api_usage.patch.patch no manual changes; patch applied with fuzz * chore: update fix_adapt_exclusive_access_for_electron_needs.patch patch applied manually due to context shear 6319958: [FS] Replace GURL with url::Origin for Excluisve Access Bubble |6319958
* chore: update feat_allow_usage_of_sccontentsharingpicker_on_supported_platforms.patch no manual changes; patch applied with fuzz 6311876: Expose captured surface resolution for MacOS |6311876
* chore: e patches all * 6319958: [FS] Replace GURL with url::Origin for Excluisve Access Bubble |6319958
* 6326673: views: Delete the single-parameter Widget::InitParams constructor. |6326673
*6331102
* 6331102: [A11yPerformance] Rename AXMode::kScreenReader to kExtendedProperties |6331102
Sync with shell/browser/ui/webui/accessibility_ui.cc to upstream chrome/browser/accessibility/accessibility_ui.cc changes in 4af8657 * chore: bump Chromium 136.0.7058.1 (#45933) chore: bump chromium in DEPS to 136.0.7058.1 --------- Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com> Co-authored-by: Charles Kerr <charles@charleskerr.com>
This commit is contained in:
parent
9b2e7db469
commit
b0c11371e0
33 changed files with 115 additions and 113 deletions
|
@ -1400,7 +1400,7 @@ bool WebContents::IsFullscreen() const {
|
|||
return owner_window()->IsFullscreen() || is_html_fullscreen();
|
||||
}
|
||||
|
||||
void WebContents::EnterFullscreen(const GURL& url,
|
||||
void WebContents::EnterFullscreen(const url::Origin& origin,
|
||||
ExclusiveAccessBubbleType bubble_type,
|
||||
const int64_t display_id) {}
|
||||
|
||||
|
|
|
@ -684,7 +684,7 @@ class WebContents final : public ExclusiveAccessContext,
|
|||
// ExclusiveAccessContext:
|
||||
Profile* GetProfile() override;
|
||||
bool IsFullscreen() const override;
|
||||
void EnterFullscreen(const GURL& url,
|
||||
void EnterFullscreen(const url::Origin& origin,
|
||||
ExclusiveAccessBubbleType bubble_type,
|
||||
const int64_t display_id) override;
|
||||
void ExitFullscreen() override {}
|
||||
|
|
|
@ -73,7 +73,9 @@ void AutofillPopupView::Show() {
|
|||
// a weak pointer to hold the reference and don't have to worry about
|
||||
// deletion.
|
||||
auto* widget = new views::Widget;
|
||||
views::Widget::InitParams params(views::Widget::InitParams::TYPE_POPUP);
|
||||
views::Widget::InitParams params{
|
||||
views::Widget::InitParams::NATIVE_WIDGET_OWNS_WIDGET,
|
||||
views::Widget::InitParams::TYPE_POPUP};
|
||||
params.delegate = this;
|
||||
params.parent = parent_widget_->GetNativeView();
|
||||
params.z_order = ui::ZOrderLevel::kFloatingUIElement;
|
||||
|
|
|
@ -78,7 +78,7 @@ constexpr std::string_view kLocked = "locked";
|
|||
constexpr std::string_view kNative = "native";
|
||||
constexpr std::string_view kPage = "page";
|
||||
constexpr std::string_view kPDFPrinting = "pdfPrinting";
|
||||
constexpr std::string_view kScreenReader = "screenreader";
|
||||
constexpr std::string_view kExtendedProperties = "extendedProperties";
|
||||
constexpr std::string_view kShowOrRefreshTree = "showOrRefreshTree";
|
||||
constexpr std::string_view kText = "text";
|
||||
constexpr std::string_view kWeb = "web";
|
||||
|
@ -165,7 +165,7 @@ void HandleAccessibilityRequestCallback(
|
|||
bool native = mode.has_mode(ui::AXMode::kNativeAPIs);
|
||||
bool web = mode.has_mode(ui::AXMode::kWebContents);
|
||||
bool text = mode.has_mode(ui::AXMode::kInlineTextBoxes);
|
||||
bool screenreader = mode.has_mode(ui::AXMode::kScreenReader);
|
||||
bool extendedProperties = mode.has_mode(ui::AXMode::kExtendedProperties);
|
||||
bool html = mode.has_mode(ui::AXMode::kHTML);
|
||||
bool pdf_printing = mode.has_mode(ui::AXMode::kPDFPrinting);
|
||||
|
||||
|
@ -174,12 +174,12 @@ void HandleAccessibilityRequestCallback(
|
|||
data.Set(kNative, is_native_enabled ? (native ? kOn : kOff) : kDisabled);
|
||||
data.Set(kWeb, is_native_enabled ? (web ? kOn : kOff) : kDisabled);
|
||||
|
||||
// The "text", "screenreader" and "html" flags are only
|
||||
// The "text", "extendedProperties" and "html" flags are only
|
||||
// meaningful if "web" is enabled.
|
||||
bool is_web_enabled = is_native_enabled && web;
|
||||
data.Set(kText, is_web_enabled ? (text ? kOn : kOff) : kDisabled);
|
||||
data.Set(kScreenReader,
|
||||
is_web_enabled ? (screenreader ? kOn : kOff) : kDisabled);
|
||||
data.Set(kExtendedProperties,
|
||||
is_web_enabled ? (extendedProperties ? kOn : kOff) : kDisabled);
|
||||
data.Set(kHTML, is_web_enabled ? (html ? kOn : kOff) : kDisabled);
|
||||
|
||||
// The "pdfPrinting" flag is independent of the others.
|
||||
|
@ -246,7 +246,7 @@ void HandleAccessibilityRequestCallback(
|
|||
|
||||
base::Value::Dict descriptor = BuildTargetDescriptor(rvh);
|
||||
descriptor.Set(kNative, is_native_enabled);
|
||||
descriptor.Set(kScreenReader, is_web_enabled && screenreader);
|
||||
descriptor.Set(kExtendedProperties, is_web_enabled && extendedProperties);
|
||||
descriptor.Set(kWeb, is_web_enabled);
|
||||
page_list.Append(std::move(descriptor));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue