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

Unified Diff: Source/core/html/HTMLElement.h

Issue 16959002: Spatial navigation enhancements (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added null checks for document()->settings() Created 7 years, 6 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/dom/KeyboardEvent.h ('k') | Source/core/html/HTMLElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLElement.h
diff --git a/Source/core/html/HTMLElement.h b/Source/core/html/HTMLElement.h
index 3f93fc20fec50d2e6077f4ea3da19c473ea303dc..04fe7b90ee0bb7fa39ef8f662f7bf16d9de84208 100644
--- a/Source/core/html/HTMLElement.h
+++ b/Source/core/html/HTMLElement.h
@@ -92,6 +92,8 @@ public:
virtual bool isLabelable() const { return false; }
+ virtual void defaultEventHandler(Event*) OVERRIDE;
+
protected:
HTMLElement(const QualifiedName& tagName, Document*, ConstructionType);
@@ -127,6 +129,9 @@ private:
TranslateAttributeMode translateAttributeMode() const;
AtomicString eventNameForAttributeName(const QualifiedName& attrName) const;
+
+ void handleKeypressEvent(KeyboardEvent*);
+ bool supportsSpatialNavigationFocus() const;
};
inline HTMLElement* toHTMLElement(Node* node)
« no previous file with comments | « Source/core/dom/KeyboardEvent.h ('k') | Source/core/html/HTMLElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698