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

Unified Diff: chrome/browser/chromeos/options/network_config_view.cc

Issue 691703002: Modified DialogDelegateView to be accessible (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added a check to GetWidget() as well Created 6 years, 2 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 | « no previous file | chrome/browser/ui/views/bookmarks/bookmark_editor_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/options/network_config_view.cc
diff --git a/chrome/browser/chromeos/options/network_config_view.cc b/chrome/browser/chromeos/options/network_config_view.cc
index a26fb837425bef8245e1627d4a1219f4b0a34133..f6fb668897a1bf6dbce6a63d02db1e4af3fee2b7 100644
--- a/chrome/browser/chromeos/options/network_config_view.cc
+++ b/chrome/browser/chromeos/options/network_config_view.cc
@@ -210,9 +210,9 @@ ui::ModalType NetworkConfigView::GetModalType() const {
}
void NetworkConfigView::GetAccessibleState(ui::AXViewState* state) {
+ views::DialogDelegateView::GetAccessibleState(state);
state->name =
l10n_util::GetStringUTF16(IDS_OPTIONS_SETTINGS_OTHER_WIFI_NETWORKS);
- state->role = ui::AX_ROLE_DIALOG;
}
void NetworkConfigView::ButtonPressed(views::Button* sender,
@@ -266,6 +266,7 @@ void NetworkConfigView::ViewHierarchyChanged(
const ViewHierarchyChangedDetails& details) {
// Can't init before we're inserted into a Container, because we require
// a HWND to parent native child controls to.
+ views::DialogDelegateView::ViewHierarchyChanged(details);
if (details.is_add && details.child == this) {
AddChildView(child_config_view_);
}
« no previous file with comments | « no previous file | chrome/browser/ui/views/bookmarks/bookmark_editor_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698