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

Side by Side Diff: chrome/android/java/AndroidManifest.xml

Issue 1989283002: Upstream: Launch WebApkActivity from WebAPK. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Nits. Created 4 years, 7 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 unified diff | Download patch
OLDNEW
1 <?xml version="1.0" encoding="utf-8"?> 1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright 2015 The Chromium Authors. All rights reserved. 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 3 Use of this source code is governed by a BSD-style license that can be
4 found in the LICENSE file. --> 4 found in the LICENSE file. -->
5 5
6 <!-- 6 <!--
7 Note: This is a jinja2 template, processed at build time into the final manifest . 7 Note: This is a jinja2 template, processed at build time into the final manifest .
8 8
9 Blocks denoted with { % block some_name % }foo{ % endblock % } can be overridden 9 Blocks denoted with { % block some_name % }foo{ % endblock % } can be overridden
10 by a child template that "extends" this file. 10 by a child template that "extends" this file.
(...skipping 392 matching lines...) Expand 10 before | Expand all | Expand 10 after
403 android:hardwareAccelerated="false" 403 android:hardwareAccelerated="false"
404 android:taskAffinity="{{ manifest_package }}.webapps.WebappActivity{ { i }}" 404 android:taskAffinity="{{ manifest_package }}.webapps.WebappActivity{ { i }}"
405 android:configChanges="orientation|keyboardHidden|keyboard|screenSiz e|mcc|mnc|screenLayout|smallestScreenSize"> 405 android:configChanges="orientation|keyboardHidden|keyboard|screenSiz e|mcc|mnc|screenLayout|smallestScreenSize">
406 </activity> 406 </activity>
407 <activity-alias android:name="com.google.android.apps.chrome.webapps.Web appActivity{{ i }}" 407 <activity-alias android:name="com.google.android.apps.chrome.webapps.Web appActivity{{ i }}"
408 android:targetActivity="org.chromium.chrome.browser.webapps.WebappAc tivity{{ i }}" 408 android:targetActivity="org.chromium.chrome.browser.webapps.WebappAc tivity{{ i }}"
409 android:icon="@mipmap/app_shortcut_icon" 409 android:icon="@mipmap/app_shortcut_icon"
410 android:label="@string/webapp_activity_title"> 410 android:label="@string/webapp_activity_title">
411 </activity-alias> 411 </activity-alias>
412 {% endfor %} 412 {% endfor %}
413 <!-- Activities for WebAPKs. -->
414 <activity android:name="org.chromium.chrome.browser.webapps.WebApkActivi ty"
415 android:theme="@style/WebappTheme"
416 android:label="@string/webapp_activity_title"
417 android:launchMode="singleTop"
418 android:documentLaunchMode="intoExisting"
419 android:windowSoftInputMode="adjustResize"
420 android:persistableMode="persistNever"
421 android:hardwareAccelerated="false"
422 android:configChanges="orientation|keyboardHidden|keyboard|screenSiz e|mcc|mnc|screenLayout|smallestScreenSize">
423 </activity>
424 {% for i in range(10) %}
425 <activity android:name="org.chromium.chrome.browser.webapps.WebApkActivi ty{{ i }}"
426 android:theme="@style/WebappTheme"
427 android:icon="@mipmap/app_shortcut_icon"
428 android:label="@string/webapp_activity_title"
429 android:launchMode="singleTask"
430 android:windowSoftInputMode="adjustResize"
431 android:persistableMode="persistNever"
432 android:hardwareAccelerated="false"
433 android:taskAffinity="{{ manifest_package }}.webapps.WebApkActivity{ { i }}"
434 android:configChanges="orientation|keyboardHidden|keyboard|screenSiz e|mcc|mnc|screenLayout|smallestScreenSize">
435 </activity>
436 {% endfor %}
413 437
414 <activity android:name="org.chromium.chrome.browser.media.remote.Expande dControllerActivity" 438 <activity android:name="org.chromium.chrome.browser.media.remote.Expande dControllerActivity"
415 android:theme="@style/MainTheme" 439 android:theme="@style/MainTheme"
416 android:label="Chrome.ExpandedControllerActivity" 440 android:label="Chrome.ExpandedControllerActivity"
417 android:hardwareAccelerated="true" 441 android:hardwareAccelerated="true"
418 android:launchMode="singleTask" 442 android:launchMode="singleTask"
419 android:noHistory="true" 443 android:noHistory="true"
420 android:configChanges="orientation|keyboardHidden|keyboard|screenSiz e|mcc|mnc|screenLayout|smallestScreenSize" 444 android:configChanges="orientation|keyboardHidden|keyboard|screenSiz e|mcc|mnc|screenLayout|smallestScreenSize"
421 android:excludeFromRecents="true"> 445 android:excludeFromRecents="true">
422 </activity> 446 </activity>
(...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after
800 choose the first MediaRouteController that can play it, so the orde r of the list can be important. 824 choose the first MediaRouteController that can play it, so the orde r of the list can be important.
801 The most specific MediaRouteControllers should be listed first, fol lowed by more generic ones. 825 The most specific MediaRouteControllers should be listed first, fol lowed by more generic ones.
802 The downstream manifest replaces this block, and hence replaces the list of media route 826 The downstream manifest replaces this block, and hence replaces the list of media route
803 controllers with its own list. --> 827 controllers with its own list. -->
804 <meta-data android:name="org.chromium.content.browser.REMOTE_MEDIA_PLAYE RS" 828 <meta-data android:name="org.chromium.content.browser.REMOTE_MEDIA_PLAYE RS"
805 android:value="org.chromium.chrome.browser.media.remote.DefaultMedia RouteController"/> 829 android:value="org.chromium.chrome.browser.media.remote.DefaultMedia RouteController"/>
806 830
807 {% endblock %} 831 {% endblock %}
808 </application> 832 </application>
809 </manifest> 833 </manifest>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698