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

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

Issue 249573002: HTMLDetailsElement should fire a 'toggle' event (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 8 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/html/HTMLDetailsElement.h
diff --git a/Source/core/html/HTMLDetailsElement.h b/Source/core/html/HTMLDetailsElement.h
index 63e447557922bd31642cb2e65686b67196fe1f58..39c7313551a7558bdda64eb70dbcecbd43b585d4 100644
--- a/Source/core/html/HTMLDetailsElement.h
+++ b/Source/core/html/HTMLDetailsElement.h
@@ -35,11 +35,15 @@ public:
private:
explicit HTMLDetailsElement(Document&);
+ void toggleEventTimerFired(Timer<HTMLDetailsElement>*);
+ void dispatchToggleEventAsync();
+
virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE;
virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERRIDE;
virtual void didAddUserAgentShadowRoot(ShadowRoot&) OVERRIDE;
virtual bool isInteractiveContent() const OVERRIDE;
+ Timer<HTMLDetailsElement> m_toggleEventTimer;
bool m_isOpen;
};

Powered by Google App Engine
This is Rietveld 408576698