Bug 763167 - Context menu for devices using the custom menu inflator. r=mfinkle,sriram

This commit is contained in:
Wes Johnston 2012-06-11 15:30:00 -07:00
Родитель 8718e150dd
Коммит 6c5477821a
2 изменённых файлов: 25 добавлений и 0 удалений

Просмотреть файл

@ -152,6 +152,7 @@ FENNEC_PP_XML_FILES = \
res/layout/abouthome_content.xml \
res/menu/gecko_menu.xml \
res/menu-v11/gecko_menu.xml \
res/menu-v11/titlebar_contextmenu.xml \
res/menu-xlarge/gecko_menu.xml \
res/menu-sw600dp/gecko_menu.xml \
$(NULL)

Просмотреть файл

@ -0,0 +1,24 @@
#filter substitution
<?xml version="1.0" encoding="utf-8"?>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<menu xmlns:gecko="http://schemas.android.com/apk/res/@ANDROID_PACKAGE_NAME@">
<item gecko:id="@+id/pasteandgo"
gecko:title="@string/contextmenu_pasteandgo"/>
<item gecko:id="@+id/paste"
gecko:title="@string/contextmenu_paste"/>
<item gecko:id="@+id/share"
gecko:title="@string/contextmenu_share"/>
<item gecko:id="@+id/copyurl"
gecko:title="@string/contextmenu_copyurl"/>
<item gecko:id="@+id/add_to_launcher"
gecko:title="@string/contextmenu_add_to_launcher"/>
</menu>