Commit 2140eecd authored by Yulun Wu's avatar Yulun Wu Committed by Chromium LUCI CQ

Live Updates for app list background shield.

Bug: 1139478
Change-Id: I9fd0a87bcc2086e27a5c4b3b6c025c2ff4065dbc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2623672
Commit-Queue: Alex Newcomer <newcomer@chromium.org>
Reviewed-by: default avatarAlex Newcomer <newcomer@chromium.org>
Cr-Commit-Position: refs/heads/master@{#842611}
parent d214b84e
......@@ -869,6 +869,11 @@ void AppListView::Layout() {
UpdateAppListBackgroundYPosition(app_list_state_);
}
void AppListView::OnThemeChanged() {
views::View::OnThemeChanged();
SetBackgroundShieldColor();
}
ax::mojom::Role AppListView::GetAccessibleWindowRole() {
// Default role of root view is ax::mojom::Role::kWindow which traps ChromeVox
// focus within the root view. Assign ax::mojom::Role::kGroup here to allow
......
......@@ -186,6 +186,7 @@ class APP_LIST_EXPORT AppListView : public views::WidgetDelegateView,
const char* GetClassName() const override;
bool AcceleratorPressed(const ui::Accelerator& accelerator) override;
void Layout() override;
void OnThemeChanged() override;
// WidgetDelegate:
ax::mojom::Role GetAccessibleWindowRole() override;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment