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

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

Issue 481753002: Use Shadow DOM to display fallback content for images (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated Created 6 years, 1 month 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/HTMLElement.h
diff --git a/Source/core/html/HTMLElement.h b/Source/core/html/HTMLElement.h
index ab3e9a052fa5eea3bf44ed05fc08ba5502d72984..1e280bccc3740ce0f12f99aac784456b11fc0542 100644
--- a/Source/core/html/HTMLElement.h
+++ b/Source/core/html/HTMLElement.h
@@ -99,6 +99,10 @@ public:
HTMLMenuElement* contextMenu() const;
void setContextMenu(HTMLMenuElement*);
+ virtual void ensureFallbackContent() { }
+ virtual void ensurePrimaryContent() { }
+ virtual String altText() const { return String(); }
+
protected:
HTMLElement(const QualifiedName& tagName, Document&, ConstructionType);

Powered by Google App Engine
This is Rietveld 408576698