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

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, 4 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
« no previous file with comments | « no previous file | Source/web/ChromeClientImpl.h » ('j') | Source/web/ColorChooserUIController.cpp » ('J')
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 e316abf55783f38a99896db673bfedc34bd68e5e..d722c6b5af36e0b1dbf61476a67caaf6cf3000c6 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/InputTypeNames.h"
#include "core/platform/LayoutTestSupport.h"
#include "core/platform/ScrollbarTheme.h"
#include "core/platform/graphics/Color.h"
@@ -105,7 +106,7 @@ int RenderThemeChromiumAndroid::menuListArrowPadding() const
bool RenderThemeChromiumAndroid::supportsDataListUI(const AtomicString& type) const
{
- return false;
+ return type == InputTypeNames::color();
}
} // namespace WebCore
« no previous file with comments | « no previous file | Source/web/ChromeClientImpl.h » ('j') | Source/web/ColorChooserUIController.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698