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

Issue 18024002: Add the new window item to the Files.app's context menu on the launcher. (Closed)

Created:
7 years, 6 months ago by mtomasz
Modified:
7 years, 5 months ago
Reviewers:
yoshiki, benwells, hashimoto
CC:
chromium-reviews, extensions-reviews_chromium.org, nkostylev+watch_chromium.org, rginda+watch_chromium.org, arv+watch_chromium.org, oshima+watch_chromium.org, chromium-apps-reviews_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

Add the new window item to the Files.app's context menu on the launcher. This patch adds the 'Open new window' item to the context menu after right clicking on the launcher, which opens a new Files.app window on the same path as the focused window. Along the way, the obsolete code for opening a new window has been removed and the bug with not remembering the last path has been resolved. TEST=Open new window via the gear button as well as the context menu. BUG=252177, 254823 R=benwells@chromium.org, hashimoto@chromium.org, yoshiki@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=209120

Patch Set 1 #

Total comments: 3

Patch Set 2 : Addressed comments + fixed. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+93 lines, -56 lines) Patch
M chrome/browser/chromeos/extensions/file_manager/file_browser_private_api.h View 1 chunk +0 lines, -15 lines 0 comments Download
M chrome/browser/chromeos/extensions/file_manager/file_browser_private_api.cc View 2 chunks +0 lines, -12 lines 0 comments Download
M chrome/browser/extensions/extension_function_histogram_value.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/file_manager/js/background.js View 1 4 chunks +70 lines, -9 lines 0 comments Download
M chrome/browser/resources/file_manager/js/file_manager.js View 1 2 chunks +14 lines, -6 lines 0 comments Download
M chrome/browser/resources/file_manager/js/file_manager_commands.js View 1 chunk +7 lines, -2 lines 0 comments Download
M chrome/browser/resources/file_manager/manifest.json View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/extensions/api/file_browser_private.json View 1 chunk +0 lines, -11 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
mtomasz
@hashimoto: PTAL at C++ @yoshiki: PTAL at Javascript. Thanks!
7 years, 6 months ago (2013-06-27 07:50:18 UTC) #1
hashimoto
chrome/browser/chromeos/extensions/ lgtm
7 years, 6 months ago (2013-06-27 09:17:55 UTC) #2
yoshiki
https://codereview.chromium.org/18024002/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/18024002/diff/1/chrome/browser/resources/file_manager/js/file_manager.js#newcode793 chrome/browser/resources/file_manager/js/file_manager.js:793: chrome.storage.local.get('strings', function(items) { If Files.app is launched via chrome://files ...
7 years, 6 months ago (2013-06-27 10:25:40 UTC) #3
mtomasz
https://codereview.chromium.org/18024002/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/18024002/diff/1/chrome/browser/resources/file_manager/js/file_manager.js#newcode793 chrome/browser/resources/file_manager/js/file_manager.js:793: chrome.storage.local.get('strings', function(items) { On 2013/06/27 10:25:40, yoshiki wrote: > ...
7 years, 6 months ago (2013-06-27 10:26:57 UTC) #4
mtomasz
https://codereview.chromium.org/18024002/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/18024002/diff/1/chrome/browser/resources/file_manager/js/file_manager.js#newcode793 chrome/browser/resources/file_manager/js/file_manager.js:793: chrome.storage.local.get('strings', function(items) { On 2013/06/27 10:26:57, mtomasz wrote: > ...
7 years, 5 months ago (2013-06-27 12:03:09 UTC) #5
yoshiki
Thanks! LGTM
7 years, 5 months ago (2013-06-27 15:23:08 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mtomasz@chromium.org/18024002/7001
7 years, 5 months ago (2013-06-27 15:27:05 UTC) #7
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=12713
7 years, 5 months ago (2013-06-27 15:45:12 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mtomasz@chromium.org/18024002/7001
7 years, 5 months ago (2013-06-27 15:49:09 UTC) #9
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=12719
7 years, 5 months ago (2013-06-27 15:58:59 UTC) #10
mtomasz
@benwells: PTAL at extension_function_histogram_value.h and file_browser_private.json. Thanks.
7 years, 5 months ago (2013-06-28 02:45:43 UTC) #11
benwells
lgtm
7 years, 5 months ago (2013-06-28 05:37:41 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mtomasz@chromium.org/18024002/7001
7 years, 5 months ago (2013-06-28 05:38:42 UTC) #13
mtomasz
7 years, 5 months ago (2013-06-28 07:57:42 UTC) #14
Message was sent while issue was closed.
Committed patchset #2 manually as r209120 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698