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

Unified Diff: content/browser/web_contents/web_contents_android.h

Issue 1209713002: [Android] Use WebContents text manipulation methods directly (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix null check Created 5 years, 6 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_android.h
diff --git a/content/browser/web_contents/web_contents_android.h b/content/browser/web_contents/web_contents_android.h
index 6807d06ff2f25f18c502dae12dc3d2aa07a89d54..72dc7bb7ce977a592dfe3239de9a15925a5dac81 100644
--- a/content/browser/web_contents/web_contents_android.h
+++ b/content/browser/web_contents/web_contents_android.h
@@ -46,6 +46,11 @@ class CONTENT_EXPORT WebContentsAndroid
bool IsLoadingToDifferentDocument(JNIEnv* env, jobject obj) const;
void Stop(JNIEnv* env, jobject obj);
+ void Cut(JNIEnv* env, jobject obj);
+ void Copy(JNIEnv* env, jobject obj);
+ void Paste(JNIEnv* env, jobject obj);
+ void SelectAll(JNIEnv* env, jobject obj);
+ void Unselect(JNIEnv* env, jobject obj);
jint GetBackgroundColor(JNIEnv* env, jobject obj);
base::android::ScopedJavaLocalRef<jstring> GetURL(JNIEnv* env, jobject) const;
base::android::ScopedJavaLocalRef<jstring> GetLastCommittedURL(JNIEnv* env,
« no previous file with comments | « content/browser/renderer_host/ime_adapter_android.cc ('k') | content/browser/web_contents/web_contents_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698