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

Unified Diff: ui/file_manager/file_manager/foreground/elements/files_safe_img_webview_content.html

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/foreground/elements/files_safe_img_webview_content.html
diff --git a/ui/file_manager/file_manager/foreground/elements/files_safe_img_webview_content.html b/ui/file_manager/file_manager/foreground/elements/files_safe_img_webview_content.html
new file mode 100644
index 0000000000000000000000000000000000000000..c47c133562968dc680cb528fb376b78d1acbd241
--- /dev/null
+++ b/ui/file_manager/file_manager/foreground/elements/files_safe_img_webview_content.html
@@ -0,0 +1,15 @@
+<!-- Copyright 2016 The Chromium Authors. All rights reserved.
+ -- Use of this source code is governed by a BSD-style license that can be
+ -- found in the LICENSE file.
+-->
+
+<!DOCTYPE HTML>
+<html>
+ <head>
+ <link rel="stylesheet" type="text/css" href="files_safe_img_webview_content.css">
+ </head>
+ <body>
+ <img id="content">
+ <script src="files_safe_img_webview_content.js"></script>
+ </body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698