OLD | NEW |
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 307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
318 <activity-alias android:name="com.google.android.apps.chrome.document.In
cognitoDocumentActivity" | 318 <activity-alias android:name="com.google.android.apps.chrome.document.In
cognitoDocumentActivity" |
319 android:targetActivity="org.chromium.chrome.browser.document.Incogni
toDocumentActivity" | 319 android:targetActivity="org.chromium.chrome.browser.document.Incogni
toDocumentActivity" |
320 android:exported="false"/> | 320 android:exported="false"/> |
321 | 321 |
322 <!-- Custom Tabs --> | 322 <!-- Custom Tabs --> |
323 <activity android:name="org.chromium.chrome.browser.customtabs.CustomTab
Activity" | 323 <activity android:name="org.chromium.chrome.browser.customtabs.CustomTab
Activity" |
324 android:theme="@style/MainTheme" | 324 android:theme="@style/MainTheme" |
325 android:exported="false" | 325 android:exported="false" |
326 android:windowSoftInputMode="adjustResize" | 326 android:windowSoftInputMode="adjustResize" |
327 android:configChanges="orientation|keyboardHidden|keyboard|screenSiz
e|mcc|mnc|screenLayout|smallestScreenSize" | 327 android:configChanges="orientation|keyboardHidden|keyboard|screenSiz
e|mcc|mnc|screenLayout|smallestScreenSize" |
328 android:hardwareAccelerated="false"> | 328 android:hardwareAccelerated="false" |
| 329 {{ self.supports_video_persistence() }} > |
329 </activity> | 330 </activity> |
330 <activity android:name="org.chromium.chrome.browser.customtabs.SeparateT
askCustomTabActivity" | 331 <activity android:name="org.chromium.chrome.browser.customtabs.SeparateT
askCustomTabActivity" |
331 android:theme="@style/MainTheme" | 332 android:theme="@style/MainTheme" |
332 android:exported="false" | 333 android:exported="false" |
333 android:taskAffinity="" | 334 android:taskAffinity="" |
334 android:windowSoftInputMode="adjustResize" | 335 android:windowSoftInputMode="adjustResize" |
335 android:persistableMode="persistNever" | 336 android:persistableMode="persistNever" |
336 android:autoRemoveFromRecents="false" | 337 android:autoRemoveFromRecents="false" |
337 android:configChanges="orientation|keyboardHidden|keyboard|screenSiz
e|mcc|mnc|screenLayout|smallestScreenSize" | 338 android:configChanges="orientation|keyboardHidden|keyboard|screenSiz
e|mcc|mnc|screenLayout|smallestScreenSize" |
338 android:hardwareAccelerated="false"> | 339 android:hardwareAccelerated="false" |
| 340 {{ self.supports_video_persistence() }} > |
339 </activity> | 341 </activity> |
340 {% for i in range(10) %} | 342 {% for i in range(10) %} |
341 <activity android:name="org.chromium.chrome.browser.customtabs.SeparateT
askCustomTabActivity{{ i }}" | 343 <activity android:name="org.chromium.chrome.browser.customtabs.SeparateT
askCustomTabActivity{{ i }}" |
342 android:theme="@style/MainTheme" | 344 android:theme="@style/MainTheme" |
343 android:icon="@mipmap/app_single_page_icon" | 345 android:icon="@mipmap/app_single_page_icon" |
344 android:exported="false" | 346 android:exported="false" |
345 android:launchMode="singleTask" | 347 android:launchMode="singleTask" |
346 android:windowSoftInputMode="adjustResize" | 348 android:windowSoftInputMode="adjustResize" |
347 android:persistableMode="persistNever" | 349 android:persistableMode="persistNever" |
348 android:taskAffinity="" | 350 android:taskAffinity="" |
349 android:configChanges="orientation|keyboardHidden|keyboard|screenSiz
e|mcc|mnc|screenLayout|smallestScreenSize" | 351 android:configChanges="orientation|keyboardHidden|keyboard|screenSiz
e|mcc|mnc|screenLayout|smallestScreenSize" |
350 android:hardwareAccelerated="false"> | 352 android:hardwareAccelerated="false" |
| 353 {{ self.supports_video_persistence() }} > |
351 </activity> | 354 </activity> |
352 {% endfor %} | 355 {% endfor %} |
353 | 356 |
354 <!-- ChromeTabbedActivity related --> | 357 <!-- ChromeTabbedActivity related --> |
355 <activity android:name="org.chromium.chrome.browser.ChromeTabbedActivity
" | 358 <activity android:name="org.chromium.chrome.browser.ChromeTabbedActivity
" |
356 android:theme="@style/TabbedModeTheme" | 359 android:theme="@style/TabbedModeTheme" |
357 android:exported="false" | 360 android:exported="false" |
358 android:windowSoftInputMode="adjustResize" | 361 android:windowSoftInputMode="adjustResize" |
359 android:launchMode="singleTask" | 362 android:launchMode="singleTask" |
360 android:configChanges="orientation|keyboardHidden|keyboard|screenSiz
e|mcc|mnc|screenLayout|smallestScreenSize" | 363 android:configChanges="orientation|keyboardHidden|keyboard|screenSiz
e|mcc|mnc|screenLayout|smallestScreenSize" |
361 android:hardwareAccelerated="false" | 364 android:hardwareAccelerated="false" |
| 365 {# We can only use blocks once in Jinja, for future substitutions we
use |
| 366 self.supports_video_persistence(). #} |
362 {% block supports_video_persistence %} | 367 {% block supports_video_persistence %} |
363 {% endblock %} | 368 {% endblock %} |
364 > | 369 > |
365 <!-- | 370 <!-- |
366 See the VRChromeTabbedActivity alias below for an explanation of t
his dummy intent | 371 See the VRChromeTabbedActivity alias below for an explanation of t
his dummy intent |
367 filter. We need to add these filters here as well, or non-presenti
ng webVR pages will | 372 filter. We need to add these filters here as well, or non-presenti
ng webVR pages will |
368 trigger a daydream incompatible app message. | 373 trigger a daydream incompatible app message. |
369 --> | 374 --> |
370 <intent-filter> | 375 <intent-filter> |
371 <action android:name="org.chromium.chrome.browser.dummy.action"
/> | 376 <action android:name="org.chromium.chrome.browser.dummy.action"
/> |
(...skipping 25 matching lines...) Expand all Loading... |
397 </activity-alias> | 402 </activity-alias> |
398 {% endif %} | 403 {% endif %} |
399 | 404 |
400 <activity android:name="org.chromium.chrome.browser.ChromeTabbedActivity
2" | 405 <activity android:name="org.chromium.chrome.browser.ChromeTabbedActivity
2" |
401 android:theme="@style/TabbedModeTheme" | 406 android:theme="@style/TabbedModeTheme" |
402 android:exported="false" | 407 android:exported="false" |
403 android:windowSoftInputMode="adjustResize" | 408 android:windowSoftInputMode="adjustResize" |
404 android:taskAffinity="{{ manifest_package }}.ChromeTabbedActivity2" | 409 android:taskAffinity="{{ manifest_package }}.ChromeTabbedActivity2" |
405 android:launchMode="singleTask" | 410 android:launchMode="singleTask" |
406 android:configChanges="orientation|keyboardHidden|keyboard|screenSi
ze|mcc|mnc|screenLayout|smallestScreenSize" | 411 android:configChanges="orientation|keyboardHidden|keyboard|screenSi
ze|mcc|mnc|screenLayout|smallestScreenSize" |
407 android:hardwareAccelerated="false"> | 412 android:hardwareAccelerated="false" |
| 413 {{ self.supports_video_persistence() }} |
| 414 > |
408 </activity> | 415 </activity> |
409 <activity android:name="org.chromium.chrome.browser.multiwindow.MultiIns
tanceChromeTabbedActivity" | 416 <activity android:name="org.chromium.chrome.browser.multiwindow.MultiIns
tanceChromeTabbedActivity" |
410 android:theme="@style/TabbedModeTheme" | 417 android:theme="@style/TabbedModeTheme" |
411 android:exported="false" | 418 android:exported="false" |
412 android:windowSoftInputMode="adjustResize" | 419 android:windowSoftInputMode="adjustResize" |
413 android:configChanges="orientation|keyboardHidden|keyboard|screenSiz
e|mcc|mnc|screenLayout|smallestScreenSize" | 420 android:configChanges="orientation|keyboardHidden|keyboard|screenSiz
e|mcc|mnc|screenLayout|smallestScreenSize" |
414 android:hardwareAccelerated="false"> | 421 android:hardwareAccelerated="false"> |
415 </activity> | 422 </activity> |
416 | 423 |
417 <activity android:name="org.chromium.chrome.browser.sync.ui.PassphraseAc
tivity" | 424 <activity android:name="org.chromium.chrome.browser.sync.ui.PassphraseAc
tivity" |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
518 <activity-alias android:name="com.google.android.apps.chrome.webapps.Web
appManager" | 525 <activity-alias android:name="com.google.android.apps.chrome.webapps.Web
appManager" |
519 android:targetActivity="org.chromium.chrome.browser.webapps.WebappLa
uncherActivity"> | 526 android:targetActivity="org.chromium.chrome.browser.webapps.WebappLa
uncherActivity"> |
520 </activity-alias> | 527 </activity-alias> |
521 <activity android:name="org.chromium.chrome.browser.webapps.WebappActivi
ty" | 528 <activity android:name="org.chromium.chrome.browser.webapps.WebappActivi
ty" |
522 android:theme="@style/WebappTheme" | 529 android:theme="@style/WebappTheme" |
523 android:label="@string/webapp_activity_title" | 530 android:label="@string/webapp_activity_title" |
524 android:documentLaunchMode="intoExisting" | 531 android:documentLaunchMode="intoExisting" |
525 android:windowSoftInputMode="adjustResize" | 532 android:windowSoftInputMode="adjustResize" |
526 android:persistableMode="persistNever" | 533 android:persistableMode="persistNever" |
527 android:hardwareAccelerated="false" | 534 android:hardwareAccelerated="false" |
528 android:configChanges="orientation|keyboardHidden|keyboard|screenSiz
e|mcc|mnc|screenLayout|smallestScreenSize"> | 535 android:configChanges="orientation|keyboardHidden|keyboard|screenSiz
e|mcc|mnc|screenLayout|smallestScreenSize" |
| 536 {{ self.supports_video_persistence() }} > |
529 </activity> | 537 </activity> |
530 <activity-alias android:name="com.google.android.apps.chrome.webapps.Web
appActivity" | 538 <activity-alias android:name="com.google.android.apps.chrome.webapps.Web
appActivity" |
531 android:targetActivity="org.chromium.chrome.browser.webapps.WebappAc
tivity" | 539 android:targetActivity="org.chromium.chrome.browser.webapps.WebappAc
tivity" |
532 android:label="@string/webapp_activity_title"> | 540 android:label="@string/webapp_activity_title" |
| 541 {{ self.supports_video_persistence() }} > |
533 </activity-alias> | 542 </activity-alias> |
534 {% for i in range(10) %} | 543 {% for i in range(10) %} |
535 <activity android:name="org.chromium.chrome.browser.webapps.WebappActivi
ty{{ i }}" | 544 <activity android:name="org.chromium.chrome.browser.webapps.WebappActivi
ty{{ i }}" |
536 android:theme="@style/WebappTheme" | 545 android:theme="@style/WebappTheme" |
537 android:icon="@mipmap/app_shortcut_icon" | 546 android:icon="@mipmap/app_shortcut_icon" |
538 android:label="@string/webapp_activity_title" | 547 android:label="@string/webapp_activity_title" |
539 android:launchMode="singleTask" | 548 android:launchMode="singleTask" |
540 android:windowSoftInputMode="adjustResize" | 549 android:windowSoftInputMode="adjustResize" |
541 android:persistableMode="persistNever" | 550 android:persistableMode="persistNever" |
542 android:hardwareAccelerated="false" | 551 android:hardwareAccelerated="false" |
543 android:taskAffinity="{{ manifest_package }}.webapps.WebappActivity{
{ i }}" | 552 android:taskAffinity="{{ manifest_package }}.webapps.WebappActivity{
{ i }}" |
544 android:configChanges="orientation|keyboardHidden|keyboard|screenSiz
e|mcc|mnc|screenLayout|smallestScreenSize"> | 553 android:configChanges="orientation|keyboardHidden|keyboard|screenSiz
e|mcc|mnc|screenLayout|smallestScreenSize" |
| 554 {{ self.supports_video_persistence() }} > |
545 </activity> | 555 </activity> |
546 <activity-alias android:name="com.google.android.apps.chrome.webapps.Web
appActivity{{ i }}" | 556 <activity-alias android:name="com.google.android.apps.chrome.webapps.Web
appActivity{{ i }}" |
547 android:targetActivity="org.chromium.chrome.browser.webapps.WebappAc
tivity{{ i }}" | 557 android:targetActivity="org.chromium.chrome.browser.webapps.WebappAc
tivity{{ i }}" |
548 android:icon="@mipmap/app_shortcut_icon" | 558 android:icon="@mipmap/app_shortcut_icon" |
549 android:label="@string/webapp_activity_title"> | 559 android:label="@string/webapp_activity_title"> |
550 </activity-alias> | 560 </activity-alias> |
551 {% endfor %} | 561 {% endfor %} |
552 <!-- Activities for WebAPKs. --> | 562 <!-- Activities for WebAPKs. --> |
553 <activity android:name="org.chromium.chrome.browser.webapps.WebApkActivi
ty" | 563 <activity android:name="org.chromium.chrome.browser.webapps.WebApkActivi
ty" |
554 android:theme="@style/WebappTheme" | 564 android:theme="@style/WebappTheme" |
555 android:label="@string/webapp_activity_title" | 565 android:label="@string/webapp_activity_title" |
556 android:launchMode="singleTop" | 566 android:launchMode="singleTop" |
557 android:documentLaunchMode="intoExisting" | 567 android:documentLaunchMode="intoExisting" |
558 android:windowSoftInputMode="adjustResize" | 568 android:windowSoftInputMode="adjustResize" |
559 android:persistableMode="persistNever" | 569 android:persistableMode="persistNever" |
560 android:hardwareAccelerated="false" | 570 android:hardwareAccelerated="false" |
561 android:configChanges="orientation|keyboardHidden|keyboard|screenSiz
e|mcc|mnc|screenLayout|smallestScreenSize"> | 571 android:configChanges="orientation|keyboardHidden|keyboard|screenSiz
e|mcc|mnc|screenLayout|smallestScreenSize" |
| 572 {{ self.supports_video_persistence() }} > |
562 </activity> | 573 </activity> |
563 {% for i in range(10) %} | 574 {% for i in range(10) %} |
564 <activity android:name="org.chromium.chrome.browser.webapps.WebApkActivi
ty{{ i }}" | 575 <activity android:name="org.chromium.chrome.browser.webapps.WebApkActivi
ty{{ i }}" |
565 android:theme="@style/WebappTheme" | 576 android:theme="@style/WebappTheme" |
566 android:icon="@mipmap/app_shortcut_icon" | 577 android:icon="@mipmap/app_shortcut_icon" |
567 android:label="@string/webapp_activity_title" | 578 android:label="@string/webapp_activity_title" |
568 android:launchMode="singleTask" | 579 android:launchMode="singleTask" |
569 android:windowSoftInputMode="adjustResize" | 580 android:windowSoftInputMode="adjustResize" |
570 android:persistableMode="persistNever" | 581 android:persistableMode="persistNever" |
571 android:hardwareAccelerated="false" | 582 android:hardwareAccelerated="false" |
572 android:taskAffinity="{{ manifest_package }}.webapps.WebApkActivity{
{ i }}" | 583 android:taskAffinity="{{ manifest_package }}.webapps.WebApkActivity{
{ i }}" |
573 android:configChanges="orientation|keyboardHidden|keyboard|screenSiz
e|mcc|mnc|screenLayout|smallestScreenSize"> | 584 android:configChanges="orientation|keyboardHidden|keyboard|screenSiz
e|mcc|mnc|screenLayout|smallestScreenSize" |
| 585 {{ self.supports_video_persistence() }} > |
574 </activity> | 586 </activity> |
575 {% endfor %} | 587 {% endfor %} |
576 | 588 |
577 <activity android:name="org.chromium.chrome.browser.media.remote.Expande
dControllerActivity" | 589 <activity android:name="org.chromium.chrome.browser.media.remote.Expande
dControllerActivity" |
578 android:theme="@style/MainTheme" | 590 android:theme="@style/MainTheme" |
579 android:label="Chrome.ExpandedControllerActivity" | 591 android:label="Chrome.ExpandedControllerActivity" |
580 android:hardwareAccelerated="true" | 592 android:hardwareAccelerated="true" |
581 android:launchMode="singleTask" | 593 android:launchMode="singleTask" |
582 android:noHistory="true" | 594 android:noHistory="true" |
583 android:configChanges="orientation|keyboardHidden|keyboard|screenSiz
e|mcc|mnc|screenLayout|smallestScreenSize" | 595 android:configChanges="orientation|keyboardHidden|keyboard|screenSiz
e|mcc|mnc|screenLayout|smallestScreenSize" |
(...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
950 choose the first MediaRouteController that can play it, so the orde
r of the list can be important. | 962 choose the first MediaRouteController that can play it, so the orde
r of the list can be important. |
951 The most specific MediaRouteControllers should be listed first, fol
lowed by more generic ones. | 963 The most specific MediaRouteControllers should be listed first, fol
lowed by more generic ones. |
952 The downstream manifest replaces this block, and hence replaces the
list of media route | 964 The downstream manifest replaces this block, and hence replaces the
list of media route |
953 controllers with its own list. --> | 965 controllers with its own list. --> |
954 <meta-data android:name="org.chromium.content.browser.REMOTE_MEDIA_PLAYE
RS" | 966 <meta-data android:name="org.chromium.content.browser.REMOTE_MEDIA_PLAYE
RS" |
955 android:value="org.chromium.chrome.browser.media.remote.DefaultMedia
RouteController"/> | 967 android:value="org.chromium.chrome.browser.media.remote.DefaultMedia
RouteController"/> |
956 | 968 |
957 {% endblock %} | 969 {% endblock %} |
958 </application> | 970 </application> |
959 </manifest> | 971 </manifest> |
OLD | NEW |