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

Issue 15950003: Made the open menu item in the context menu updated when the context menu is open. (Closed)

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

Description

Made the open menu item in the context menu updated when the context menu is open. Originally, FileSelectionHandler#updateFileSelectionAsync have the complex conditional statements. And when util.platform.newUI() is true and selection.totalCount is zero, updateContextMenuActionItems that updates the open menu item is not called. This CL arranged the statements by the target of update and added some comments. BUG=243687 TEST=manually Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=202508

Patch Set 1 : #

Total comments: 13

Patch Set 2 : Addressed comments. #

Total comments: 2

Patch Set 3 : Stop to assign null initially. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -52 lines) Patch
M chrome/browser/resources/file_manager/js/file_selection.js View 1 2 1 chunk +44 lines, -52 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
hirono
Yoshiki-san, Could you check this CL? Thank you very much!
7 years, 7 months ago (2013-05-27 04:09:08 UTC) #1
yoshiki
https://codereview.chromium.org/15950003/diff/2001/chrome/browser/resources/file_manager/js/file_selection.js File chrome/browser/resources/file_manager/js/file_selection.js (right): https://codereview.chromium.org/15950003/diff/2001/chrome/browser/resources/file_manager/js/file_selection.js#newcode481 chrome/browser/resources/file_manager/js/file_selection.js:481: selection.createTasks(function() { Why moved to here? The logic doesn't ...
7 years, 7 months ago (2013-05-28 02:26:48 UTC) #2
hirono
Fixed. Thank you! https://codereview.chromium.org/15950003/diff/2001/chrome/browser/resources/file_manager/js/file_selection.js File chrome/browser/resources/file_manager/js/file_selection.js (right): https://codereview.chromium.org/15950003/diff/2001/chrome/browser/resources/file_manager/js/file_selection.js#newcode481 chrome/browser/resources/file_manager/js/file_selection.js:481: selection.createTasks(function() { On 2013/05/28 02:26:48, yoshiki ...
7 years, 7 months ago (2013-05-28 04:08:44 UTC) #3
yoshiki
lgtm with nit https://codereview.chromium.org/15950003/diff/2001/chrome/browser/resources/file_manager/js/file_selection.js File chrome/browser/resources/file_manager/js/file_selection.js (right): https://codereview.chromium.org/15950003/diff/2001/chrome/browser/resources/file_manager/js/file_selection.js#newcode481 chrome/browser/resources/file_manager/js/file_selection.js:481: selection.createTasks(function() { On 2013/05/28 04:08:44, hirono ...
7 years, 7 months ago (2013-05-28 04:20:33 UTC) #4
hirono
On 2013/05/28 04:20:33, yoshiki wrote: > lgtm with nit > > https://codereview.chromium.org/15950003/diff/2001/chrome/browser/resources/file_manager/js/file_selection.js > File chrome/browser/resources/file_manager/js/file_selection.js ...
7 years, 7 months ago (2013-05-28 04:46:53 UTC) #5
hirono
https://codereview.chromium.org/15950003/diff/7001/chrome/browser/resources/file_manager/js/file_selection.js File chrome/browser/resources/file_manager/js/file_selection.js (right): https://codereview.chromium.org/15950003/diff/7001/chrome/browser/resources/file_manager/js/file_selection.js#newcode493 chrome/browser/resources/file_manager/js/file_selection.js:493: var thumbnailEntries = null; On 2013/05/28 04:20:33, yoshiki wrote: ...
7 years, 7 months ago (2013-05-28 04:47:01 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hirono@chromium.org/15950003/11001
7 years, 7 months ago (2013-05-28 04:47:22 UTC) #7
commit-bot: I haz the power
7 years, 6 months ago (2013-05-28 06:59:39 UTC) #8
Message was sent while issue was closed.
Change committed as 202508

Powered by Google App Engine
This is Rietveld 408576698