38 lines
1.7 KiB
Diff
38 lines
1.7 KiB
Diff
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ChromeContextMenuItem.java b/chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ChromeContextMenuItem.java
|
|
index 18fc8bfae2df34f393e9687d6edcaa5258f1c2ab..c67c5e674c3d7d8d5b1fb9606d130814da966d60 100644
|
|
--- a/chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ChromeContextMenuItem.java
|
|
+++ b/chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ChromeContextMenuItem.java
|
|
@@ -76,6 +76,7 @@ class ChromeContextMenuItem {
|
|
Item.SHARE_PAGE,
|
|
Item.PRINT_PAGE,
|
|
Item.INSPECT_ELEMENT,
|
|
+ Item.COPY_CLEAN_LINK,
|
|
})
|
|
@Retention(RetentionPolicy.SOURCE)
|
|
public @interface Item {
|
|
@@ -133,7 +134,7 @@ class ChromeContextMenuItem {
|
|
// Developer Group
|
|
int INSPECT_ELEMENT = 41;
|
|
// ALWAYS UPDATE!
|
|
- int NUM_ENTRIES = 42;
|
|
+ int COPY_CLEAN_LINK = 42;int NUM_ENTRIES = 43;
|
|
}
|
|
|
|
/** Mapping from {@link Item} to the ID found in the ids.xml. */
|
|
@@ -180,6 +181,7 @@ class ChromeContextMenuItem {
|
|
R.id.contextmenu_share_page, // Item.SHARE_PAGE
|
|
R.id.contextmenu_print_page, // Item.PRINT_PAGE
|
|
R.id.contextmenu_inspect_element, // Item.INSPECT_ELEMENT
|
|
+ R.id.contextmenu_copy_clean_link, // Item.COPY_CLEAN_LINK
|
|
};
|
|
|
|
/** Mapping from {@link Item} to the ID of the string that describes the action of the item. */
|
|
@@ -226,6 +228,7 @@ class ChromeContextMenuItem {
|
|
R.string.contextmenu_share_page, // Item.SHARE_PAGE
|
|
R.string.contextmenu_print_page, // Item.PRINT_PAGE
|
|
R.string.contextmenu_inspect_element, // Item.INSPECT_ELEMENT
|
|
+ R.string.contextmenu_copy_clean_link, // Item.COPY_CLEAN_LINK
|
|
};
|
|
|
|
/**
|