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

Unified Diff: views/controls/link.cc

Issue 1616004: Fix Regression for Accessible Names (Closed)
Patch Set: 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
« chrome/browser/views/tabs/tab_renderer.cc ('K') | « views/controls/link.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/controls/link.cc
diff --git a/views/controls/link.cc b/views/controls/link.cc
index 083870c3d861f231ec2ae226e0f2b43aab1723c3..b258217bef539fda418b2a77ed2649b6a6be4ff1 100644
--- a/views/controls/link.cc
+++ b/views/controls/link.cc
@@ -151,13 +151,6 @@ bool Link::GetAccessibleRole(AccessibilityTypes::Role* role) {
return true;
}
-bool Link::GetAccessibleName(std::wstring* name) {
- DCHECK(name);
-
- *name = GetText();
- return !name->empty();
-}
-
void Link::SetFont(const gfx::Font& font) {
Label::SetFont(font);
ValidateStyle();
« chrome/browser/views/tabs/tab_renderer.cc ('K') | « views/controls/link.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698