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

Issue 16207004: Files.app: Fix errors when launching Files.app via "chrome://files" (2) (Closed)

Created:
7 years, 6 months ago by yoshiki
Modified:
7 years, 6 months ago
Reviewers:
mtomasz
CC:
chromium-reviews, rginda+watch_chromium.org, arv+watch_chromium.org
Visibility:
Public.

Description

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 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=203969

Patch Set 1 #

Total comments: 10

Patch Set 2 : address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -12 lines) Patch
M chrome/browser/resources/file_manager/js/file_manager.js View 1 3 chunks +7 lines, -12 lines 0 comments Download
M chrome/browser/resources/file_manager/js/util.js View 1 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
yoshiki
@mtomasz: PTAL
7 years, 6 months ago (2013-06-04 06:15:43 UTC) #1
mtomasz
Thanks for fixing this! Some minor comments. https://codereview.chromium.org/16207004/diff/1/chrome/browser/resources/file_manager/js/file_manager.js File chrome/browser/resources/file_manager/js/file_manager.js (right): https://codereview.chromium.org/16207004/diff/1/chrome/browser/resources/file_manager/js/file_manager.js#newcode895 chrome/browser/resources/file_manager/js/file_manager.js:895: console.info('Files.app window ...
7 years, 6 months ago (2013-06-04 06:38:44 UTC) #2
yoshiki
@mtomasz: PTAL https://codereview.chromium.org/16207004/diff/1/chrome/browser/resources/file_manager/js/file_manager.js File chrome/browser/resources/file_manager/js/file_manager.js (right): https://codereview.chromium.org/16207004/diff/1/chrome/browser/resources/file_manager/js/file_manager.js#newcode895 chrome/browser/resources/file_manager/js/file_manager.js:895: console.info('Files.app window is not created yet. Maybe ...
7 years, 6 months ago (2013-06-04 06:57:34 UTC) #3
mtomasz
lgtm!
7 years, 6 months ago (2013-06-04 07:02:17 UTC) #4
yoshiki
Thanks!
7 years, 6 months ago (2013-06-04 07:05:12 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yoshiki@chromium.org/16207004/5001
7 years, 6 months ago (2013-06-04 07:05:28 UTC) #6
commit-bot: I haz the power
7 years, 6 months ago (2013-06-04 15:17:17 UTC) #7
Message was sent while issue was closed.
Change committed as 203969

Powered by Google App Engine
This is Rietveld 408576698