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

Issue 1215533003: Add a refresh button for providers which do not support watchers. (Closed)

Created:
5 years, 5 months ago by mtomasz
Modified:
5 years, 5 months ago
Reviewers:
fukino
CC:
chromium-reviews, extensions-reviews_chromium.org, rginda+watch_chromium.org, mtomasz+watch_chromium.org, jlklein+watch-closure_chromium.org, oshima+watch_chromium.org, vitalyp+closure_chromium.org, chromium-apps-reviews_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, dbeam+watch-closure_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add a refresh button for providers which do not support watchers. This CL: 1. Adds a file_system_provider.watchable manifest option similar to the existing file_system_provider.configurable. 2. Exposes this flag to Files app. 3. Adds a stub button without an implementation. TEST=browser_tests: *FileSystemProvider*Mount* BUG=501864 Committed: https://crrev.com/8df49a69fe68c8641f88ca599ddd78c9782ddfa5 Cr-Commit-Position: refs/heads/master@{#337571}

Patch Set 1 #

Total comments: 7

Patch Set 2 : Split. #

Patch Set 3 : Addressed comments. #

Patch Set 4 : Fixed a tiny bug. #

Patch Set 5 : Added a tooltip. #

Patch Set 6 : Rebased. #

Patch Set 7 : Fixed tests. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+81 lines, -7 lines) Patch
M chrome/app/chromeos_strings.grdp View 1 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/extensions/file_manager/private_api_strings.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M ui/file_manager/file_manager/background/js/volume_manager.js View 5 chunks +10 lines, -0 lines 0 comments Download
M ui/file_manager/file_manager/background/js/volume_manager_unittest.js View 4 chunks +4 lines, -0 lines 0 comments Download
M ui/file_manager/file_manager/foreground/css/file_manager.css View 1 2 3 4 5 1 chunk +6 lines, -0 lines 0 comments Download
A ui/file_manager/file_manager/foreground/images/files/ui/2x/refresh_white.png View Binary file 0 comments Download
A ui/file_manager/file_manager/foreground/images/files/ui/refresh_white.png View Binary file 0 comments Download
M ui/file_manager/file_manager/foreground/js/file_manager_commands.js View 1 2 3 4 5 6 1 chunk +20 lines, -0 lines 0 comments Download
M ui/file_manager/file_manager/foreground/js/providers_model.js View 4 chunks +15 lines, -1 line 0 comments Download
M ui/file_manager/file_manager/foreground/js/providers_model_unittest.js View 7 chunks +8 lines, -0 lines 0 comments Download
M ui/file_manager/file_manager/foreground/js/ui/banners.js View 1 2 1 chunk +1 line, -1 line 0 comments Download
M ui/file_manager/file_manager/main.html View 1 2 3 4 5 5 chunks +13 lines, -5 lines 0 comments Download

Messages

Total messages: 24 (9 generated)
mtomasz
https://codereview.chromium.org/1215533003/diff/1/chrome/common/extensions/api/file_manager_private.idl File chrome/common/extensions/api/file_manager_private.idl (right): https://codereview.chromium.org/1215533003/diff/1/chrome/common/extensions/api/file_manager_private.idl#newcode534 chrome/common/extensions/api/file_manager_private.idl:534: // Whether supports configuration dialog. (I'm going to remove ...
5 years, 5 months ago (2015-07-01 08:57:45 UTC) #1
mtomasz
@benwells: PTAL at: chrome/common/extensions/api/file_system_provider.idl chrome/common/extensions/api/file_system_provider_capabilities/file_system_provider_capabilities_handler.cc chrome/common/extensions/api/file_system_provider_capabilities/file_system_provider_capabilities_handler.h chrome/common/extensions/api/manifest_types.json chrome/common/extensions/docs/templates/intros/fileSystemProvider.html @fukino: PTAL at everything else.
5 years, 5 months ago (2015-07-01 08:59:49 UTC) #3
fukino
Could you divide this CL into two CLs? - Adds a file_system_provider.watchable and expose it ...
5 years, 5 months ago (2015-07-01 10:39:33 UTC) #4
mtomasz
This CL depends now on crrev.com/1221093002.
5 years, 5 months ago (2015-07-02 08:40:54 UTC) #5
benwells
-me as no longer any IDL to review.
5 years, 5 months ago (2015-07-02 08:50:19 UTC) #6
mtomasz
https://codereview.chromium.org/1215533003/diff/1/ui/file_manager/file_manager/foreground/js/file_manager_commands.js File ui/file_manager/file_manager/foreground/js/file_manager_commands.js (right): https://codereview.chromium.org/1215533003/diff/1/ui/file_manager/file_manager/foreground/js/file_manager_commands.js#newcode1441 ui/file_manager/file_manager/foreground/js/file_manager_commands.js:1441: event.canExecute = !volumeInfo.watchable; On 2015/07/01 10:39:33, fukino wrote: > ...
5 years, 5 months ago (2015-07-02 08:52:40 UTC) #8
fukino
Thank you! SGTM & LGTM.
5 years, 5 months ago (2015-07-02 09:07:36 UTC) #9
mtomasz
On 2015/07/02 09:07:36, fukino wrote: > Thank you! SGTM & LGTM. Thank you! I'll wait ...
5 years, 5 months ago (2015-07-02 09:12:29 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1215533003/100001
5 years, 5 months ago (2015-07-07 06:25:55 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/35365) (exceeded global retry quota)
5 years, 5 months ago (2015-07-07 06:45:51 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1215533003/100001
5 years, 5 months ago (2015-07-07 06:48:00 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/75195)
5 years, 5 months ago (2015-07-07 07:32:18 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1215533003/120001
5 years, 5 months ago (2015-07-07 07:56:36 UTC) #22
commit-bot: I haz the power
Committed patchset #7 (id:120001)
5 years, 5 months ago (2015-07-07 08:43:11 UTC) #23
commit-bot: I haz the power
5 years, 5 months ago (2015-07-07 08:44:09 UTC) #24
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/8df49a69fe68c8641f88ca599ddd78c9782ddfa5
Cr-Commit-Position: refs/heads/master@{#337571}

Powered by Google App Engine
This is Rietveld 408576698