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

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: review update 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();
boliu 2017/05/02 17:31:57 how easy is it to not add this and make the list o
aelias_OOO_until_Jul13 2017/05/02 19:17:38 I think it would be confusing to plumb this partic
Shimi Zhang 2017/05/03 00:37:17 When I was trying to implement this, I had the sam
+
+ // 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