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

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

Issue 144733003: Let svg event attributes be reflected the same as html event attributes. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 11 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 | « LayoutTests/fast/dom/script-tests/event-attribute-availability.js ('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 9631f8093dd7c5b891bf5ff0921f46e3ee18aaf3..454577f1dd87c54504976c3fc80efc4fcfd86d89 100644
--- a/Source/core/html/HTMLElement.h
+++ b/Source/core/html/HTMLElement.h
@@ -91,6 +91,8 @@ public:
virtual bool isInteractiveContent() const;
virtual void defaultEventHandler(Event*) OVERRIDE;
+ static const AtomicString& eventNameForAttributeName(const QualifiedName& attrName);
+
protected:
HTMLElement(const QualifiedName& tagName, Document&, ConstructionType);
@@ -122,8 +124,6 @@ private:
TranslateAttributeMode translateAttributeMode() const;
- const AtomicString& eventNameForAttributeName(const QualifiedName& attrName) const;
-
void handleKeypressEvent(KeyboardEvent*);
bool supportsSpatialNavigationFocus() const;
};
« no previous file with comments | « LayoutTests/fast/dom/script-tests/event-attribute-availability.js ('k') | Source/core/html/HTMLElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698