forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "[Files app] Separate chrome-untrusted resources"
This reverts commit 2288a6b. Reason for revert: causes compilation failures on bots e.g. https://ci.chromium.org/ui/p/chromium/builders/try/linux-chromeos-rel/1005808/overview Original change's description: > [Files app] Separate chrome-untrusted resources > > The resources in u/f/file_manager/foreground/elements/sandboxed/ > are meant to be loaded in a safe environment with restricted > permissions (either <webview> or an iframed chrome-untrusted page). > > Separate these resources from the main ui/file_manager code to better > reflect the fact that chrome-untrusted://file-manager is now its own > separate page with its own resources. > > Legacy Files app now "borrows" these resources from the chrome-untrusted > WebUI, to load them in <webview> tags. This code is meant to be removed > once Files app fully migrates to a SWA. > > Test: browser_tests --gtest_filter=QuickView/FilesAppBrowserTest.Test/* > Bug: b:192894681, b:201363705, b:197601728 > Change-Id: I3490672beb5a72d814cd5fb8c7d908fe8678472d > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3189577 > Reviewed-by: calamity <calamity@chromium.org> > Reviewed-by: Scott Violet <sky@chromium.org> > Reviewed-by: Luciano Pacheco <lucmult@chromium.org> > Reviewed-by: Bo Majewski <majewski@chromium.org> > Commit-Queue: Jeremie Boulic <jboulic@chromium.org> > Cr-Commit-Position: refs/heads/main@{#930868} Bug: b:192894681, b:201363705, b:197601728 Change-Id: I7b507f1eb486a76149c59cd078e783adc99e4cbd No-Presubmit: true No-Tree-Checks: true No-Try: true Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3218725 Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Reviewed-by: Nic Hollingum <hollingum@google.com> Reviewed-by: Chih-Yu Huang <akahuang@chromium.org> Owners-Override: Nic Hollingum <hollingum@google.com> Commit-Queue: Chih-Yu Huang <akahuang@chromium.org> Cr-Commit-Position: refs/heads/main@{#930896}
- Loading branch information
Nic Hollingum
authored and
Chromium LUCI CQ
committed
Oct 13, 2021
1 parent
b59602c
commit 7d11744
Showing
25 changed files
with
97 additions
and
101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
ui/file_manager/file_manager/foreground/elements/files_quick_view.js
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
9 changes: 5 additions & 4 deletions
9
ui/file_manager/file_manager/foreground/elements/files_safe_media.js
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
13 changes: 13 additions & 0 deletions
13
ui/file_manager/file_manager/foreground/elements/sandboxed/BUILD.gn
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Copyright 2021 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. | ||
|
||
import("//third_party/closure_compiler/compile_js.gni") | ||
|
||
js_library("files_media_content") { | ||
externs_list = [ "//ui/file_manager/file_manager/externs/quick_view.js" ] | ||
} | ||
|
||
js_type_check("closure_compile") { | ||
deps = [ ":files_media_content" ] | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...ntrusted_resources/files_media_content.js → ...elements/sandboxed/files_media_content.js
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters