summaryrefslogtreecommitdiffstats
path: root/views/controls/link.cc
diff options
context:
space:
mode:
Diffstat (limited to 'views/controls/link.cc')
-rw-r--r--views/controls/link.cc15
1 files changed, 1 insertions, 14 deletions
diff --git a/views/controls/link.cc b/views/controls/link.cc
index 80172e2..e83c0cd 100644
--- a/views/controls/link.cc
+++ b/views/controls/link.cc
@@ -51,6 +51,7 @@ void GetColors(const SkColor* background_color, // NULL means "use default"
*normal_color = kNormalColor;
}
}
+
}
namespace views {
@@ -144,20 +145,6 @@ bool Link::SkipDefaultKeyEventProcessing(const KeyEvent& e) {
(e.GetKeyCode() == base::VKEY_RETURN);
}
-bool Link::GetAccessibleRole(AccessibilityTypes::Role* role) {
- DCHECK(role);
-
- *role = AccessibilityTypes::ROLE_LINK;
- 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();