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

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

Issue 2301633002: Refactor Vr activity into ChromeTabbedActivity. (Closed)
Patch Set: UiElements are now structs Created 4 years, 3 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
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) %} 55 {% set enable_vr_shell = enable_vr_shell|default(0) %}
56 {% if enable_vr_shell == "true" %} 56 {% if enable_vr_shell == "true" %}
57 <!-- Required to read the paired viewer's distortion parameters. --> 57 <!-- Required to read the paired viewer's distortion parameters. -->
58 <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/> 58 <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
59 <!-- Indicates use of Android's VR-mode, available only on Android N+. -->
60 <uses-feature android:name="android.software.vr.mode" android:required="fals e"/>
61 <!-- Indicates use of VR features that are available only on Daydream-ready devices. -->
62 <uses-feature android:name="android.hardware.vr.high_performance" android:re quired="false"/>
59 {% endif %} 63 {% endif %}
60 64
61 <permission android:name="{{ manifest_package }}.permission.CHILD_SERVICE" a ndroid:protectionLevel="signature" /> 65 <permission android:name="{{ manifest_package }}.permission.CHILD_SERVICE" a ndroid:protectionLevel="signature" />
62 <permission android:name="{{ manifest_package }}.permission.READ_WRITE_BOOKM ARK_FOLDERS" android:protectionLevel="signatureOrSystem" /> 66 <permission android:name="{{ manifest_package }}.permission.READ_WRITE_BOOKM ARK_FOLDERS" android:protectionLevel="signatureOrSystem" />
63 <permission android:name="{{ manifest_package }}.TOS_ACKED" android:protecti onLevel="signatureOrSystem" /> 67 <permission android:name="{{ manifest_package }}.TOS_ACKED" android:protecti onLevel="signatureOrSystem" />
64 <!-- Only chrome can receive the messages and registration result --> 68 <!-- Only chrome can receive the messages and registration result -->
65 <permission android:name="{{ manifest_package }}.permission.C2D_MESSAGE" 69 <permission android:name="{{ manifest_package }}.permission.C2D_MESSAGE"
66 android:protectionLevel="signature" /> 70 android:protectionLevel="signature" />
67 <permission android:name="{{ manifest_package }}.permission.DEBUG" 71 <permission android:name="{{ manifest_package }}.permission.DEBUG"
68 android:label="Debug web pages" 72 android:label="Debug web pages"
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 <intent-filter> 158 <intent-filter>
155 <action android:name="android.intent.action.MAIN" /> 159 <action android:name="android.intent.action.MAIN" />
156 <category android:name="android.intent.category.DEFAULT" /> 160 <category android:name="android.intent.category.DEFAULT" />
157 <category android:name="android.intent.category.LAUNCHER" /> 161 <category android:name="android.intent.category.LAUNCHER" />
158 <category android:name="android.intent.category.BROWSABLE" /> 162 <category android:name="android.intent.category.BROWSABLE" />
159 <category android:name="android.intent.category.APP_BROWSER" /> 163 <category android:name="android.intent.category.APP_BROWSER" />
160 <category android:name="android.intent.category.NOTIFICATION_PRE FERENCES" /> 164 <category android:name="android.intent.category.NOTIFICATION_PRE FERENCES" />
161 {% if channel in ['dev', 'canary', 'default'] %} 165 {% if channel in ['dev', 'canary', 'default'] %}
162 <category android:name="android.intent.category.MULTIWINDOW_LAUN CHER" /> 166 <category android:name="android.intent.category.MULTIWINDOW_LAUN CHER" />
163 {% endif %} 167 {% endif %}
168 {% if enable_vr_shell == "true" %}
169 <!-- Show icon in Daydream app launcher. -->
170 <category android:name="com.google.intent.category.DAYDREAM" />
171 {% endif %}
164 </intent-filter> 172 </intent-filter>
165 <!-- Matches the common case of intents with no MIME type. 173 <!-- Matches the common case of intents with no MIME type.
166 Make sure to keep in sync with the next filter. --> 174 Make sure to keep in sync with the next filter. -->
167 <intent-filter> 175 <intent-filter>
168 <action android:name="android.intent.action.VIEW" /> 176 <action android:name="android.intent.action.VIEW" />
169 <category android:name="android.intent.category.DEFAULT" /> 177 <category android:name="android.intent.category.DEFAULT" />
170 <category android:name="android.intent.category.BROWSABLE" /> 178 <category android:name="android.intent.category.BROWSABLE" />
171 {% if channel in ['stable', 'default'] %}<data android:scheme="g ooglechrome" />{% endif %} 179 {% if channel in ['stable', 'default'] %}<data android:scheme="g ooglechrome" />{% endif %}
172 <data android:scheme="http" /> 180 <data android:scheme="http" />
173 <data android:scheme="https" /> 181 <data android:scheme="https" />
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 346
339 <!-- ChromeTabbedActivity related --> 347 <!-- ChromeTabbedActivity related -->
340 <activity android:name="org.chromium.chrome.browser.ChromeTabbedActivity " 348 <activity android:name="org.chromium.chrome.browser.ChromeTabbedActivity "
341 android:theme="@style/TabbedModeTheme" 349 android:theme="@style/TabbedModeTheme"
342 android:exported="false" 350 android:exported="false"
343 android:windowSoftInputMode="adjustResize" 351 android:windowSoftInputMode="adjustResize"
344 android:launchMode="singleTask" 352 android:launchMode="singleTask"
345 android:configChanges="orientation|keyboardHidden|keyboard|screenSi ze|mcc|mnc|screenLayout|smallestScreenSize" 353 android:configChanges="orientation|keyboardHidden|keyboard|screenSi ze|mcc|mnc|screenLayout|smallestScreenSize"
346 android:hardwareAccelerated="false"> 354 android:hardwareAccelerated="false">
347 </activity> 355 </activity>
348 {% if enable_vr_shell == "true" %}
349 <activity android:name="org.chromium.chrome.browser.VrActivity"
350 android:theme="@style/MainTheme"
351 android:windowSoftInputMode="stateAlwaysHidden"
352 android:launchMode="singleTask"
353 android:screenOrientation="landscape"
354 android:hardwareAccelerated="false"
355 android:exported="true">
356 <intent-filter>
357 <action android:name="android.intent.action.MAIN" />
358 <category android:name="android.intent.category.LAUNCHER" />
359 <!-- Show icon in Daydream app launcher. -->
360 <category android:name="com.google.intent.category.DAYDREAM" />
361 </intent-filter>
362 </activity>
363 {% endif %}
364 <activity android:name="org.chromium.chrome.browser.ChromeTabbedActivity 2" 356 <activity android:name="org.chromium.chrome.browser.ChromeTabbedActivity 2"
365 android:theme="@style/TabbedModeTheme" 357 android:theme="@style/TabbedModeTheme"
366 android:exported="false" 358 android:exported="false"
367 android:windowSoftInputMode="adjustResize" 359 android:windowSoftInputMode="adjustResize"
368 android:taskAffinity="{{ manifest_package }}.ChromeTabbedActivity2" 360 android:taskAffinity="{{ manifest_package }}.ChromeTabbedActivity2"
369 android:launchMode="singleTask" 361 android:launchMode="singleTask"
370 android:configChanges="orientation|keyboardHidden|keyboard|screenSi ze|mcc|mnc|screenLayout|smallestScreenSize" 362 android:configChanges="orientation|keyboardHidden|keyboard|screenSi ze|mcc|mnc|screenLayout|smallestScreenSize"
371 android:hardwareAccelerated="false"> 363 android:hardwareAccelerated="false">
372 </activity> 364 </activity>
373 <activity android:name="org.chromium.chrome.browser.multiwindow.MultiIns tanceChromeTabbedActivity" 365 <activity android:name="org.chromium.chrome.browser.multiwindow.MultiIns tanceChromeTabbedActivity"
(...skipping 543 matching lines...) Expand 10 before | Expand all | Expand 10 after
917 choose the first MediaRouteController that can play it, so the orde r of the list can be important. 909 choose the first MediaRouteController that can play it, so the orde r of the list can be important.
918 The most specific MediaRouteControllers should be listed first, fol lowed by more generic ones. 910 The most specific MediaRouteControllers should be listed first, fol lowed by more generic ones.
919 The downstream manifest replaces this block, and hence replaces the list of media route 911 The downstream manifest replaces this block, and hence replaces the list of media route
920 controllers with its own list. --> 912 controllers with its own list. -->
921 <meta-data android:name="org.chromium.content.browser.REMOTE_MEDIA_PLAYE RS" 913 <meta-data android:name="org.chromium.content.browser.REMOTE_MEDIA_PLAYE RS"
922 android:value="org.chromium.chrome.browser.media.remote.DefaultMedia RouteController"/> 914 android:value="org.chromium.chrome.browser.media.remote.DefaultMedia RouteController"/>
923 915
924 {% endblock %} 916 {% endblock %}
925 </application> 917 </application>
926 </manifest> 918 </manifest>
OLDNEW
« no previous file with comments | « no previous file | chrome/android/java/res/menu/main_menu.xml » ('j') | chrome/android/java/strings/android_chrome_strings.grd » ('J')

Powered by Google App Engine
This is Rietveld 408576698