summaryrefslogtreecommitdiffstats
path: root/mobile/android/base/resources/menu/browser_app_menu.xml
blob: f831ee78380b9e478fa826e7a2b62c065345c42e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
<?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/. -->

<!-- We disable AlwaysShowAction because we interpret the menu
     attributes ourselves and thus the warning isn't relevant to us. -->
<menu xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:tools="http://schemas.android.com/tools"
      tools:ignore="AlwaysShowAction">

    <item android:id="@+id/back"
          android:icon="@drawable/ic_menu_back"
          android:title="@string/back"
          android:showAsAction="always"/>

    <item android:id="@+id/forward"
          android:icon="@drawable/ic_menu_forward"
          android:title="@string/forward"
          android:showAsAction="always"/>

    <item android:id="@+id/bookmark"
          android:icon="@drawable/ic_menu_bookmark_add"
          android:title="@string/bookmark"
          android:showAsAction="always"/>

    <item android:id="@+id/reload"
          android:icon="@drawable/ic_menu_reload"
          android:title="@string/reload"
          android:showAsAction="always"/>

    <item android:id="@+id/share"
          android:icon="@drawable/ic_menu_share"
          android:title="@string/share"
          android:showAsAction="ifRoom"/>

    <item android:id="@+id/new_tab"
          android:title="@string/new_tab"/>

    <item android:id="@+id/new_private_tab"
          android:title="@string/new_private_tab"/>

    <item android:id="@+id/bookmarks_list"
          android:title="@string/bookmarks_title"/>

    <item android:id="@+id/history_list"
          android:title="@string/history_title"/>

    <item android:id="@+id/find_in_page"
          android:title="@string/find_in_page" />

    <item android:id="@+id/desktop_mode"
          android:title="@string/desktop_mode"
          android:checkable="true" />

    <item android:id="@+id/page"
          android:title="@string/page">

        <menu>

            <item android:id="@+id/subscribe"
                  android:title="@string/contextmenu_subscribe"/>

            <item android:id="@+id/save_as_pdf"
                  android:title="@string/save_as_pdf"/>

            <item android:id="@+id/print"
                  android:title="@string/print"/>

            <item android:id="@+id/add_search_engine"
                  android:title="@string/contextmenu_add_search_engine"/>

            <item android:id="@+id/add_to_launcher"
                  android:title="@string/contextmenu_add_to_launcher"/>

        </menu>

    </item>

    <item android:id="@+id/tools"
          android:title="@string/tools">

        <menu>

            <item android:id="@+id/downloads"
                  android:title="@string/downloads"/>

            <item android:id="@+id/addons"
                  android:title="@string/addons"/>

            <item android:id="@+id/logins"
                  android:title="@string/logins"/>

            <item android:id="@+id/new_guest_session"
                  android:visible="false"
                  android:title="@string/new_guest_session"/>

            <item android:id="@+id/exit_guest_session"
                  android:visible="false"
                  android:title="@string/exit_guest_session"/>

        </menu>

    </item>

    <item android:id="@+id/char_encoding"
          android:visible="false"
          android:title="@string/char_encoding"/>

    <item android:id="@+id/settings"
          android:title="@string/settings" />

    <item android:id="@+id/help"
          android:title="@string/help_menu" />

</menu>