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

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

Issue 2801003004: Add "Paste as plain text" into text selection toolbar overflow (Closed)
Patch Set: add comments Created 3 years, 8 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_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 aab18e37ef7e0c8811568a85bd81593f99433239..28cfef5a5879774bbdf2b41922f837927e57d1a5 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
@@ -109,6 +109,12 @@ public interface WebContents extends Parcelable {
// TODO (amaralp): Only used in content. Should be moved out of public interface.
/**
+ * Paste content from the clipboard without format.
+ */
+ void pasteAsPlainText();
+
+ // 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);

Powered by Google App Engine
This is Rietveld 408576698