Files.app: Fix errors when launching Files.app via "chrome://files" (2)
The previous patch (r203795) is not a good way because chrome.app.window.contentWindow is always undefined. This patch introduced another method to check if it is running as apps instead. BUG=243414 TEST=Confirm a close button works correctly on normal Files.app and doesn't work on chrome://files. R=mtomasz@chromium.org Review URL: https://chromiumcodereview.appspot.com/16207004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203969 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment