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

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, 3 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/HTMLElement.h
diff --git a/Source/core/html/HTMLElement.h b/Source/core/html/HTMLElement.h
index d0e09809ee2bca9d2017abd3123dc9632b29d929..1dd255d61eba8c4c35ed107d8b6150dcc3c245f3 100644
--- a/Source/core/html/HTMLElement.h
+++ b/Source/core/html/HTMLElement.h
@@ -100,6 +100,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