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

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

Issue 2252103002: Introduce ChromeVR to Chrome on Android (behind a build flag) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 <uses-permission android:name="android.permission.NFC"/> 45 <uses-permission android:name="android.permission.NFC"/>
46 <uses-permission android:name="android.permission.READ_SYNC_SETTINGS"/> 46 <uses-permission android:name="android.permission.READ_SYNC_SETTINGS"/>
47 <uses-permission android:name="android.permission.READ_SYNC_STATS"/> 47 <uses-permission android:name="android.permission.READ_SYNC_STATS"/>
48 <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/> 48 <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
49 <uses-permission android:name="android.permission.RECORD_AUDIO"/> 49 <uses-permission android:name="android.permission.RECORD_AUDIO"/>
50 <uses-permission android:name="android.permission.USE_CREDENTIALS"/> 50 <uses-permission android:name="android.permission.USE_CREDENTIALS"/>
51 <uses-permission android:name="android.permission.VIBRATE"/> 51 <uses-permission android:name="android.permission.VIBRATE"/>
52 <uses-permission android:name="android.permission.WAKE_LOCK"/> 52 <uses-permission android:name="android.permission.WAKE_LOCK"/>
53 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> 53 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
54 <uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS"/> 54 <uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS"/>
55 {% set enable_vr_shell = enable_vr_shell|default(0) %}
56 {% if enable_vr_shell == "true" %}
57 <!-- Required to read the paired viewer's distortion parameters. -->
58 <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
59 {% endif %}
55 60
56 <permission android:name="{{ manifest_package }}.permission.CHILD_SERVICE" a ndroid:protectionLevel="signature" /> 61 <permission android:name="{{ manifest_package }}.permission.CHILD_SERVICE" a ndroid:protectionLevel="signature" />
57 <permission android:name="{{ manifest_package }}.permission.READ_WRITE_BOOKM ARK_FOLDERS" android:protectionLevel="signatureOrSystem" /> 62 <permission android:name="{{ manifest_package }}.permission.READ_WRITE_BOOKM ARK_FOLDERS" android:protectionLevel="signatureOrSystem" />
58 <permission android:name="{{ manifest_package }}.TOS_ACKED" android:protecti onLevel="signatureOrSystem" /> 63 <permission android:name="{{ manifest_package }}.TOS_ACKED" android:protecti onLevel="signatureOrSystem" />
59 <!-- Only chrome can receive the messages and registration result --> 64 <!-- Only chrome can receive the messages and registration result -->
60 <permission android:name="{{ manifest_package }}.permission.C2D_MESSAGE" 65 <permission android:name="{{ manifest_package }}.permission.C2D_MESSAGE"
61 android:protectionLevel="signature" /> 66 android:protectionLevel="signature" />
62 <permission android:name="{{ manifest_package }}.permission.DEBUG" 67 <permission android:name="{{ manifest_package }}.permission.DEBUG"
63 android:label="Debug web pages" 68 android:label="Debug web pages"
64 android:permissionGroup="android.permission-group.DEVELOPMENT_TO OLS" 69 android:permissionGroup="android.permission-group.DEVELOPMENT_TO OLS"
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 <intent-filter> 153 <intent-filter>
149 <action android:name="android.intent.action.MAIN" /> 154 <action android:name="android.intent.action.MAIN" />
150 <category android:name="android.intent.category.DEFAULT" /> 155 <category android:name="android.intent.category.DEFAULT" />
151 <category android:name="android.intent.category.LAUNCHER" /> 156 <category android:name="android.intent.category.LAUNCHER" />
152 <category android:name="android.intent.category.BROWSABLE" /> 157 <category android:name="android.intent.category.BROWSABLE" />
153 <category android:name="android.intent.category.APP_BROWSER" /> 158 <category android:name="android.intent.category.APP_BROWSER" />
154 <category android:name="android.intent.category.NOTIFICATION_PRE FERENCES" /> 159 <category android:name="android.intent.category.NOTIFICATION_PRE FERENCES" />
155 {% if channel in ['dev', 'canary', 'default'] %} 160 {% if channel in ['dev', 'canary', 'default'] %}
156 <category android:name="android.intent.category.MULTIWINDOW_LAUN CHER" /> 161 <category android:name="android.intent.category.MULTIWINDOW_LAUN CHER" />
157 {% endif %} 162 {% endif %}
158 {% set enable_vr_shell = enable_vr_shell|default(0) %}
159 {% if enable_vr_shell == "true" %}
160 <!-- Show icon in Daydream app launcher. -->
161 <category android:name="com.google.intent.category.DAYDREAM" />
162 {% endif %}
163 </intent-filter> 163 </intent-filter>
164 <!-- Matches the common case of intents with no MIME type. 164 <!-- Matches the common case of intents with no MIME type.
165 Make sure to keep in sync with the next filter. --> 165 Make sure to keep in sync with the next filter. -->
166 <intent-filter> 166 <intent-filter>
167 <action android:name="android.intent.action.VIEW" /> 167 <action android:name="android.intent.action.VIEW" />
168 <category android:name="android.intent.category.DEFAULT" /> 168 <category android:name="android.intent.category.DEFAULT" />
169 <category android:name="android.intent.category.BROWSABLE" /> 169 <category android:name="android.intent.category.BROWSABLE" />
170 {% if channel in ['stable', 'default'] %}<data android:scheme="g ooglechrome" />{% endif %} 170 {% if channel in ['stable', 'default'] %}<data android:scheme="g ooglechrome" />{% endif %}
171 <data android:scheme="http" /> 171 <data android:scheme="http" />
172 <data android:scheme="https" /> 172 <data android:scheme="https" />
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
336 336
337 <!-- ChromeTabbedActivity related --> 337 <!-- ChromeTabbedActivity related -->
338 <activity android:name="org.chromium.chrome.browser.ChromeTabbedActivity " 338 <activity android:name="org.chromium.chrome.browser.ChromeTabbedActivity "
339 android:theme="@style/TabbedModeTheme" 339 android:theme="@style/TabbedModeTheme"
340 android:exported="false" 340 android:exported="false"
341 android:windowSoftInputMode="adjustResize" 341 android:windowSoftInputMode="adjustResize"
342 android:launchMode="singleTask" 342 android:launchMode="singleTask"
343 android:configChanges="orientation|keyboardHidden|keyboard|screenSi ze|mcc|mnc|screenLayout|smallestScreenSize" 343 android:configChanges="orientation|keyboardHidden|keyboard|screenSi ze|mcc|mnc|screenLayout|smallestScreenSize"
344 android:hardwareAccelerated="false"> 344 android:hardwareAccelerated="false">
345 </activity> 345 </activity>
346 {% if enable_vr_shell == "true" %}
347 <activity android:name="org.chromium.chrome.browser.ChromeVrActivity"
348 android:theme="@style/TabbedModeTheme"
349 android:exported="false"
350 android:windowSoftInputMode="stateAlwaysHidden"
351 android:launchMode="singleTask"
352 android:screenOrientation="landscape"
353 android:hardwareAccelerated="false">
354 </activity>
355 <activity-alias android:name="com.google.android.apps.chrome.VrMain"
356 android:targetActivity="org.chromium.chrome.browser.ChromeVrActivity "
357 android:exported="true">
358 <intent-filter>
359 <action android:name="android.intent.action.MAIN" />
360 <category android:name="android.intent.category.LAUNCHER" />
361 <!-- Show icon in Daydream app launcher. -->
362 <category android:name="com.google.intent.category.DAYDREAM" />
363 </intent-filter>
364 </activity-alias>
365 {% endif %}
346 <activity android:name="org.chromium.chrome.browser.ChromeTabbedActivity 2" 366 <activity android:name="org.chromium.chrome.browser.ChromeTabbedActivity 2"
347 android:theme="@style/TabbedModeTheme" 367 android:theme="@style/TabbedModeTheme"
348 android:exported="false" 368 android:exported="false"
349 android:windowSoftInputMode="adjustResize" 369 android:windowSoftInputMode="adjustResize"
350 android:taskAffinity="{{ manifest_package }}.ChromeTabbedActivity2" 370 android:taskAffinity="{{ manifest_package }}.ChromeTabbedActivity2"
351 android:launchMode="singleTask" 371 android:launchMode="singleTask"
352 android:configChanges="orientation|keyboardHidden|keyboard|screenSi ze|mcc|mnc|screenLayout|smallestScreenSize" 372 android:configChanges="orientation|keyboardHidden|keyboard|screenSi ze|mcc|mnc|screenLayout|smallestScreenSize"
353 android:hardwareAccelerated="false"> 373 android:hardwareAccelerated="false">
354 </activity> 374 </activity>
355 <activity android:name="org.chromium.chrome.browser.multiwindow.MultiIns tanceChromeTabbedActivity" 375 <activity android:name="org.chromium.chrome.browser.multiwindow.MultiIns tanceChromeTabbedActivity"
(...skipping 550 matching lines...) Expand 10 before | Expand all | Expand 10 after
906 choose the first MediaRouteController that can play it, so the orde r of the list can be important. 926 choose the first MediaRouteController that can play it, so the orde r of the list can be important.
907 The most specific MediaRouteControllers should be listed first, fol lowed by more generic ones. 927 The most specific MediaRouteControllers should be listed first, fol lowed by more generic ones.
908 The downstream manifest replaces this block, and hence replaces the list of media route 928 The downstream manifest replaces this block, and hence replaces the list of media route
909 controllers with its own list. --> 929 controllers with its own list. -->
910 <meta-data android:name="org.chromium.content.browser.REMOTE_MEDIA_PLAYE RS" 930 <meta-data android:name="org.chromium.content.browser.REMOTE_MEDIA_PLAYE RS"
911 android:value="org.chromium.chrome.browser.media.remote.DefaultMedia RouteController"/> 931 android:value="org.chromium.chrome.browser.media.remote.DefaultMedia RouteController"/>
912 932
913 {% endblock %} 933 {% endblock %}
914 </application> 934 </application>
915 </manifest> 935 </manifest>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698