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

Unified Diff: content/browser/web_contents/web_contents_impl.cc

Issue 12191005: Move Android Date/Time parsing to the renderer (C++ and ICU) instead of the current parsing that ha… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased view_messages.h and fixed the link issue on the linux bot Created 7 years, 10 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
Index: content/browser/web_contents/web_contents_impl.cc
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
index a062f18fa47c36b9e53e08b35ae69a888ea4bc64..02dbcb0de1ffb3b50bfc79592d1524b91530610d 100644
--- a/content/browser/web_contents/web_contents_impl.cc
+++ b/content/browser/web_contents/web_contents_impl.cc
@@ -2350,9 +2350,12 @@ void WebContentsImpl::OnFindMatchRectsReply(
delegate_->FindMatchRectsReply(this, version, rects, active_rect);
}
-void WebContentsImpl::OnOpenDateTimeDialog(int type, const std::string& value) {
+void WebContentsImpl::OnOpenDateTimeDialog(
+ const ViewHostMsg_DateTimeDialogValue_Params& value) {
date_time_chooser_->ShowDialog(
- GetContentNativeView(), GetRenderViewHost(), type, value);
+ GetContentNativeView(), GetRenderViewHost(), value.dialog_type,
+ value.year, value.month, value.day, value.hour,
+ value.minute, value.second);
}
#endif

Powered by Google App Engine
This is Rietveld 408576698