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

Unified Diff: ui/file_manager/file_manager/manifest.json

Issue 2140113003: QuickView: Improve security by rendering images inside webview. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments. Created 4 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: ui/file_manager/file_manager/manifest.json
diff --git a/ui/file_manager/file_manager/manifest.json b/ui/file_manager/file_manager/manifest.json
index 0dfb9d5fb71a50fc082ba3dda9d54420780ee449..5f89ee00bc62845ec5b30f8f1ad579ff6dcb303a 100644
--- a/ui/file_manager/file_manager/manifest.json
+++ b/ui/file_manager/file_manager/manifest.json
@@ -48,6 +48,12 @@
"webstoreWidgetPrivate",
"webview"
],
+ "webview": {
+ "partitions": [{
+ "name": "trusted",
+ "accessible_resources": ["foreground/elements/files_safe_img_webview_content.*"]
+ }]
+ },
"file_browser_handlers": [
{
"id": "mount-archive",
« no previous file with comments | « ui/file_manager/file_manager/foreground/js/quick_view_controller.js ('k') | ui/file_manager/file_manager_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698