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

Unified Diff: Source/core/rendering/RenderThemeChromiumAndroid.cpp

Issue 97503002: Enable datalist for text field input types on Android (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderThemeChromiumAndroid.cpp
diff --git a/Source/core/rendering/RenderThemeChromiumAndroid.cpp b/Source/core/rendering/RenderThemeChromiumAndroid.cpp
index b3393bb0a3fa5fc0883503aab4d798dcd866faa9..1a24bb4c03b4c2537e1d297ce32e8da1d2163ab9 100644
--- a/Source/core/rendering/RenderThemeChromiumAndroid.cpp
+++ b/Source/core/rendering/RenderThemeChromiumAndroid.cpp
@@ -107,7 +107,9 @@ int RenderThemeChromiumAndroid::menuListArrowPadding() const
bool RenderThemeChromiumAndroid::supportsDataListUI(const AtomicString& type) const
{
// FIXME: Add other input types.
- return type == InputTypeNames::color;
+ return type == InputTypeNames::text || type == InputTypeNames::search || type == InputTypeNames::url
+ || type == InputTypeNames::tel || type == InputTypeNames::email || type == InputTypeNames::number
+ || type == InputTypeNames::color;
}
} // namespace WebCore
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698