Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2009)

Unified Diff: chrome/android/java/AndroidManifest.xml

Issue 2180293002: Remove the print option from the menu and make it a share destination. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/android/java/res/drawable-hdpi/print.png » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/AndroidManifest.xml
diff --git a/chrome/android/java/AndroidManifest.xml b/chrome/android/java/AndroidManifest.xml
index 714a4c6ba9cf43e0d581e7832f6ffd124e62e020..79dd66967d26f2c026ffd997dbb18f6894b87288 100644
--- a/chrome/android/java/AndroidManifest.xml
+++ b/chrome/android/java/AndroidManifest.xml
@@ -535,6 +535,24 @@ by a child template that "extends" this file.
android:process=":browser_restart_process">
</activity>
+ <!-- This activity is to expose the print option via the generic Android share action. -->
+ <activity
+ android:name="org.chromium.chrome.browser.printing.PrintShareActivity"
+ android:icon="@drawable/print"
+ android:label="@string/print_share_activity_title"
+ android:enabled="false"
+ android:excludeFromRecents="true"
+ android:exported="true"
+ android:noHistory="true"
+ android:theme="@android:style/Theme.NoDisplay"
+ android:configChanges="orientation|keyboardHidden|keyboard|screenSize|mcc|mnc|screenLayout|smallestScreenSize" >
+ <intent-filter>
+ <action android:name="android.intent.action.SEND" />
+ <category android:name="android.intent.category.DEFAULT" />
+ <data android:mimeType="text/plain" />
+ </intent-filter>
+ </activity>
+
<!-- Activity to list Physical Web Urls -->
<activity android:name="org.chromium.chrome.browser.physicalweb.ListUrlsActivity"
android:label="@string/physical_web_list_urls_activity_title"
« no previous file with comments | « no previous file | chrome/android/java/res/drawable-hdpi/print.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698