summaryrefslogtreecommitdiffstats
path: root/views/controls/link.cc
diff options
context:
space:
mode:
authorajwong@chromium.org <ajwong@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-16 04:48:43 +0000
committerajwong@chromium.org <ajwong@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-16 04:48:43 +0000
commitd573d3bf7a23f5c7f65c8d856d20b49e47672e45 (patch)
tree679f67c5d3e314eabde531c240ce4e09e42b3885 /views/controls/link.cc
parentc5bc458d56735c5b0d618d053490a8a3a61d303a (diff)
downloadchromium_src-d573d3bf7a23f5c7f65c8d856d20b49e47672e45.zip
chromium_src-d573d3bf7a23f5c7f65c8d856d20b49e47672e45.tar.gz
chromium_src-d573d3bf7a23f5c7f65c8d856d20b49e47672e45.tar.bz2
Revert "Landing tfarina CL. " because it broke Interactive UI tests on Linux and Windows.
This reverts r41640. Review URL: http://codereview.chromium.org/1037001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41676 0039d316-1c4b-4281-b951-d872f2087c98
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();