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

Issue 215103003: [Files.app] Hide video-player related task menu according to condition (Closed)

Created:
6 years, 9 months ago by yoshiki
Modified:
6 years, 9 months ago
Reviewers:
hirono, hashimoto
CC:
chromium-reviews, extensions-reviews_chromium.org, yoshiki+watch_chromium.org, rginda+watch_chromium.org, mtomasz+watch_chromium.org, arv+watch_chromium.org, chromium-apps-reviews_chromium.org
Visibility:
Public.

Description

[Files.app] Hide video-player related task menu according to condition This patch does following.: - Hide "Open" (open in gallery with movie mode) if a single file is selected - Hide "Watch" (open in video player) if multiple files are selected Before the movie player separation, the task menu behaved as above, but it was removed in the previous patch (https://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/chromeos/file_manager/file_browser_handlers.cc?r1=259219&r2=259218&pathrev=259219). This patch changes the behaviour back with the new video player. BUG=271811 TEST=manually tested R=hashimoto@chromium.org, hirono@chromium.org TBR=asargent@chromium.orh # TBRing for removing the comment. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=260134

Patch Set 1 #

Total comments: 5

Patch Set 2 : Addressed comments #

Total comments: 4

Patch Set 3 : reupload #

Patch Set 4 : Adressed the comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -9 lines) Patch
M chrome/browser/chromeos/file_manager/app_id.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/file_manager/file_tasks.cc View 1 2 3 2 chunks +44 lines, -0 lines 0 comments Download
M chrome/browser/extensions/component_loader.cc View 2 chunks +0 lines, -4 lines 0 comments Download
M chrome/browser/resources/file_manager/foreground/js/file_manager.js View 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/resources/file_manager/foreground/js/file_tasks.js View 1 4 chunks +13 lines, -3 lines 0 comments Download
M chrome/browser/resources/file_manager/manifest.json View 1 chunk +8 lines, -1 line 0 comments Download

Messages

Total messages: 21 (0 generated)
yoshiki
@hirono, PTAL. Thanks.
6 years, 9 months ago (2014-03-28 03:59:09 UTC) #1
hirono
Thanks! https://codereview.chromium.org/215103003/diff/1/chrome/browser/extensions/component_loader.cc File chrome/browser/extensions/component_loader.cc (left): https://codereview.chromium.org/215103003/diff/1/chrome/browser/extensions/component_loader.cc#oldcode443 chrome/browser/extensions/component_loader.cc:443: // Note: Video player should be avove the ...
6 years, 9 months ago (2014-03-28 05:35:22 UTC) #2
yoshiki
@hirono, @hashimoto: PTAL. Thanks. https://codereview.chromium.org/215103003/diff/1/chrome/browser/extensions/component_loader.cc File chrome/browser/extensions/component_loader.cc (left): https://codereview.chromium.org/215103003/diff/1/chrome/browser/extensions/component_loader.cc#oldcode443 chrome/browser/extensions/component_loader.cc:443: // Note: Video player should ...
6 years, 9 months ago (2014-03-28 06:53:10 UTC) #3
hirono
Thanks lgtm!
6 years, 9 months ago (2014-03-28 07:36:04 UTC) #4
hashimoto
https://codereview.chromium.org/215103003/diff/40001/chrome/browser/chromeos/file_manager/file_tasks.cc File chrome/browser/chromeos/file_manager/file_tasks.cc (right): https://codereview.chromium.org/215103003/diff/40001/chrome/browser/chromeos/file_manager/file_tasks.cc#newcode114 chrome/browser/chromeos/file_manager/file_tasks.cc:114: FindTaskForExtensionIdAndActionId( nit: FindTaskForAppIdAndActionId? The argument is named |app_id|. https://codereview.chromium.org/215103003/diff/40001/chrome/browser/chromeos/file_manager/file_tasks.cc#newcode134 ...
6 years, 9 months ago (2014-03-28 07:57:09 UTC) #5
yoshiki
@hashimoto: Sorry, I fotget uploading the latest patchset. PTAL. Thanks.
6 years, 9 months ago (2014-03-28 09:09:53 UTC) #6
hashimoto
chrome/browser/chromeos/file_manager/ lgtm https://codereview.chromium.org/215103003/diff/40001/chrome/browser/chromeos/file_manager/file_tasks.cc File chrome/browser/chromeos/file_manager/file_tasks.cc (right): https://codereview.chromium.org/215103003/diff/40001/chrome/browser/chromeos/file_manager/file_tasks.cc#newcode114 chrome/browser/chromeos/file_manager/file_tasks.cc:114: FindTaskForExtensionIdAndActionId( On 2014/03/28 07:57:10, hashimoto wrote: > ...
6 years, 9 months ago (2014-03-28 09:28:59 UTC) #7
yoshiki
https://codereview.chromium.org/215103003/diff/40001/chrome/browser/chromeos/file_manager/file_tasks.cc File chrome/browser/chromeos/file_manager/file_tasks.cc (right): https://codereview.chromium.org/215103003/diff/40001/chrome/browser/chromeos/file_manager/file_tasks.cc#newcode114 chrome/browser/chromeos/file_manager/file_tasks.cc:114: FindTaskForExtensionIdAndActionId( On 2014/03/28 09:28:59, hashimoto wrote: > On 2014/03/28 ...
6 years, 9 months ago (2014-03-28 09:31:27 UTC) #8
yoshiki
The CQ bit was checked by yoshiki@chromium.org
6 years, 9 months ago (2014-03-28 09:31:48 UTC) #9
yoshiki
The CQ bit was unchecked by yoshiki@chromium.org
6 years, 9 months ago (2014-03-28 09:31:48 UTC) #10
yoshiki
The CQ bit was checked by yoshiki@chromium.org
6 years, 9 months ago (2014-03-28 09:31:49 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yoshiki@chromium.org/215103003/80001
6 years, 9 months ago (2014-03-28 09:33:54 UTC) #12
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-28 10:14:47 UTC) #13
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=58231
6 years, 9 months ago (2014-03-28 10:14:47 UTC) #14
yoshiki
The CQ bit was checked by yoshiki@chromium.org
6 years, 9 months ago (2014-03-28 10:21:00 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yoshiki@chromium.org/215103003/80001
6 years, 9 months ago (2014-03-28 10:21:56 UTC) #16
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-28 15:23:34 UTC) #17
commit-bot: I haz the power
Retried try job too often on ios_dbg_simulator for step(s) components_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=ios_dbg_simulator&number=137342
6 years, 9 months ago (2014-03-28 15:23:35 UTC) #18
yoshiki
The CQ bit was checked by yoshiki@chromium.org
6 years, 9 months ago (2014-03-28 15:25:49 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yoshiki@chromium.org/215103003/80001
6 years, 9 months ago (2014-03-28 15:27:02 UTC) #20
yoshiki
6 years, 9 months ago (2014-03-28 15:35:45 UTC) #21
Message was sent while issue was closed.
Committed patchset #4 manually as r260134 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698