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

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

Issue 2098263002: [Offline Page]Making mhtml file recognized as openable by Chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@tryout
Patch Set: Add support to mht and eml 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 <data android:scheme="about" /> 180 <data android:scheme="about" />
181 <data android:scheme="content" /> 181 <data android:scheme="content" />
182 <data android:scheme="javascript" /> 182 <data android:scheme="javascript" />
183 <data android:mimeType="text/html"/> 183 <data android:mimeType="text/html"/>
184 <data android:mimeType="text/plain"/> 184 <data android:mimeType="text/plain"/>
185 <data android:mimeType="application/xhtml+xml"/> 185 <data android:mimeType="application/xhtml+xml"/>
186 </intent-filter> 186 </intent-filter>
187 <!-- MHTML support, used for snapshots --> 187 <!-- MHTML support, used for snapshots -->
188 <intent-filter> 188 <intent-filter>
189 <action android:name="android.intent.action.VIEW" /> 189 <action android:name="android.intent.action.VIEW" />
190 <category android:name="android.intent.category.DEFAULT" /> 190 <category android:name="android.intent.category.DEFAULT" />
Ted C 2016/07/26 17:01:47 seems odd that this is the one VIEW handler that l
Vivian 2016/07/26 17:12:59 Not really sure about this...seems like this piece
191 <data android:scheme="file" android:mimeType="multipart/related" /> 191 <data android:mimeType="multipart/related"/>
Ted C 2016/07/26 17:01:47 why did this drop the file restriction? I see in
Vivian 2016/07/26 17:12:59 Google Drive, Gmail and Android's Download use con
Ted C 2016/07/26 17:17:09 Should we specify file || content then like the be
Vivian 2016/07/26 17:21:37 In Android's developer guide (https://developer.an
Ted C 2016/07/26 17:24:02 Ah, didn't know that. Not sure whether it is wort
Vivian 2016/07/26 17:41:31 Uploaded a new patch, making the schemes explicit.
192 </intent-filter>
193 <intent-filter>
194 <action android:name="android.intent.action.VIEW" />
195 <category android:name="android.intent.category.DEFAULT" />
196 <category android:name="android.intent.category.BROWSABLE" />
197 <data android:scheme="file"/>
198 <data android:scheme="content"/>
199 <data android:host="*" />
200 <data android:pathPattern=".*\\.mhtml"/>
201 <data android:pathPattern=".*\\.mht"/>
202 <data android:pathPattern=".*\\.eml"/>
203 </intent-filter>
204 <intent-filter>
205 <action android:name="android.intent.action.VIEW" />
206 <category android:name="android.intent.category.DEFAULT" />
207 <category android:name="android.intent.category.BROWSABLE" />
208 <data android:scheme="file"/>
209 <data android:scheme="content"/>
210 <data android:host="*" />
211 <data android:mimeType="*/*"/>
212 <data android:pathPattern=".*\\.mhtml"/>
213 <data android:pathPattern=".*\\.mht"/>
214 <data android:pathPattern=".*\\.eml"/>
192 </intent-filter> 215 </intent-filter>
193 <intent-filter> 216 <intent-filter>
194 <action android:name="android.intent.action.MEDIA_SEARCH" /> 217 <action android:name="android.intent.action.MEDIA_SEARCH" />
195 <category android:name="android.intent.category.DEFAULT" /> 218 <category android:name="android.intent.category.DEFAULT" />
196 </intent-filter> 219 </intent-filter>
197 <intent-filter> 220 <intent-filter>
198 <action android:name="android.speech.action.VOICE_SEARCH_RESULTS " /> 221 <action android:name="android.speech.action.VOICE_SEARCH_RESULTS " />
199 <category android:name="android.intent.category.DEFAULT" /> 222 <category android:name="android.intent.category.DEFAULT" />
200 </intent-filter> 223 </intent-filter>
201 <intent-filter> 224 <intent-filter>
(...skipping 652 matching lines...) Expand 10 before | Expand all | Expand 10 after
854 choose the first MediaRouteController that can play it, so the orde r of the list can be important. 877 choose the first MediaRouteController that can play it, so the orde r of the list can be important.
855 The most specific MediaRouteControllers should be listed first, fol lowed by more generic ones. 878 The most specific MediaRouteControllers should be listed first, fol lowed by more generic ones.
856 The downstream manifest replaces this block, and hence replaces the list of media route 879 The downstream manifest replaces this block, and hence replaces the list of media route
857 controllers with its own list. --> 880 controllers with its own list. -->
858 <meta-data android:name="org.chromium.content.browser.REMOTE_MEDIA_PLAYE RS" 881 <meta-data android:name="org.chromium.content.browser.REMOTE_MEDIA_PLAYE RS"
859 android:value="org.chromium.chrome.browser.media.remote.DefaultMedia RouteController"/> 882 android:value="org.chromium.chrome.browser.media.remote.DefaultMedia RouteController"/>
860 883
861 {% endblock %} 884 {% endblock %}
862 </application> 885 </application>
863 </manifest> 886 </manifest>
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698