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 | |
| 43 | <item> |
| 44 | <menu> |
| 45 | <item |
| 46 | android:id="@+id/new_tab_menu_id" |
| 47 | android:title="@string/new_tab" |
| 48 | android:icon="@drawable/ic_action_add_tab" /> |
| 49 | <item |
| 50 | android:id="@+id/incognito_menu_id" |
| 51 | android:title="@string/new_incognito_tab" |
| 52 | android:icon="@drawable/ic_action_add_incognito" /> |
Pankaj Garg | 49b7925 | 2014-11-07 17:33:41 -0800 | [diff] [blame] | 53 | <!-- |
| 54 | <item |
| 55 | android:id="@+id/close_other_tabs_id" |
| 56 | android:title="@string/close_other_tabs" |
Enrico Ros | d6efa97 | 2014-12-02 19:49:59 -0800 | [diff] [blame] | 57 | android:icon="@drawable/ic_action_close" /> |
Pankaj Garg | 49b7925 | 2014-11-07 17:33:41 -0800 | [diff] [blame] | 58 | --> |
| 59 | </menu> |
| 60 | </item> |
| 61 | |
Michael Kolb | 2814a36 | 2011-05-19 15:49:41 -0700 | [diff] [blame] | 62 | <item |
Michael Kolb | 0d0245f | 2011-12-05 16:36:05 -0800 | [diff] [blame] | 63 | android:id="@+id/bookmarks_menu_id" |
| 64 | android:title="@string/bookmarks" |
Michael Kolb | 0d0245f | 2011-12-05 16:36:05 -0800 | [diff] [blame] | 65 | android:showAsAction="never" /> |
| 66 | <item |
Pankaj Garg | 49b7925 | 2014-11-07 17:33:41 -0800 | [diff] [blame] | 67 | android:id="@+id/history_menu_id" |
| 68 | android:title="@string/tab_history" /> |
| 69 | <item |
| 70 | android:id="@+id/snapshots_menu_id" |
| 71 | android:title="@string/tab_snapshots" |
| 72 | android:visible="false" /> |
| 73 | <item |
| 74 | android:id="@+id/find_menu_id" |
| 75 | android:title="@string/find_on_page"/> |
| 76 | |
John Reck | e1a03a3 | 2011-09-14 17:04:16 -0700 | [diff] [blame] | 77 | <group |
| 78 | android:id="@+id/LIVE_MENU"> |
| 79 | <item |
John Reck | e1a03a3 | 2011-09-14 17:04:16 -0700 | [diff] [blame] | 80 | android:id="@+id/ua_desktop_menu_id" |
| 81 | android:checkable="true" |
| 82 | android:title="@string/ua_switcher_desktop" /> |
Ze G Riande | 2a675c2 | 2015-06-03 11:15:24 -0700 | [diff] [blame^] | 83 | |
| 84 | <item |
| 85 | android:id="@+id/reader_mode_menu_id" |
| 86 | android:checkable="true" |
| 87 | android:title="@string/enable_reader_mode" /> |
| 88 | |
Pankaj Garg | 49b7925 | 2014-11-07 17:33:41 -0800 | [diff] [blame] | 89 | <item |
John Reck | e1a03a3 | 2011-09-14 17:04:16 -0700 | [diff] [blame] | 90 | android:id="@+id/save_snapshot_menu_id" |
| 91 | android:title="@string/menu_save_snapshot" /> |
Pankaj Garg | 49b7925 | 2014-11-07 17:33:41 -0800 | [diff] [blame] | 92 | <item |
| 93 | android:id="@+id/add_to_homescreen" |
| 94 | android:title="@string/add_to_homescreen" /> |
| 95 | <item |
| 96 | android:id="@+id/share_page_menu_id" |
| 97 | android:title="@string/share_page" /> |
John Reck | e1a03a3 | 2011-09-14 17:04:16 -0700 | [diff] [blame] | 98 | </group> |
Pankaj Garg | 49b7925 | 2014-11-07 17:33:41 -0800 | [diff] [blame] | 99 | |
John Reck | e1a03a3 | 2011-09-14 17:04:16 -0700 | [diff] [blame] | 100 | <group |
Pankaj Garg | 49b7925 | 2014-11-07 17:33:41 -0800 | [diff] [blame] | 101 | android:id="@+id/SNAPSHOT_MENU" |
| 102 | android:visible="false"> |
John Reck | e1a03a3 | 2011-09-14 17:04:16 -0700 | [diff] [blame] | 103 | <item |
| 104 | android:id="@+id/snapshot_go_live" |
| 105 | android:title="@string/snapshot_go_live" /> |
| 106 | </group> |
Michael Kolb | fdb7024 | 2011-03-24 09:41:11 -0700 | [diff] [blame] | 107 | <item |
| 108 | android:id="@+id/preferences_menu_id" |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 109 | android:title="@string/menu_preferences" |
| 110 | android:alphabeticShortcut="p" /> |
Panos Thomas | 4bdb525 | 2014-11-13 16:20:11 -0800 | [diff] [blame] | 111 | <item |
| 112 | android:id="@+id/exit_menu_id" |
| 113 | android:visible="@bool/feature_exit_dialog" |
| 114 | android:title="@string/exit" /> |
qqzhou | e6ff8b4 | 2013-07-23 17:28:48 +0800 | [diff] [blame] | 115 | <item |
| 116 | android:id="@+id/about_menu_id" |
| 117 | android:title="@string/about" /> |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 118 | <!-- followings are debug only --> |
Michael Kolb | fdb7024 | 2011-03-24 09:41:11 -0700 | [diff] [blame] | 119 | <item |
| 120 | android:id="@+id/dump_nav_menu_id" |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 121 | android:title="@string/dump_nav" |
| 122 | android:visible="false" /> |
| 123 | </group> |
| 124 | <group android:id="@+id/MAIN_SHORTCUT_MENU" android:visible="false"> |
John Reck | 42229bc | 2011-08-19 13:26:43 -0700 | [diff] [blame] | 125 | <item android:id="@+id/view_downloads_menu_id" |
| 126 | android:alphabeticShortcut="j" /> |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 127 | <item android:id="@+id/homepage_menu_id" |
| 128 | android:alphabeticShortcut=" " /> |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 129 | <item android:id="@+id/zoom_in_menu_id" |
| 130 | android:alphabeticShortcut="i" /> |
| 131 | <item android:id="@+id/zoom_out_menu_id" |
| 132 | android:alphabeticShortcut="o" /> |
| 133 | <item android:id="@+id/window_one_menu_id" |
| 134 | android:alphabeticShortcut="1" /> |
| 135 | <item android:id="@+id/window_two_menu_id" |
| 136 | android:alphabeticShortcut="2" /> |
| 137 | <item android:id="@+id/window_three_menu_id" |
| 138 | android:alphabeticShortcut="3" /> |
| 139 | <item android:id="@+id/window_four_menu_id" |
| 140 | android:alphabeticShortcut="4" /> |
| 141 | <item android:id="@+id/window_five_menu_id" |
| 142 | android:alphabeticShortcut="5" /> |
| 143 | <item android:id="@+id/window_six_menu_id" |
| 144 | android:alphabeticShortcut="6" /> |
| 145 | <item android:id="@+id/window_seven_menu_id" |
| 146 | android:alphabeticShortcut="7" /> |
| 147 | <item android:id="@+id/window_eight_menu_id" |
| 148 | android:alphabeticShortcut="8" /> |
Pankaj Garg | 49b7925 | 2014-11-07 17:33:41 -0800 | [diff] [blame] | 149 | <!-- |
Michael Kolb | a418306 | 2011-01-16 10:43:21 -0800 | [diff] [blame] | 150 | <item android:id="@+id/back_menu_id" /> |
Pankaj Garg | 49b7925 | 2014-11-07 17:33:41 -0800 | [diff] [blame] | 151 | --> |
Leon Scroggins | a81a764 | 2009-08-31 17:05:41 -0400 | [diff] [blame] | 152 | <item android:id="@+id/goto_menu_id" |
Michael Kolb | e0a3666 | 2010-06-29 10:37:12 -0700 | [diff] [blame] | 153 | android:alphabeticShortcut="l" /> |
Leon Scroggins | 0a64ba5 | 2009-09-08 15:35:33 -0400 | [diff] [blame] | 154 | <item android:id="@+id/close_menu_id" |
Leon Scroggins | 0a64ba5 | 2009-09-08 15:35:33 -0400 | [diff] [blame] | 155 | android:alphabeticShortcut="w" /> |
John Reck | eac25cd | 2011-08-11 16:03:32 -0700 | [diff] [blame] | 156 | <item android:id="@+id/find_menu_id" |
| 157 | android:alphabeticShortcut="f" /> |
| 158 | <item android:id="@+id/page_info_menu_id" |
| 159 | android:alphabeticShortcut="g" /> |
Michael Kolb | 315d502 | 2011-10-13 12:47:11 -0700 | [diff] [blame] | 160 | <item android:id="@+id/bookmarks_menu_id" |
| 161 | android:alphabeticShortcut="b" /> |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 162 | </group> |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 163 | <!-- these items are toggled in and out of @+id/stop_reload_menu_id --> |
| 164 | <item android:id="@+id/stop_menu_id" |
Leon Scroggins | a81a764 | 2009-08-31 17:05:41 -0400 | [diff] [blame] | 165 | android:title="@string/stop" |
Pankaj Garg | 49b7925 | 2014-11-07 17:33:41 -0800 | [diff] [blame] | 166 | android:icon="@drawable/ic_action_stop" |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 167 | android:visible="false" /> |
| 168 | <item android:id="@+id/reload_menu_id" |
Leon Scroggins | a81a764 | 2009-08-31 17:05:41 -0400 | [diff] [blame] | 169 | android:title="@string/reload" |
Pankaj Garg | 49b7925 | 2014-11-07 17:33:41 -0800 | [diff] [blame] | 170 | android:icon="@drawable/ic_action_reload" |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 171 | android:visible="false" /> |
| 172 | </menu> |
Tarun Nainani | 4dfc985 | 2014-07-23 18:30:46 -0700 | [diff] [blame] | 173 | |