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

Side by Side Diff: content/browser/renderer_host/ime_adapter_android.h

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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_RENDERER_HOST_IME_ADAPTER_ANDROID_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_IME_ADAPTER_ANDROID_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_IME_ADAPTER_ANDROID_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_IME_ADAPTER_ANDROID_H_
7 7
8 #include <jni.h> 8 #include <jni.h>
9 9
10 namespace content { 10 namespace content {
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 void DeleteSurroundingText(JNIEnv*, jobject, int before, int after); 43 void DeleteSurroundingText(JNIEnv*, jobject, int before, int after);
44 void Unselect(JNIEnv*, jobject); 44 void Unselect(JNIEnv*, jobject);
45 void SelectAll(JNIEnv*, jobject); 45 void SelectAll(JNIEnv*, jobject);
46 void Cut(JNIEnv*, jobject); 46 void Cut(JNIEnv*, jobject);
47 void Copy(JNIEnv*, jobject); 47 void Copy(JNIEnv*, jobject);
48 void Paste(JNIEnv*, jobject); 48 void Paste(JNIEnv*, jobject);
49 49
50 // Called from native -> java 50 // Called from native -> java
51 void CancelComposition(); 51 void CancelComposition();
52 52
53 // Native methods related to dialog like types
54 void CancelDialog(JNIEnv*, jobject);
55 void ReplaceDateTime(JNIEnv*, jobject, jstring text);
56
57 private: 53 private:
58 RenderWidgetHostViewAndroid* rwhva_; 54 RenderWidgetHostViewAndroid* rwhva_;
59 jobject java_ime_adapter_; 55 jobject java_ime_adapter_;
60 }; 56 };
61 57
62 bool RegisterImeAdapter(JNIEnv* env); 58 bool RegisterImeAdapter(JNIEnv* env);
63 59
64 } // namespace content 60 } // namespace content
65 61
66 #endif // CONTENT_BROWSER_RENDERER_HOST_IME_ADAPTER_ANDROID_H_ 62 #endif // CONTENT_BROWSER_RENDERER_HOST_IME_ADAPTER_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698