[M120 Migration] Enable input picker for chrome
[platform/framework/web/chromium-efl.git] / content / child / runtime_features.cc
index 42ba66d..ef52962 100644 (file)
@@ -119,8 +119,10 @@ void SetRuntimeFeatureDefaultsForPlatform(
 
 #if BUILDFLAG(IS_EFL)
   // No plan to support complex UI for date/time INPUT types.
-  WebRuntimeFeatures::EnableInputMultipleFieldsUI(false);
-
+  if (!base::CommandLine::ForCurrentProcess()->HasSwitch(
+          blink::switches::kUseInternalPopupMenu)) {
+    WebRuntimeFeatures::EnableInputMultipleFieldsUI(false);
+  }
   // Small accelerated 2d canvas has tct issues, which are known in
   // upstream version also.
   WebRuntimeFeatures::EnableAcceleratedSmallCanvases(false);