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

Unified Diff: Source/core/svg/SVGElement.h

Issue 20670002: REGRESSION: Click on focused link should not remove focus on it. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: move some code to SVGElement 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
Index: Source/core/svg/SVGElement.h
diff --git a/Source/core/svg/SVGElement.h b/Source/core/svg/SVGElement.h
index bb37756d55e41608ba2e941b95ac05fddbfe1c52..a0e81b27ac6af9b28482877c802fd461513cca35 100644
--- a/Source/core/svg/SVGElement.h
+++ b/Source/core/svg/SVGElement.h
@@ -136,6 +136,7 @@ protected:
SVGElementRareData* ensureSVGRareData();
void reportAttributeParsingError(SVGParsingError, const QualifiedName&, const AtomicString&);
+ bool hasFocusEventListeners() const;
private:
friend class SVGElementInstance;
@@ -147,7 +148,7 @@ private:
RenderStyle* computedStyle(PseudoId = NOPSEUDO);
virtual RenderStyle* virtualComputedStyle(PseudoId pseudoElementSpecifier = NOPSEUDO) { return computedStyle(pseudoElementSpecifier); }
virtual void willRecalcStyle(StyleChange) OVERRIDE;
-
+ virtual bool isKeyboardFocusable(KeyboardEvent*) const OVERRIDE;
virtual bool rendererIsNeeded(const NodeRenderingContext&) { return false; }
virtual bool isSupported(StringImpl* feature, StringImpl* version) const;

Powered by Google App Engine
This is Rietveld 408576698