<?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:android="http://schemas.android.com/apk/res/android">

    <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/reload"
          android:icon="@drawable/ic_menu_reload"
          android:title="@string/reload"
          android:showAsAction="always"/>

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

    <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:icon="@drawable/ic_menu_new_tab"
          android:title="@string/new_tab"/>

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

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

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

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

        <menu>

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

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

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

            <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"
          android:icon="@drawable/ic_menu_tools">

        <menu>

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

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

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

            <item android:id="@+id/apps"
                  android:icon="@drawable/ic_menu_apps"
                  android:title="@string/apps"/>

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

        </menu>

    </item>

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

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

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