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

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

Issue 928643003: Upstream Chrome for Android Cast. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix dependencies (second attempt). Created 5 years, 9 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 | « chrome/android/java/strings/android_chrome_strings.grd ('k') | chrome/app/android/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/shell/java/AndroidManifest.xml.jinja2
diff --git a/chrome/android/shell/java/AndroidManifest.xml.jinja2 b/chrome/android/shell/java/AndroidManifest.xml.jinja2
index c91196e7e13804dba3fc1548a71783ae3bc47fc6..49c7bae24785f584fec8f97e08bb0723c1e8bb21 100644
--- a/chrome/android/shell/java/AndroidManifest.xml.jinja2
+++ b/chrome/android/shell/java/AndroidManifest.xml.jinja2
@@ -192,5 +192,30 @@
<meta-data android:name="org.chromium.chrome.browser.SERVICE_TAB_LAUNCHER"
android:value="org.chromium.chrome.shell.ChromeShellServiceTabLauncher" />
+ <!-- Activity, service, and meta-data to support casting to Chromecast -->
+
+ <!-- Expanded controller activity is displayed when the Cast Notification is clicked -->
+ <activity android:name="org.chromium.chrome.browser.media.remote.ExpandedControllerActivity"
+ android:theme="@style/MainTheme"
+ android:label="Chrome.ExpandedControllerActivity"
+ android:hardwareAccelerated="true"
+ android:launchMode="singleTask"
+ android:noHistory="true"
+ android:configChanges="orientation|keyboardHidden|keyboard|screenSize"
+ android:excludeFromRecents="true">
+ </activity>
+
+ <service android:name="org.chromium.chrome.browser.media.remote.NotificationTransportControl$ListenerService" />
+
+ <!-- Media route controllers to use for remote playback (cast).
+ This is here, rather than in code, since it varies between upstream and downstream,
+ yet we need this list of classes in the notification service, which belongs upstream
+ and doesn't run the downstream Clank startup code. The Cast code will, for each media element,
+ choose the first MediaRouteController that can play it, so the order of the list can be important.
+ The most specific MediaRouteControllers should be listed first, followed by more generic ones -->
+ <meta-data android:name="org.chromium.content.browser.REMOTE_MEDIA_PLAYERS"
+ android:value="org.chromium.chrome.browser.media.remote.DefaultMediaRouteController"/>
+
+
</application>
</manifest>
« no previous file with comments | « chrome/android/java/strings/android_chrome_strings.grd ('k') | chrome/app/android/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698