|
|
Created:
4 years, 1 month ago by oka Modified:
4 years ago Reviewers:
fukino CC:
chromium-reviews, yamaguchi+watch_chromium.org, oka+watch_chromium.org, rginda+watch_chromium.org, mtomasz+watch_chromium.org, jlklein+watch-closure_chromium.org, fukino+watch_chromium.org, vitalyp+closure_chromium.org, dbeam+watch-closure_chromium.org Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
DescriptionFiles App: Update the context menu and open button when installed app
is changed.
This CL is based on https://codereview.chromium.org/2487623002.
BUG=620577
TEST=manually tested using minnie:
1. Select a PDF file on Files App.
2. Install Kindle.
3. Confirm "more action..." appears on the context menu and Open
button's UI changes to be able to open Kindle.
4. Uninstall Kindle.
5. Confirm "more action..." no longer appears and Open button doesn't
show Kindle up anymore.
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
Committed: https://crrev.com/db598a3cac95e914bf357132548bffeec16e6490
Cr-Commit-Position: refs/heads/master@{#436895}
Patch Set 1 #
Total comments: 3
Patch Set 2 : Rebased #Patch Set 3 : Renamed onSelectionChangeThrottled_ to updateTasks_. #Patch Set 4 : Rebased. #Patch Set 5 : Rebased. #Patch Set 6 : Rebased. #Patch Set 7 : Fixed test. #
Messages
Total messages: 47 (35 generated)
Description was changed from ========== Files App: Update the context menu when installed app is changed. BUG=620577 ========== to ========== Files App: Update the context menu when installed app is changed. BUG=620577 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation ==========
The CQ bit was checked by oka@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: android_arm64_dbg_recipe on master.tryserver.chromium.android (JOB_TIMED_OUT, no build URL) android_clang_dbg_recipe on master.tryserver.chromium.android (JOB_TIMED_OUT, no build URL) android_compile_dbg on master.tryserver.chromium.android (JOB_TIMED_OUT, no build URL) android_cronet on master.tryserver.chromium.android (JOB_TIMED_OUT, no build URL) cast_shell_android on master.tryserver.chromium.android (JOB_TIMED_OUT, no build URL)
The CQ bit was checked by oka@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
Description was changed from ========== Files App: Update the context menu when installed app is changed. BUG=620577 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation ========== to ========== Files App: Update the context menu when installed app is changed. TEST=manually tested using minnie: 1. Select a PDF file on Files App. 2. Install Kindle. 3. Confirm "more action..." appears on the context menu and also Open button's UI changes to be able to select Kindle. BUG=620577 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation ==========
Description was changed from ========== Files App: Update the context menu when installed app is changed. TEST=manually tested using minnie: 1. Select a PDF file on Files App. 2. Install Kindle. 3. Confirm "more action..." appears on the context menu and also Open button's UI changes to be able to select Kindle. BUG=620577 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation ========== to ========== Files App: Update the context menu when installed app is changed. TEST=manually tested using minnie: 1. Select a PDF file on Files App. 2. Install Kindle. 3. Confirm "more action..." appears on the context menu and Open button's UI changes to be able to open Kindle. BUG=620577 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation ==========
Description was changed from ========== Files App: Update the context menu when installed app is changed. TEST=manually tested using minnie: 1. Select a PDF file on Files App. 2. Install Kindle. 3. Confirm "more action..." appears on the context menu and Open button's UI changes to be able to open Kindle. BUG=620577 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation ========== to ========== Files App: Update the context menu when installed app is changed. TEST=manually tested using minnie: 1. Select a PDF file on Files App. 2. Install Kindle. 3. Confirm "more action..." appears on the context menu and Open button's UI changes to be able to open Kindle. BUG=620577 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation ==========
Description was changed from ========== Files App: Update the context menu when installed app is changed. TEST=manually tested using minnie: 1. Select a PDF file on Files App. 2. Install Kindle. 3. Confirm "more action..." appears on the context menu and Open button's UI changes to be able to open Kindle. BUG=620577 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation ========== to ========== Files App: Update the context menu when installed app is changed. TEST=manually tested using minnie: 1. Select a PDF file on Files App. 2. Install Kindle. 3. Confirm "more action..." appears on the context menu and Open button's UI changes to be able to open Kindle. BUG=620577 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation ==========
Description was changed from ========== Files App: Update the context menu when installed app is changed. TEST=manually tested using minnie: 1. Select a PDF file on Files App. 2. Install Kindle. 3. Confirm "more action..." appears on the context menu and Open button's UI changes to be able to open Kindle. BUG=620577 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation ========== to ========== Files App: Update the context menu and open button when installed app is changed. TEST=manually tested using minnie: 1. Select a PDF file on Files App. 2. Install Kindle. 3. Confirm "more action..." appears on the context menu and Open button's UI changes to be able to open Kindle. BUG=620577 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation ==========
Description was changed from ========== Files App: Update the context menu and open button when installed app is changed. TEST=manually tested using minnie: 1. Select a PDF file on Files App. 2. Install Kindle. 3. Confirm "more action..." appears on the context menu and Open button's UI changes to be able to open Kindle. BUG=620577 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation ========== to ========== Files App: Update the context menu and open button when installed app is changed. BUG=620577 TEST=manually tested using minnie: 1. Select a PDF file on Files App. 2. Install Kindle. 3. Confirm "more action..." appears on the context menu and Open button's UI changes to be able to open Kindle. CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation ==========
Description was changed from ========== Files App: Update the context menu and open button when installed app is changed. BUG=620577 TEST=manually tested using minnie: 1. Select a PDF file on Files App. 2. Install Kindle. 3. Confirm "more action..." appears on the context menu and Open button's UI changes to be able to open Kindle. CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation ========== to ========== Files App: Update the context menu and open button when installed app is changed. This CL is based on https://codereview.chromium.org/2487623002. BUG=620577 TEST=manually tested using minnie: 1. Select a PDF file on Files App. 2. Install Kindle. 3. Confirm "more action..." appears on the context menu and Open button's UI changes to be able to open Kindle. CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation ==========
oka@chromium.org changed reviewers: + fukino@chromium.org
Please check the failing test. https://codereview.chromium.org/2513493002/diff/1/ui/file_manager/file_manage... File ui/file_manager/file_manager/foreground/js/task_controller.js (right): https://codereview.chromium.org/2513493002/diff/1/ui/file_manager/file_manage... ui/file_manager/file_manager/foreground/js/task_controller.js:102: this.onSelectionChangeThrottled_.bind(this)); Direct wiring to onSelectionChangeThrottled_ looks a bit strange to me. How about extract a logic to update the context menu and dropdown menu, and call it from onSelectionChangeThrottled_ and here?
https://codereview.chromium.org/2513493002/diff/1/ui/file_manager/file_manage... File ui/file_manager/file_manager/foreground/js/task_controller.js (right): https://codereview.chromium.org/2513493002/diff/1/ui/file_manager/file_manage... ui/file_manager/file_manager/foreground/js/task_controller.js:102: this.onSelectionChangeThrottled_.bind(this)); On 2016/11/21 08:57:50, fukino wrote: > Direct wiring to onSelectionChangeThrottled_ looks a bit strange to me. > How about extract a logic to update the context menu and dropdown menu, and call > it from onSelectionChangeThrottled_ and here? That's exactly what onSelectionChangeThrottled_ does. How about just renaming onSelectionChangeThrottled_?
https://codereview.chromium.org/2513493002/diff/1/ui/file_manager/file_manage... File ui/file_manager/file_manager/foreground/js/task_controller.js (right): https://codereview.chromium.org/2513493002/diff/1/ui/file_manager/file_manage... ui/file_manager/file_manager/foreground/js/task_controller.js:102: this.onSelectionChangeThrottled_.bind(this)); On 2016/11/21 09:14:47, oka wrote: > On 2016/11/21 08:57:50, fukino wrote: > > Direct wiring to onSelectionChangeThrottled_ looks a bit strange to me. > > How about extract a logic to update the context menu and dropdown menu, and > call > > it from onSelectionChangeThrottled_ and here? > > That's exactly what onSelectionChangeThrottled_ does. How about just renaming > onSelectionChangeThrottled_? sgtm
On 2016/11/21 09:27:29, fukino wrote: > https://codereview.chromium.org/2513493002/diff/1/ui/file_manager/file_manage... > File ui/file_manager/file_manager/foreground/js/task_controller.js (right): > > https://codereview.chromium.org/2513493002/diff/1/ui/file_manager/file_manage... > ui/file_manager/file_manager/foreground/js/task_controller.js:102: > this.onSelectionChangeThrottled_.bind(this)); > On 2016/11/21 09:14:47, oka wrote: > > On 2016/11/21 08:57:50, fukino wrote: > > > Direct wiring to onSelectionChangeThrottled_ looks a bit strange to me. > > > How about extract a logic to update the context menu and dropdown menu, and > > call > > > it from onSelectionChangeThrottled_ and here? > > > > That's exactly what onSelectionChangeThrottled_ does. How about just renaming > > onSelectionChangeThrottled_? > > sgtm Done.
lgtm
The CQ bit was checked by oka@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Description was changed from ========== Files App: Update the context menu and open button when installed app is changed. This CL is based on https://codereview.chromium.org/2487623002. BUG=620577 TEST=manually tested using minnie: 1. Select a PDF file on Files App. 2. Install Kindle. 3. Confirm "more action..." appears on the context menu and Open button's UI changes to be able to open Kindle. CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation ========== to ========== Files App: Update the context menu and open button when installed app is changed. This CL is based on https://codereview.chromium.org/2487623002. BUG=620577 TEST=manually tested using minnie: 1. Select a PDF file on Files App. 2. Install Kindle. 3. Confirm "more action..." appears on the context menu and Open button's UI changes to be able to open Kindle. 4. Uninstall Kindle. 5. Confirm "more action..." no longer appears and Open button doesn't show Kindle up anymore. CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation ==========
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
The CQ bit was checked by oka@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from fukino@chromium.org Link to the patchset: https://codereview.chromium.org/2513493002/#ps60001 (title: "Rebased.")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was checked by oka@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
The CQ bit was checked by oka@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
PTALA. Modified task_controller_unittest.js
still lgtm
The CQ bit was unchecked by oka@chromium.org
The CQ bit was checked by oka@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was checked by oka@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
CQ is committing da patch. Bot data: {"patchset_id": 120001, "attempt_start_ts": 1481099944264920, "parent_rev": "02b18ee4f73d880e9434a573bdc2b0b502aeedfa", "commit_rev": "983c26aac198c8cd7f2444cfb59938f065f51e02"}
Message was sent while issue was closed.
Committed patchset #7 (id:120001)
Message was sent while issue was closed.
Description was changed from ========== Files App: Update the context menu and open button when installed app is changed. This CL is based on https://codereview.chromium.org/2487623002. BUG=620577 TEST=manually tested using minnie: 1. Select a PDF file on Files App. 2. Install Kindle. 3. Confirm "more action..." appears on the context menu and Open button's UI changes to be able to open Kindle. 4. Uninstall Kindle. 5. Confirm "more action..." no longer appears and Open button doesn't show Kindle up anymore. CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation ========== to ========== Files App: Update the context menu and open button when installed app is changed. This CL is based on https://codereview.chromium.org/2487623002. BUG=620577 TEST=manually tested using minnie: 1. Select a PDF file on Files App. 2. Install Kindle. 3. Confirm "more action..." appears on the context menu and Open button's UI changes to be able to open Kindle. 4. Uninstall Kindle. 5. Confirm "more action..." no longer appears and Open button doesn't show Kindle up anymore. CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/db598a3cac95e914bf357132548bffeec16e6490 Cr-Commit-Position: refs/heads/master@{#436895} ==========
Message was sent while issue was closed.
Patchset 7 (id:??) landed as https://crrev.com/db598a3cac95e914bf357132548bffeec16e6490 Cr-Commit-Position: refs/heads/master@{#436895} |