The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2008 The Android Open Source Project |
| 3 | |
| 4 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | you may not use this file except in compliance with the License. |
| 6 | You may obtain a copy of the License at |
Tarun Nainani | 4dfc985 | 2014-07-23 18:30:46 -0700 | [diff] [blame] | 7 | |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 8 | http://www.apache.org/licenses/LICENSE-2.0 |
Tarun Nainani | 4dfc985 | 2014-07-23 18:30:46 -0700 | [diff] [blame] | 9 | |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 10 | Unless required by applicable law or agreed to in writing, software |
| 11 | distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | See the License for the specific language governing permissions and |
| 14 | limitations under the License. |
| 15 | --> |
| 16 | |
| 17 | <menu xmlns:android="http://schemas.android.com/apk/res/android"> |
Michael Kolb | fdb7024 | 2011-03-24 09:41:11 -0700 | [diff] [blame] | 18 | <group |
| 19 | android:id="@+id/MAIN_MENU"> |
Pankaj Garg | 49b7925 | 2014-11-07 17:33:41 -0800 | [diff] [blame] | 20 | |
Michael Kolb | fdb7024 | 2011-03-24 09:41:11 -0700 | [diff] [blame] | 21 | <group |
John Reck | e3da7d6 | 2011-08-10 13:40:23 -0700 | [diff] [blame] | 22 | android:id="@+id/NAV_MENU" |
| 23 | android:visible="@bool/menu_show_navigation"> |
Pankaj Garg | 49b7925 | 2014-11-07 17:33:41 -0800 | [diff] [blame] | 24 | <item> |
| 25 | <menu> |
| 26 | <item |
| 27 | android:id="@+id/forward_menu_id" |
| 28 | android:icon="@drawable/ic_action_history_forward" |
| 29 | android:title="@string/forward"/> |
| 30 | <item |
| 31 | android:id="@+id/bookmark_this_page_id" |
| 32 | android:icon="@drawable/ic_action_bookmark" |
| 33 | android:title="@string/save_to_bookmarks"/> |
| 34 | <item |
| 35 | android:id="@+id/stop_reload_menu_id" |
| 36 | android:icon="@drawable/ic_action_stop" |
| 37 | android:title="@string/stop" |
| 38 | android:visible="false"/> |
| 39 | </menu> |
| 40 | </item> |
Michael Kolb | fdb7024 | 2011-03-24 09:41:11 -0700 | [diff] [blame] | 41 | </group> |
Pankaj Garg | 49b7925 | 2014-11-07 17:33:41 -0800 | [diff] [blame] | 42 | |
Michael Kolb | 2814a36 | 2011-05-19 15:49:41 -0700 | [diff] [blame] | 43 | <item |
jrizzoli | 5bba72a | 2015-08-28 22:03:53 +0200 | [diff] [blame] | 44 | android:id="@+id/new_tab_menu_id" |
| 45 | android:title="@string/new_tab" /> |
Michael Kolb | 0d0245f | 2011-12-05 16:36:05 -0800 | [diff] [blame] | 46 | <item |
jrizzoli | 5bba72a | 2015-08-28 22:03:53 +0200 | [diff] [blame] | 47 | android:id="@+id/incognito_menu_id" |
| 48 | android:title="@string/new_incognito_tab" /> |
Pankaj Garg | 49b7925 | 2014-11-07 17:33:41 -0800 | [diff] [blame] | 49 | <item |
| 50 | android:id="@+id/snapshots_menu_id" |
| 51 | android:title="@string/tab_snapshots" |
| 52 | android:visible="false" /> |
| 53 | <item |
| 54 | android:id="@+id/find_menu_id" |
| 55 | android:title="@string/find_on_page"/> |
| 56 | |
John Reck | e1a03a3 | 2011-09-14 17:04:16 -0700 | [diff] [blame] | 57 | <group |
| 58 | android:id="@+id/LIVE_MENU"> |
| 59 | <item |
jrizzoli | 5bba72a | 2015-08-28 22:03:53 +0200 | [diff] [blame] | 60 | android:id="@+id/share_page_menu_id" |
| 61 | android:title="@string/share_page" /> |
Ze G Riande | 2a675c2 | 2015-06-03 11:15:24 -0700 | [diff] [blame] | 62 | |
| 63 | <item |
| 64 | android:id="@+id/reader_mode_menu_id" |
| 65 | android:checkable="true" |
| 66 | android:title="@string/enable_reader_mode" /> |
| 67 | |
Pankaj Garg | 49b7925 | 2014-11-07 17:33:41 -0800 | [diff] [blame] | 68 | <item |
jrizzoli | 5bba72a | 2015-08-28 22:03:53 +0200 | [diff] [blame] | 69 | android:id="@+id/ua_desktop_menu_id" |
| 70 | android:checkable="true" |
| 71 | android:title="@string/ua_switcher_desktop" /> |
| 72 | |
| 73 | <item |
John Reck | e1a03a3 | 2011-09-14 17:04:16 -0700 | [diff] [blame] | 74 | android:id="@+id/save_snapshot_menu_id" |
| 75 | android:title="@string/menu_save_snapshot" /> |
Pankaj Garg | 49b7925 | 2014-11-07 17:33:41 -0800 | [diff] [blame] | 76 | <item |
| 77 | android:id="@+id/add_to_homescreen" |
| 78 | android:title="@string/add_to_homescreen" /> |
John Reck | e1a03a3 | 2011-09-14 17:04:16 -0700 | [diff] [blame] | 79 | </group> |
Pankaj Garg | 49b7925 | 2014-11-07 17:33:41 -0800 | [diff] [blame] | 80 | |
jrizzoli | 5bba72a | 2015-08-28 22:03:53 +0200 | [diff] [blame] | 81 | <item |
| 82 | android:id="@+id/bookmarks_menu_id" |
jrizzoli | 8b6a361 | 2015-08-28 23:05:04 +0200 | [diff] [blame] | 83 | android:title="@string/mystuffs" /> |
jrizzoli | 5bba72a | 2015-08-28 22:03:53 +0200 | [diff] [blame] | 84 | |
John Reck | e1a03a3 | 2011-09-14 17:04:16 -0700 | [diff] [blame] | 85 | <group |
Pankaj Garg | 49b7925 | 2014-11-07 17:33:41 -0800 | [diff] [blame] | 86 | android:id="@+id/SNAPSHOT_MENU" |
| 87 | android:visible="false"> |
John Reck | e1a03a3 | 2011-09-14 17:04:16 -0700 | [diff] [blame] | 88 | <item |
| 89 | android:id="@+id/snapshot_go_live" |
| 90 | android:title="@string/snapshot_go_live" /> |
| 91 | </group> |
Michael Kolb | fdb7024 | 2011-03-24 09:41:11 -0700 | [diff] [blame] | 92 | <item |
| 93 | android:id="@+id/preferences_menu_id" |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 94 | android:title="@string/menu_preferences" |
| 95 | android:alphabeticShortcut="p" /> |
Panos Thomas | 4bdb525 | 2014-11-13 16:20:11 -0800 | [diff] [blame] | 96 | <item |
| 97 | android:id="@+id/exit_menu_id" |
| 98 | android:visible="@bool/feature_exit_dialog" |
| 99 | android:title="@string/exit" /> |
qqzhou | e6ff8b4 | 2013-07-23 17:28:48 +0800 | [diff] [blame] | 100 | <item |
| 101 | android:id="@+id/about_menu_id" |
jrizzoli | 5bba72a | 2015-08-28 22:03:53 +0200 | [diff] [blame] | 102 | android:title="@string/about" |
| 103 | android:visible="false" /> |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 104 | <!-- followings are debug only --> |
Michael Kolb | fdb7024 | 2011-03-24 09:41:11 -0700 | [diff] [blame] | 105 | <item |
| 106 | android:id="@+id/dump_nav_menu_id" |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 107 | android:title="@string/dump_nav" |
| 108 | android:visible="false" /> |
| 109 | </group> |
| 110 | <group android:id="@+id/MAIN_SHORTCUT_MENU" android:visible="false"> |
John Reck | 42229bc | 2011-08-19 13:26:43 -0700 | [diff] [blame] | 111 | <item android:id="@+id/view_downloads_menu_id" |
| 112 | android:alphabeticShortcut="j" /> |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 113 | <item android:id="@+id/homepage_menu_id" |
| 114 | android:alphabeticShortcut=" " /> |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 115 | <item android:id="@+id/zoom_in_menu_id" |
| 116 | android:alphabeticShortcut="i" /> |
| 117 | <item android:id="@+id/zoom_out_menu_id" |
| 118 | android:alphabeticShortcut="o" /> |
| 119 | <item android:id="@+id/window_one_menu_id" |
| 120 | android:alphabeticShortcut="1" /> |
| 121 | <item android:id="@+id/window_two_menu_id" |
| 122 | android:alphabeticShortcut="2" /> |
| 123 | <item android:id="@+id/window_three_menu_id" |
| 124 | android:alphabeticShortcut="3" /> |
| 125 | <item android:id="@+id/window_four_menu_id" |
| 126 | android:alphabeticShortcut="4" /> |
| 127 | <item android:id="@+id/window_five_menu_id" |
| 128 | android:alphabeticShortcut="5" /> |
| 129 | <item android:id="@+id/window_six_menu_id" |
| 130 | android:alphabeticShortcut="6" /> |
| 131 | <item android:id="@+id/window_seven_menu_id" |
| 132 | android:alphabeticShortcut="7" /> |
| 133 | <item android:id="@+id/window_eight_menu_id" |
| 134 | android:alphabeticShortcut="8" /> |
Pankaj Garg | 49b7925 | 2014-11-07 17:33:41 -0800 | [diff] [blame] | 135 | <!-- |
Michael Kolb | a418306 | 2011-01-16 10:43:21 -0800 | [diff] [blame] | 136 | <item android:id="@+id/back_menu_id" /> |
Pankaj Garg | 49b7925 | 2014-11-07 17:33:41 -0800 | [diff] [blame] | 137 | --> |
Leon Scroggins | a81a764 | 2009-08-31 17:05:41 -0400 | [diff] [blame] | 138 | <item android:id="@+id/goto_menu_id" |
Michael Kolb | e0a3666 | 2010-06-29 10:37:12 -0700 | [diff] [blame] | 139 | android:alphabeticShortcut="l" /> |
Leon Scroggins | 0a64ba5 | 2009-09-08 15:35:33 -0400 | [diff] [blame] | 140 | <item android:id="@+id/close_menu_id" |
Leon Scroggins | 0a64ba5 | 2009-09-08 15:35:33 -0400 | [diff] [blame] | 141 | android:alphabeticShortcut="w" /> |
John Reck | eac25cd | 2011-08-11 16:03:32 -0700 | [diff] [blame] | 142 | <item android:id="@+id/find_menu_id" |
| 143 | android:alphabeticShortcut="f" /> |
| 144 | <item android:id="@+id/page_info_menu_id" |
| 145 | android:alphabeticShortcut="g" /> |
Michael Kolb | 315d502 | 2011-10-13 12:47:11 -0700 | [diff] [blame] | 146 | <item android:id="@+id/bookmarks_menu_id" |
| 147 | android:alphabeticShortcut="b" /> |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 148 | </group> |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 149 | <!-- these items are toggled in and out of @+id/stop_reload_menu_id --> |
| 150 | <item android:id="@+id/stop_menu_id" |
Leon Scroggins | a81a764 | 2009-08-31 17:05:41 -0400 | [diff] [blame] | 151 | android:title="@string/stop" |
Pankaj Garg | 49b7925 | 2014-11-07 17:33:41 -0800 | [diff] [blame] | 152 | android:icon="@drawable/ic_action_stop" |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 153 | android:visible="false" /> |
| 154 | <item android:id="@+id/reload_menu_id" |
Leon Scroggins | a81a764 | 2009-08-31 17:05:41 -0400 | [diff] [blame] | 155 | android:title="@string/reload" |
Pankaj Garg | 49b7925 | 2014-11-07 17:33:41 -0800 | [diff] [blame] | 156 | android:icon="@drawable/ic_action_reload" |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 157 | android:visible="false" /> |
| 158 | </menu> |