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

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

Issue 1170583002: Recalc style or reattach when adding or removing the audio controls attribute (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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 | « LayoutTests/media/audio-controls-style-invalidation.html ('k') | Source/core/html/HTMLAudioElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLAudioElement.h
diff --git a/Source/core/html/HTMLAudioElement.h b/Source/core/html/HTMLAudioElement.h
index ea013ad5b05b7b8365889717ad0e8ccd653d59b3..01618bf673201630fae317a1be1858453380d959 100644
--- a/Source/core/html/HTMLAudioElement.h
+++ b/Source/core/html/HTMLAudioElement.h
@@ -42,6 +42,9 @@ public:
virtual bool isHTMLAudioElement() const override { return true; }
private:
+ virtual void parseAttribute(const QualifiedName&, const AtomicString&) override;
+ virtual bool layoutObjectIsNeeded(const ComputedStyle&) override;
+
HTMLAudioElement(Document&);
};
« no previous file with comments | « LayoutTests/media/audio-controls-style-invalidation.html ('k') | Source/core/html/HTMLAudioElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698