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

Unified Diff: content/browser/renderer_host/ime_adapter_android.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/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 e431438677949df4fcc54947d6ca76fa3594f6ee..ee622bd53fba39df39318d3de10645e3e713196a 100644
--- a/content/browser/renderer_host/ime_adapter_android.cc
+++ b/content/browser/renderer_host/ime_adapter_android.cc
@@ -172,26 +172,6 @@ void ImeAdapterAndroid::CancelComposition() {
Java_ImeAdapter_cancelComposition(AttachCurrentThread(), java_ime_adapter_);
}
-void ImeAdapterAndroid::ReplaceDateTime(JNIEnv* env, jobject, jstring text) {
- RenderWidgetHostImpl* rwhi = RenderWidgetHostImpl::From(
- rwhva_->GetRenderWidgetHost());
- if (!rwhi)
- return;
-
- string16 text16 = ConvertJavaStringToUTF16(env, text);
- rwhi->Send(new ViewMsg_ReplaceDateTime(rwhi->GetRoutingID(), text16));
-}
-
-
-void ImeAdapterAndroid::CancelDialog(JNIEnv* env, jobject) {
- RenderWidgetHostImpl* rwhi = RenderWidgetHostImpl::From(
- rwhva_->GetRenderWidgetHost());
- if (!rwhi)
- return;
-
- rwhi->Send(new ViewMsg_CancelDateTimeDialog(rwhi->GetRoutingID()));
-}
-
void ImeAdapterAndroid::SetEditableSelectionOffsets(JNIEnv*, jobject,
int start, int end) {
RenderWidgetHostImpl* rwhi = RenderWidgetHostImpl::From(

Powered by Google App Engine
This is Rietveld 408576698