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

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

Issue 23236002: Prepare for color input datalist support 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 | « Source/core/html/forms/ColorInputType.cpp ('k') | Source/platform/ColorChooserClient.h » ('j') | 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 f3ee81fa0424f5b0af97771c3760acc79fa25c99..282ad6041816a5710e7df8381d698d74da1d3af5 100644
--- a/Source/core/rendering/RenderThemeChromiumAndroid.cpp
+++ b/Source/core/rendering/RenderThemeChromiumAndroid.cpp
@@ -28,6 +28,7 @@
#include "CSSValueKeywords.h"
#include "UserAgentStyleSheets.h"
+#include "core/html/forms/InputTypeNames.h"
#include "core/platform/ScrollbarTheme.h"
#include "core/rendering/PaintInfo.h"
#include "core/rendering/RenderMediaControls.h"
@@ -105,7 +106,8 @@ int RenderThemeChromiumAndroid::menuListArrowPadding() const
bool RenderThemeChromiumAndroid::supportsDataListUI(const AtomicString& type) const
{
- return false;
+ // FIXME: Add other input types.
+ return type == InputTypeNames::color();
}
} // namespace WebCore
« no previous file with comments | « Source/core/html/forms/ColorInputType.cpp ('k') | Source/platform/ColorChooserClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698