diff options
author | Danesh M <daneshm90@gmail.com> | 2012-01-18 15:23:24 -0500 |
---|---|---|
committer | Steve Kondik <steve@cyngn.com> | 2015-11-07 13:57:35 -0800 |
commit | fdabe56ae7bb73cff98baf3f5440bf6e0563a9b9 (patch) | |
tree | 16877033e42aa400623167ff2591d05abe4901b1 /res | |
parent | 1fd4bec1891e40dfe2e04c1ffe0bbd9f4e649cee (diff) | |
download | packages_apps_Browser-fdabe56ae7bb73cff98baf3f5440bf6e0563a9b9.zip packages_apps_Browser-fdabe56ae7bb73cff98baf3f5440bf6e0563a9b9.tar.gz packages_apps_Browser-fdabe56ae7bb73cff98baf3f5440bf6e0563a9b9.tar.bz2 |
Browser : Open in incognito tab
Long click on a link now allows you to choose
between opening in incognito/regular tab.
Credits: Danesh M
Signed-off-by: Arham Jamal <arhamjamal@gmail.com>
Change-Id: Iba8e7446e69ae66e0bd957910e6309fdb0e0b947
Diffstat (limited to 'res')
-rw-r--r-- | res/menu/browsercontext.xml | 2 | ||||
-rw-r--r-- | res/values/cm_strings.xml | 7 |
2 files changed, 9 insertions, 0 deletions
diff --git a/res/menu/browsercontext.xml b/res/menu/browsercontext.xml index 8137a67..8c25821 100644 --- a/res/menu/browsercontext.xml +++ b/res/menu/browsercontext.xml @@ -40,6 +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/open_newtab_incognito_context_menu_id" + android:title="@string/contextmenu_openlink_incognito_newwindow"/> <item android:id="@+id/save_link_context_menu_id" android:title="@string/contextmenu_savelink"/> <item android:id="@+id/copy_link_context_menu_id" diff --git a/res/values/cm_strings.xml b/res/values/cm_strings.xml index 63b04e9..b948091 100644 --- a/res/values/cm_strings.xml +++ b/res/values/cm_strings.xml @@ -17,4 +17,11 @@ <resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> <!-- Content description for home screen button [CHAR LIMIT=NONE] --> <string name="accessibility_button_homescreen">Home screen</string> + + <!-- Context Menu item to open the currently selected link in a new + incognito window. --> + <string name="contextmenu_openlink_incognito_newwindow">Open in new incognito tab</string> + <!-- Context Menu item to open the currently selected link in a new + background window. [CHAR LIMIT=50] --> + <string name="contextmenu_openlink_incognito_newwindow_background">Open in new incognito background tab</string> </resources> |