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

Unified Diff: views/controls/button/checkbox.cc

Issue 1102006: Add Accessibility name for native buttons. (Closed)
Patch Set: Add Accessibility for Native Buttons Created 10 years, 9 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 | « views/controls/button/checkbox.h ('k') | views/controls/button/native_button.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/controls/button/checkbox.cc
diff --git a/views/controls/button/checkbox.cc b/views/controls/button/checkbox.cc
index ac756cd64ad8659ec2d1c4ee02dfca4e54ea0cd0..196f40e134d91ceea71b2f3642e234115b75946c 100644
--- a/views/controls/button/checkbox.cc
+++ b/views/controls/button/checkbox.cc
@@ -160,12 +160,6 @@ bool Checkbox::GetAccessibleRole(AccessibilityTypes::Role* role) {
return true;
}
-bool Checkbox::GetAccessibleName(std::wstring* name) {
- DCHECK(name);
- *name = label_->GetText();
- return !name->empty();
-}
-
std::string Checkbox::GetClassName() const {
return kViewClassName;
}
« no previous file with comments | « views/controls/button/checkbox.h ('k') | views/controls/button/native_button.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698