Index: content/public/android/java/src/org/chromium/content_public/browser/WebContents.java |
diff --git a/content/public/android/java/src/org/chromium/content_public/browser/WebContents.java b/content/public/android/java/src/org/chromium/content_public/browser/WebContents.java |
index 2c7fda4a31e6db1fa58838815f70203fbccb940a..4f436b5e09870483f6b5ea3a2654b2a38c20fedb 100644 |
--- a/content/public/android/java/src/org/chromium/content_public/browser/WebContents.java |
+++ b/content/public/android/java/src/org/chromium/content_public/browser/WebContents.java |
@@ -88,31 +88,37 @@ public interface WebContents extends Parcelable { |
*/ |
void stop(); |
+ // TODO (amaralp): Only used in content. Should be moved out of public interface. |
/** |
* Cut the selected content. |
*/ |
void cut(); |
+ // TODO (amaralp): Only used in content. Should be moved out of public interface. |
/** |
* Copy the selected content. |
*/ |
void copy(); |
+ // TODO (amaralp): Only used in content. Should be moved out of public interface. |
/** |
* Paste content from the clipboard. |
*/ |
void paste(); |
+ // TODO (amaralp): Only used in content. Should be moved out of public interface. |
/** |
* Replace the selected text with the {@code word}. |
*/ |
void replace(String word); |
+ // TODO (amaralp): Only used in content. Should be moved out of public interface. |
/** |
* Select all content. |
*/ |
void selectAll(); |
+ // TODO (amaralp): Only used in content. Should be moved out of public interface. |
/** |
* Collapse the selection to the end of selection range. |
*/ |
@@ -128,11 +134,18 @@ public interface WebContents extends Parcelable { |
*/ |
void onShow(); |
+ // TODO (amaralp): Only used in content. Should be moved out of public interface. |
/** |
* Removes handles used in text selection. |
*/ |
void dismissTextHandles(); |
+ // TODO (amaralp): Only used in content. Should be moved out of public interface. |
+ /** |
+ * Shows paste popup menu at point |
+ */ |
+ void showContextMenuAtPoint(int x, int y); |
+ |
/** |
* Suspends all media players for this WebContents. Note: There may still |
* be activities generating audio, so setAudioMuted() should also be called |