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

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

Issue 2721813002: Make SelectionPopupController.ShowPastePopup only be triggered by Blink (Closed)
Patch Set: Rebase Created 3 years, 9 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
« no previous file with comments | « content/public/android/java/src/org/chromium/content/browser/webcontents/WebContentsImpl.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « content/public/android/java/src/org/chromium/content/browser/webcontents/WebContentsImpl.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698