<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2016 The Chromium Authors
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->

<shortcuts xmlns:android="http://schemas.android.com/apk/res/android" >
    <shortcut
        android:shortcutId="new-tab-shortcut"
        android:icon="@drawable/shortcut_newtab"
        android:shortcutShortLabel="@string/menu_new_tab" >
        <intent
            android:action="chromium.shortcut.action.OPEN_NEW_TAB"
            android:targetPackage="{{manifest_package}}"
            android:targetClass="org.chromium.chrome.browser.LauncherShortcutActivity" >
        </intent>
    </shortcut>

    <shortcut
        android:shortcutId="new-incognito-tab-shortcut"
        android:enabled="false"
        android:icon="@drawable/shortcut_incognito"
        android:shortcutShortLabel="@string/menu_new_incognito_tab"
        android:shortcutLongLabel="@string/menu_new_incognito_tab"
        android:shortcutDisabledMessage="@string/disabled_incognito_launcher_shortcut_message" >
        <intent
            android:action="chromium.shortcut.action.OPEN_NEW_INCOGNITO_TAB"
            android:targetPackage="{{manifest_package}}"
            android:targetClass="org.chromium.chrome.browser.LauncherShortcutActivity" >
        </intent>
    </shortcut>

    <share-target android:targetClass="com.google.android.apps.chrome.IntentDispatcher"
                  android:targetPackage="{{manifest_package}}">
        <category android:name="org.chromium.chrome.browser.share.send_tab_to_self.category.DEVICE" />
        <data android:mimeType="text/plain" />
    </share-target>
</shortcuts>
