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

Unified Diff: Source/core/svg/SVGStyledElement.cpp

Issue 20670002: REGRESSION: Click on focused link should not remove focus on it. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: typo Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/svg/SVGStyledElement.h ('k') | Source/core/svg/SVGSwitchElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGStyledElement.cpp
diff --git a/Source/core/svg/SVGStyledElement.cpp b/Source/core/svg/SVGStyledElement.cpp
index 5f57599a31e00f40010119333558e346e2234a9b..03a7bdf1c060710fc8393bed6b5fa84705d2a70f 100644
--- a/Source/core/svg/SVGStyledElement.cpp
+++ b/Source/core/svg/SVGStyledElement.cpp
@@ -469,17 +469,4 @@ void SVGStyledElement::updateRelativeLengthsInformation(bool hasRelativeLengths,
}
}
-bool SVGStyledElement::isMouseFocusable() const
-{
- if (!isFocusable())
- return false;
- Element* eventTarget = const_cast<SVGStyledElement *>(this);
- return eventTarget->hasEventListeners(eventNames().focusinEvent) || eventTarget->hasEventListeners(eventNames().focusoutEvent);
-}
-
-bool SVGStyledElement::isKeyboardFocusable(KeyboardEvent*) const
-{
- return isMouseFocusable();
-}
-
}
« no previous file with comments | « Source/core/svg/SVGStyledElement.h ('k') | Source/core/svg/SVGSwitchElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698