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

Unified Diff: Source/core/html/HTMLInputElement.cpp

Issue 696123002: Revert of Use Shadow DOM to display fallback content for images (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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
« no previous file with comments | « Source/core/html/HTMLInputElement.h ('k') | Source/core/html/forms/BaseButtonInputType.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLInputElement.cpp
diff --git a/Source/core/html/HTMLInputElement.cpp b/Source/core/html/HTMLInputElement.cpp
index 8e399e576052eed379dec9e843c973351525068f..d0704564663d4357c2add46e8a78209cd188920e 100644
--- a/Source/core/html/HTMLInputElement.cpp
+++ b/Source/core/html/HTMLInputElement.cpp
@@ -128,7 +128,9 @@
, m_inputType(InputType::createText(*this))
, m_inputTypeView(m_inputType)
{
+#if ENABLE(INPUT_MULTIPLE_FIELDS_UI)
setHasCustomStyleCallbacks();
+#endif
}
PassRefPtrWillBeRawPtr<HTMLInputElement> HTMLInputElement::create(Document& document, HTMLFormElement* form, bool createdByParser)
@@ -1829,10 +1831,12 @@
return m_inputType->isInteractiveContent();
}
+#if ENABLE(INPUT_MULTIPLE_FIELDS_UI)
PassRefPtr<RenderStyle> HTMLInputElement::customStyleForRenderer()
{
return m_inputTypeView->customStyleForRenderer(originalStyleForRenderer());
}
+#endif
bool HTMLInputElement::shouldDispatchFormControlChangeEvent(String& oldValue, String& newValue)
{
@@ -1849,14 +1853,4 @@
return m_inputTypeView->popupRootAXObject();
}
-void HTMLInputElement::ensureFallbackContent()
-{
- m_inputTypeView->ensureFallbackContent();
-}
-
-void HTMLInputElement::ensurePrimaryContent()
-{
- m_inputTypeView->ensurePrimaryContent();
-}
-
} // namespace
« no previous file with comments | « Source/core/html/HTMLInputElement.h ('k') | Source/core/html/forms/BaseButtonInputType.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698