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

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

Issue 2285923002: Simplify handling of text input types in RenderWidget. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed the glitch. Created 4 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 | « content/renderer/render_widget.cc ('k') | third_party/WebKit/public/web/WebTextInputType.h » ('j') | 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 9d3617c904ecf60aa3a0398948fd4a7d1eadf1d9..4104a0dc72072fe592113d9ba9ac78bb3cae5793 100644
--- a/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
+++ b/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
@@ -687,16 +687,6 @@ 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') | third_party/WebKit/public/web/WebTextInputType.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698