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

Unified Diff: content/browser/renderer_host/render_widget_host_view_android.cc

Issue 11418295: Use WebCore:DateTimeChooser for date/time form types instead of considering them text fields. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 8 years 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
Index: content/browser/renderer_host/render_widget_host_view_android.cc
diff --git a/content/browser/renderer_host/render_widget_host_view_android.cc b/content/browser/renderer_host/render_widget_host_view_android.cc
index e37df9cc473e173a65f5b94fff473e6b686e051d..a38ff89929ff6782f2da073223bb9f76e45f68e6 100644
--- a/content/browser/renderer_host/render_widget_host_view_android.cc
+++ b/content/browser/renderer_host/render_widget_host_view_android.cc
@@ -274,6 +274,8 @@ void RenderWidgetHostViewAndroid::TextInputStateChanged(
if (!IsShowing())
return;
+ // TODO(miguelg): this currently dispatches messages for text inputs
+ // and date/time value inputs. Split it into two adapters.
content_view_core_->ImeUpdateAdapter(
GetNativeImeAdapter(),
static_cast<int>(params.type),

Powered by Google App Engine
This is Rietveld 408576698