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

Side by Side Diff: ui/views/window/dialog_delegate.h

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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_VIEWS_WINDOW_DIALOG_DELEGATE_H_ 5 #ifndef UI_VIEWS_WINDOW_DIALOG_DELEGATE_H_
6 #define UI_VIEWS_WINDOW_DIALOG_DELEGATE_H_ 6 #define UI_VIEWS_WINDOW_DIALOG_DELEGATE_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 DialogDelegateView(); 136 DialogDelegateView();
137 ~DialogDelegateView() override; 137 ~DialogDelegateView() override;
138 138
139 // Overridden from DialogDelegate: 139 // Overridden from DialogDelegate:
140 void DeleteDelegate() override; 140 void DeleteDelegate() override;
141 Widget* GetWidget() override; 141 Widget* GetWidget() override;
142 const Widget* GetWidget() const override; 142 const Widget* GetWidget() const override;
143 View* GetContentsView() override; 143 View* GetContentsView() override;
144 144
145 // Overridden from View: 145 // Overridden from View:
146 void GetAccessibleNodeData(ui::AXNodeData* node_data) override;
147 void ViewHierarchyChanged( 146 void ViewHierarchyChanged(
148 const ViewHierarchyChangedDetails& details) override; 147 const ViewHierarchyChangedDetails& details) override;
149 148
150 private: 149 private:
151 DISALLOW_COPY_AND_ASSIGN(DialogDelegateView); 150 DISALLOW_COPY_AND_ASSIGN(DialogDelegateView);
152 }; 151 };
153 152
154 } // namespace views 153 } // namespace views
155 154
156 #endif // UI_VIEWS_WINDOW_DIALOG_DELEGATE_H_ 155 #endif // UI_VIEWS_WINDOW_DIALOG_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698