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

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

Issue 166163005: [SVG2] Add tabindex handling in svg. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: review fs+chris Created 6 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
Index: Source/core/svg/SVGElement.h
diff --git a/Source/core/svg/SVGElement.h b/Source/core/svg/SVGElement.h
index 020e091ad38d5d9f3aa63a7fdf734124c7100526..c8a00ba1e328bdf1ff84e31e531d97d6c8e2a1ec 100644
--- a/Source/core/svg/SVGElement.h
+++ b/Source/core/svg/SVGElement.h
@@ -51,6 +51,10 @@ class SVGElement : public Element {
public:
virtual ~SVGElement();
+ virtual bool supportsFocus() const OVERRIDE;
+ virtual short tabIndex() const OVERRIDE;
+ void setTabIndex(int);
+
bool isOutermostSVGSVGElement() const;
virtual String title() const OVERRIDE;
@@ -192,13 +196,14 @@ private:
RenderStyle* computedStyle(PseudoId = NOPSEUDO);
virtual RenderStyle* virtualComputedStyle(PseudoId pseudoElementSpecifier = NOPSEUDO) OVERRIDE FINAL { return computedStyle(pseudoElementSpecifier); }
virtual void willRecalcStyle(StyleRecalcChange) OVERRIDE;
- virtual bool isKeyboardFocusable() const OVERRIDE;
void buildPendingResourcesIfNeeded();
void mapInstanceToElement(SVGElementInstance*);
void removeInstanceMapping(SVGElementInstance*);
+ bool supportsSpatialNavigationFocus() const;
+
void cleanupAnimatedProperties();
friend class CleanUpAnimatedPropertiesCaller;

Powered by Google App Engine
This is Rietveld 408576698