1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright 2015 The Chromium Authors. All rights reserved.
3 Use of this source code is governed by a BSD-style license that can be
4 found in the LICENSE file. -->
6 <menu xmlns:android="http://schemas.android.com/apk/res/android">
7 <!-- These menu items are common to tablet and phone. -->
8 <group android:id="@+id/PAGE_MENU"
9 android:visible="false">
10 <item android:id="@+id/icon_row_menu_id"
11 android:title="@null">
13 <item android:id="@+id/forward_menu_id"
14 android:title="@string/accessibility_menu_forward"
15 android:icon="@drawable/btn_forward"/>
16 <item android:id="@+id/bookmark_this_page_id"
17 android:title="@string/accessibility_menu_bookmark"
18 android:icon="@drawable/btn_star"/>
19 <item android:id="@+id/info_menu_id"
20 android:title="@string/accessibility_menu_info"
21 android:icon="@drawable/btn_info" />
22 <item android:id="@+id/reload_menu_id"
23 android:title="@string/accessibility_btn_refresh"
24 android:icon="@drawable/btn_reload_stop"/>
27 <item android:id="@+id/new_tab_menu_id"
28 android:title="@string/menu_new_tab" />
29 <item android:id="@+id/new_incognito_tab_menu_id"
30 android:title="@string/menu_new_incognito_tab" />
31 <item android:id="@+id/all_bookmarks_menu_id"
32 android:title="@string/menu_bookmarks" />
33 <item android:id="@+id/recent_tabs_menu_id"
34 android:title="@string/menu_recent_tabs" />
35 <item android:id="@+id/open_history_menu_id"
36 android:title="@string/menu_history" />
37 <item android:id="@+id/share_row_menu_id"
38 android:title="@null">
40 <item android:id="@+id/share_menu_id"
41 android:title="@string/menu_share_page"/>
42 <item android:id="@+id/direct_share_menu_id"
43 android:title="@null" />
46 <item android:id="@+id/print_id"
47 android:title="@string/menu_print" />
48 <item android:id="@+id/find_in_page_id"
49 android:title="@string/menu_find_in_page" />
50 <item android:id="@+id/add_to_homescreen_id"
51 android:title="@string/menu_add_to_homescreen" />
52 <item android:id="@+id/request_desktop_site_id"
53 android:title="@string/menu_request_desktop_site"
54 android:checkable="true"
55 android:icon="?android:attr/listChoiceIndicatorMultiple" />
56 <item android:id="@+id/reader_mode_prefs_id"
57 android:title="@string/menu_reader_mode_prefs"
58 android:icon="@drawable/reader_mode_prefs_icon" />
59 <item android:id="@+id/preferences_id"
60 android:title="@string/menu_preferences" />
61 <item android:id="@+id/help_id"
62 android:title="@string/menu_help" />
65 <!-- Items shown only in the tab switcher -->
66 <group android:id="@+id/OVERVIEW_MODE_MENU"
67 android:visible="false">
68 <item android:id="@id/new_tab_menu_id"
69 android:title="@string/menu_new_tab" />
70 <item android:id="@id/new_incognito_tab_menu_id"
71 android:title="@string/menu_new_incognito_tab" />
72 <item android:id="@+id/close_all_tabs_menu_id"
73 android:title="@string/menu_close_all_tabs" />
74 <item android:id="@+id/close_all_incognito_tabs_menu_id"
75 android:title="@string/menu_close_all_incognito_tabs" />
76 <item android:id="@id/preferences_id"
77 android:title="@string/menu_preferences" />
80 <!-- Items shown only when the tablet has no visible tabs -->
81 <group android:id="@+id/TABLET_EMPTY_MODE_MENU"
82 android:visible="false">
83 <item android:id="@id/new_tab_menu_id"
84 android:title="@string/menu_new_tab" />
85 <item android:id="@id/new_incognito_tab_menu_id"
86 android:title="@string/menu_new_incognito_tab" />
87 <item android:id="@id/preferences_id"
88 android:title="@string/menu_preferences" />