Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(782)

Unified Diff: ui/views/window/dialog_delegate.cc

Issue 2980713002: Views a11y: Obey DialogDelegate::GetAccessibleWindowRole() rather than making a dialog-within-a-dia… (Closed)
Patch Set: Fix test Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/views/window/dialog_delegate.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/window/dialog_delegate.cc
diff --git a/ui/views/window/dialog_delegate.cc b/ui/views/window/dialog_delegate.cc
index 0acad06b42ba6e5e89208cfa6be6935ceaa8d939..0484d5d06fd30b44d3c88f40e7107f22e0e2bc52 100644
--- a/ui/views/window/dialog_delegate.cc
+++ b/ui/views/window/dialog_delegate.cc
@@ -257,11 +257,6 @@ View* DialogDelegateView::GetContentsView() {
return this;
}
-void DialogDelegateView::GetAccessibleNodeData(ui::AXNodeData* node_data) {
- node_data->SetName(GetWindowTitle());
msw 2017/07/12 17:14:34 Where does the window title get pushed into the ax
tapted 2017/07/12 23:29:57 This still happens in RootView: void RootView::Ge
- node_data->role = ui::AX_ROLE_DIALOG;
-}
-
void DialogDelegateView::ViewHierarchyChanged(
const ViewHierarchyChangedDetails& details) {
if (details.is_add && details.child == this && GetWidget())
« no previous file with comments | « ui/views/window/dialog_delegate.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698