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

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

Issue 2858333002: Remove "paste as plain text" from selection menu (Closed)
Patch Set: remove the option for now Created 3 years, 7 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 | « no previous file | 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/browser/SelectionPopupController.java
diff --git a/content/public/android/java/src/org/chromium/content/browser/SelectionPopupController.java b/content/public/android/java/src/org/chromium/content/browser/SelectionPopupController.java
index 6493e4abb98f9cef067f2f883888a7c320db3d72..5dc6d92bff7eec9fb76da8bb3a1854c66c312870 100644
--- a/content/public/android/java/src/org/chromium/content/browser/SelectionPopupController.java
+++ b/content/public/android/java/src/org/chromium/content/browser/SelectionPopupController.java
@@ -484,6 +484,10 @@ public class SelectionPopupController extends ActionModeCallbackHelper {
updateAssistMenuItem(descriptor);
+ // TODO(ctzsm): Remove "paste as plain text" for now, need to add it back when
+ // crrev.com/2785853002 landed.
+ descriptor.removeItem(R.id.select_action_menu_paste_as_plain_text);
+
if (!isSelectionEditable() || !canPaste()) {
descriptor.removeItem(R.id.select_action_menu_paste);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698