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

Unified Diff: third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp

Issue 2445383003: Revert "Simplify handling of text input types in RenderWidget." (Closed)
Patch Set: Created 4 years, 2 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 | « content/renderer/render_widget.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp b/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
index 7cba1b4572b99ca6156b0b851161dd045516eab7..6dbc41515164ca75f2e051ab4b76b3bee6e6654d 100644
--- a/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
+++ b/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
@@ -706,6 +706,16 @@ WebTextInputType WebFrameWidgetImpl::textInputType() {
return WebTextInputTypeTelephone;
if (type == InputTypeNames::url)
return WebTextInputTypeURL;
+ if (type == InputTypeNames::date)
+ return WebTextInputTypeDate;
+ if (type == InputTypeNames::datetime_local)
+ return WebTextInputTypeDateTimeLocal;
+ if (type == InputTypeNames::month)
+ return WebTextInputTypeMonth;
+ if (type == InputTypeNames::time)
+ return WebTextInputTypeTime;
+ if (type == InputTypeNames::week)
+ return WebTextInputTypeWeek;
if (type == InputTypeNames::text)
return WebTextInputTypeText;
« no previous file with comments | « content/renderer/render_widget.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698