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

Unified Diff: content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java

Issue 10993089: Upstream Android implementation of WebContentsViewDelegate. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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/public/android/java/src/org/chromium/content/browser/ContentViewCore.java
diff --git a/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java b/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java
index 49513764f448caa89147240b87fa99d4138724de..3b2ad282733eedc8fae5d58350fca076b2b80b3e 100644
--- a/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java
+++ b/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java
@@ -1345,6 +1345,15 @@ public class ContentViewCore implements MotionEventDelegate {
getContentViewClient().onEvaluateJavaScriptResult(id, jsonResult);
}
+ @SuppressWarnings("unused")
+ @CalledByNative
+ private void onTextSelected(String selected_text, int selectionStartX,
+ int selectionStartY) {
nilesh 2012/09/29 01:04:07 line break before "int selectionStartX "
+ getInsertionHandleController().showHandleWithPastePopupAt(
+ selectionStartX - mNativeScrollX,
+ selectionStartY - mNativeScrollY);
nilesh 2012/09/29 01:04:07 will this fit on line 1354?
+ }
+
/**
* @return Whether a reload happens when this ContentView is activated.
*/

Powered by Google App Engine
This is Rietveld 408576698