fix link context menus
http://b/issue?id=3351385
http://b/issue?id=3352255
remove bookmark/share link option
change open in new tab text based on open in background setting
Change-Id: I3930d085339a7f829d8ef4f1afc879b4df743f24
diff --git a/res/menu/browsercontext.xml b/res/menu/browsercontext.xml
index f5361d5..a8ae5c8 100644
--- a/res/menu/browsercontext.xml
+++ b/res/menu/browsercontext.xml
@@ -40,12 +40,8 @@
android:title="@string/contextmenu_openlink"/>
<item android:id="@+id/open_newtab_context_menu_id"
android:title="@string/contextmenu_openlink_newwindow"/>
- <item android:id="@+id/bookmark_context_menu_id"
- android:title="@string/contextmenu_bookmark_thislink"/>
<item android:id="@+id/save_link_context_menu_id"
android:title="@string/contextmenu_savelink"/>
- <item android:id="@+id/share_link_context_menu_id"
- android:title="@string/contextmenu_sharelink"/>
<item android:id="@+id/copy_link_context_menu_id"
android:title="@string/contextmenu_copylink"/>
</group>
diff --git a/res/values-xlarge/strings.xml b/res/values-xlarge/strings.xml
index 8dcabe2..ee20dfa 100644
--- a/res/values-xlarge/strings.xml
+++ b/res/values-xlarge/strings.xml
@@ -25,6 +25,9 @@
<!-- Context Menu item to open the currently selected link in a new
window. [CHAR LIMIT=30] -->
<string name="contextmenu_openlink_newwindow">Open in new tab</string>
+ <!-- Context Menu item to open the currently selected link in a new
+ background window. [CHAR LIMIT=50] -->
+ <string name="contextmenu_openlink_newwindow_background">Open in new background tab</string>
<!-- Context menu item to open every bookmark in a folder in new tabs [CHAR LIMIT=50] -->
<string name="open_all_in_new_window">Open all in new tabs</string>
</resources>
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 09bd56d..5452b63 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -248,15 +248,12 @@
<!-- Context Menu item to open the currently selected link in a new
window. -->
<string name="contextmenu_openlink_newwindow">Open in new window</string>
- <!-- Context Menu item to create a bookmark for the url of the currently
- selected link. -->
- <string name="contextmenu_bookmark_thislink">Bookmark link</string>
+ <!-- Context Menu item to open the currently selected link in a new
+ background window. [CHAR LIMIT=50] -->
+ <string name="contextmenu_openlink_newwindow_background">Open in new background window</string>
<!-- Context Menu item to save the webpage referred to by this link to the
SD card (external storage) -->
<string name="contextmenu_savelink">Save link</string>
- <!-- Context Menu item to send the url of the selected link to someone else,
- via Gmail or another app -->
- <string name="contextmenu_sharelink">Share link</string>
<!-- Context Menu item -->
<string name="contextmenu_copy">Copy</string>
<!-- Context Menu item to copy the url of the selected link to the