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

Unified Diff: Source/core/html/forms/InputTypeView.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 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/forms/InputTypeView.h
diff --git a/Source/core/html/forms/InputTypeView.h b/Source/core/html/forms/InputTypeView.h
index 9296078b6b53054ab04fc5881900b83580113d8f..901a496d74b65e29a2ac116718f7f51befe37caa 100644
--- a/Source/core/html/forms/InputTypeView.h
+++ b/Source/core/html/forms/InputTypeView.h
@@ -119,6 +119,9 @@ public:
virtual void updateClearButtonVisibility();
virtual void updatePlaceholderText();
virtual AXObject* popupRootAXObject();
+ virtual void ensureFallbackContent() { };
+ virtual void ensurePrimaryContent() { };
+ virtual bool hasFallbackContent() const { return false; };
protected:
InputTypeView(HTMLInputElement& element) : m_element(&element) { }

Powered by Google App Engine
This is Rietveld 408576698