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

Unified Diff: content/browser/renderer_host/ime_adapter_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
« no previous file with comments | « no previous file | content/content_renderer.gypi » ('j') | content/renderer/render_widget.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/ime_adapter_android.cc
diff --git a/content/browser/renderer_host/ime_adapter_android.cc b/content/browser/renderer_host/ime_adapter_android.cc
index 3cae5ec00d87c0eb10b9687cdb3cc3003c7affe4..d2459609eba772b97c82fa23a65ff0408985e201 100644
--- a/content/browser/renderer_host/ime_adapter_android.cc
+++ b/content/browser/renderer_host/ime_adapter_android.cc
@@ -63,6 +63,11 @@ bool RegisterImeAdapter(JNIEnv* env) {
WebKit::WebInputEvent::ControlKey,
WebKit::WebInputEvent::CapsLockOn,
WebKit::WebInputEvent::NumLockOn);
+ // TODO(miguelg) note that WebKit is removing the date time related
+ // elements from the enum since they are no longer part of the text input
+ // possibilities. As the entry point is now different we can actually
+ // tell the IME adapter if it's a dialog type or not without having to
+ // reply on the enum values for that.
Java_ImeAdapter_initializeTextInputTypes(
env,
ui::TEXT_INPUT_TYPE_NONE,
« no previous file with comments | « no previous file | content/content_renderer.gypi » ('j') | content/renderer/render_widget.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698