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

Issue 651403002: Fix trivial type-check errors in file_manager. (Closed)

Created:
6 years, 2 months ago by fukino
Modified:
6 years, 2 months ago
Reviewers:
hirono
CC:
chromium-reviews, yoshiki+watch_chromium.org, dcheng, rginda+watch_chromium.org, mtomasz+watch_chromium.org, vitalyp+closure_chromium.org, dbeam+watch-closure_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Fix trivial type-check errors in file_manager. Changes in this CL are many, but they are basically about type annotations. The actual code doesn't change substantially. Changes which affect actual code will be separate CLs. BUG=406995 TEST=run browser_tests Committed: https://crrev.com/c6db2aae0d7b5b663aaaf2c72be3e5462f8132bb Cr-Commit-Position: refs/heads/master@{#299867}

Patch Set 1 #

Patch Set 2 : . #

Total comments: 11

Patch Set 3 : Update based on review comments. #

Total comments: 8

Patch Set 4 : Reflected review comments. #

Total comments: 4

Patch Set 5 : Use Node.parentElement, ensure opt_sizeStats, and edit a type annotation. #

Total comments: 2

Patch Set 6 : Rebase and correct a comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+600 lines, -377 lines) Patch
M ui/file_manager/file_manager/background/js/app_window_wrapper.js View 3 chunks +3 lines, -2 lines 0 comments Download
M ui/file_manager/file_manager/background/js/background.js View 6 chunks +6 lines, -6 lines 0 comments Download
M ui/file_manager/file_manager/background/js/device_handler.js View 1 2 3 2 chunks +3 lines, -4 lines 0 comments Download
M ui/file_manager/file_manager/background/js/drive_sync_handler.js View 1 chunk +1 line, -0 lines 0 comments Download
M ui/file_manager/file_manager/background/js/file_operation_handler.js View 1 2 5 chunks +6 lines, -3 lines 0 comments Download
M ui/file_manager/file_manager/background/js/file_operation_manager.js View 5 chunks +6 lines, -5 lines 0 comments Download
M ui/file_manager/file_manager/background/js/progress_center.js View 1 chunk +1 line, -1 line 0 comments Download
M ui/file_manager/file_manager/background/js/volume_manager.js View 1 2 14 chunks +35 lines, -27 lines 0 comments Download
A ui/file_manager/file_manager/common/js/externs.js View 1 1 chunk +45 lines, -0 lines 0 comments Download
M ui/file_manager/file_manager/common/js/progress_center_common.js View 4 chunks +4 lines, -4 lines 0 comments Download
M ui/file_manager/file_manager/common/js/util.js View 8 chunks +11 lines, -9 lines 0 comments Download
M ui/file_manager/file_manager/common/js/volume_manager_common.js View 1 2 1 chunk +8 lines, -0 lines 0 comments Download
M ui/file_manager/file_manager/foreground/js/app_installer.js View 1 chunk +2 lines, -2 lines 0 comments Download
M ui/file_manager/file_manager/foreground/js/compiled_resources.gyp View 1 2 1 chunk +84 lines, -2 lines 0 comments Download
M ui/file_manager/file_manager/foreground/js/cws_container_client.js View 1 chunk +1 line, -0 lines 0 comments Download
M ui/file_manager/file_manager/foreground/js/directory_contents.js View 5 chunks +13 lines, -8 lines 0 comments Download
M ui/file_manager/file_manager/foreground/js/directory_model.js View 4 chunks +4 lines, -4 lines 0 comments Download
M ui/file_manager/file_manager/foreground/js/file_manager.js View 21 chunks +46 lines, -41 lines 0 comments Download
M ui/file_manager/file_manager/foreground/js/file_manager_commands.js View 29 chunks +63 lines, -62 lines 0 comments Download
M ui/file_manager/file_manager/foreground/js/file_selection.js View 2 chunks +3 lines, -4 lines 0 comments Download
M ui/file_manager/file_manager/foreground/js/file_tasks.js View 2 chunks +3 lines, -3 lines 0 comments Download
M ui/file_manager/file_manager/foreground/js/file_transfer_controller.js View 6 chunks +10 lines, -7 lines 0 comments Download
M ui/file_manager/file_manager/foreground/js/file_watcher.js View 1 chunk +1 line, -1 line 0 comments Download
M ui/file_manager/file_manager/foreground/js/folder_shortcuts_data_model.js View 3 chunks +3 lines, -3 lines 0 comments Download
M ui/file_manager/file_manager/foreground/js/metadata/metadata_cache.js View 5 chunks +8 lines, -3 lines 0 comments Download
M ui/file_manager/file_manager/foreground/js/metrics.js View 2 chunks +3 lines, -3 lines 0 comments Download
M ui/file_manager/file_manager/foreground/js/navigation_list_model.js View 2 chunks +3 lines, -2 lines 0 comments Download
M ui/file_manager/file_manager/foreground/js/progress_center_item_group.js View 1 chunk +2 lines, -2 lines 0 comments Download
M ui/file_manager/file_manager/foreground/js/search_controller.js View 3 chunks +3 lines, -3 lines 0 comments Download
M ui/file_manager/file_manager/foreground/js/thumbnail_loader.js View 3 chunks +3 lines, -3 lines 0 comments Download
M ui/file_manager/file_manager/foreground/js/ui/combobutton.js View 2 chunks +2 lines, -2 lines 0 comments Download
M ui/file_manager/file_manager/foreground/js/ui/commandbutton.js View 1 4 chunks +16 lines, -9 lines 0 comments Download
M ui/file_manager/file_manager/foreground/js/ui/conflict_dialog.js View 3 chunks +4 lines, -4 lines 0 comments Download
M ui/file_manager/file_manager/foreground/js/ui/directory_tree.js View 1 2 3 4 15 chunks +19 lines, -14 lines 0 comments Download
M ui/file_manager/file_manager/foreground/js/ui/drag_selector.js View 4 chunks +6 lines, -4 lines 0 comments Download
M ui/file_manager/file_manager/foreground/js/ui/drive_banners.js View 1 2 3 4 10 chunks +31 lines, -19 lines 0 comments Download
M ui/file_manager/file_manager/foreground/js/ui/file_grid.js View 1 2 3 4 4 chunks +7 lines, -6 lines 0 comments Download
M ui/file_manager/file_manager/foreground/js/ui/file_manager_dialog_base.js View 1 2 3 4 5 chunks +8 lines, -8 lines 0 comments Download
M ui/file_manager/file_manager/foreground/js/ui/file_manager_ui.js View 2 chunks +10 lines, -7 lines 0 comments Download
M ui/file_manager/file_manager/foreground/js/ui/file_table.js View 12 chunks +26 lines, -20 lines 0 comments Download
M ui/file_manager/file_manager/foreground/js/ui/location_line.js View 2 chunks +2 lines, -2 lines 0 comments Download
M ui/file_manager/file_manager/foreground/js/ui/preview_panel.js View 13 chunks +28 lines, -25 lines 0 comments Download
M ui/file_manager/file_manager/foreground/js/ui/progress_center_panel.js View 6 chunks +12 lines, -9 lines 0 comments Download
M ui/file_manager/file_manager/foreground/js/ui/scrollbar.js View 1 2 3 4 5 2 chunks +4 lines, -2 lines 0 comments Download
M ui/file_manager/file_manager/foreground/js/ui/search_box.js View 6 chunks +19 lines, -14 lines 0 comments Download
M ui/file_manager/file_manager/foreground/js/ui/share_dialog.js View 1 2 3 4 chunks +7 lines, -6 lines 0 comments Download
M ui/file_manager/file_manager/foreground/js/ui/suggest_apps_dialog.js View 1 2 3 5 chunks +9 lines, -7 lines 0 comments Download
M ui/file_manager/file_manager/foreground/js/volume_manager_wrapper.js View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
M ui/file_manager/image_loader/image_loader_client.js View 2 chunks +3 lines, -2 lines 0 comments Download

Messages

Total messages: 14 (2 generated)
fukino
hirono@, could you take a look? Thanks! https://codereview.chromium.org/651403002/diff/2/ui/file_manager/file_manager/common/js/externs.js File ui/file_manager/file_manager/common/js/externs.js (right): https://codereview.chromium.org/651403002/diff/2/ui/file_manager/file_manager/common/js/externs.js#newcode9 ui/file_manager/file_manager/common/js/externs.js:9: var BackgroundWindow ...
6 years, 2 months ago (2014-10-15 09:25:04 UTC) #2
hirono
Up to file_manager.js. https://codereview.chromium.org/651403002/diff/2/ui/file_manager/file_manager/background/js/device_handler.js File ui/file_manager/file_manager/background/js/device_handler.js (right): https://codereview.chromium.org/651403002/diff/2/ui/file_manager/file_manager/background/js/device_handler.js#newcode163 ui/file_manager/file_manager/background/js/device_handler.js:163: * @param {(string|undefined)} devicePath Device path. ...
6 years, 2 months ago (2014-10-15 09:40:35 UTC) #3
fukino
https://codereview.chromium.org/651403002/diff/2/ui/file_manager/file_manager/background/js/device_handler.js File ui/file_manager/file_manager/background/js/device_handler.js (right): https://codereview.chromium.org/651403002/diff/2/ui/file_manager/file_manager/background/js/device_handler.js#newcode163 ui/file_manager/file_manager/background/js/device_handler.js:163: * @param {(string|undefined)} devicePath Device path. On 2014/10/15 09:40:34, ...
6 years, 2 months ago (2014-10-15 11:46:02 UTC) #4
hirono
https://codereview.chromium.org/651403002/diff/30001/ui/file_manager/file_manager/foreground/js/ui/drive_banners.js File ui/file_manager/file_manager/foreground/js/ui/drive_banners.js (right): https://codereview.chromium.org/651403002/diff/30001/ui/file_manager/file_manager/foreground/js/ui/drive_banners.js#newcode607 ui/file_manager/file_manager/foreground/js/ui/drive_banners.js:607: * Create an element using given parameters. nit: Create ...
6 years, 2 months ago (2014-10-16 04:36:51 UTC) #5
fukino
https://codereview.chromium.org/651403002/diff/30001/ui/file_manager/file_manager/foreground/js/ui/drive_banners.js File ui/file_manager/file_manager/foreground/js/ui/drive_banners.js (right): https://codereview.chromium.org/651403002/diff/30001/ui/file_manager/file_manager/foreground/js/ui/drive_banners.js#newcode607 ui/file_manager/file_manager/foreground/js/ui/drive_banners.js:607: * Create an element using given parameters. On 2014/10/16 ...
6 years, 2 months ago (2014-10-16 05:17:13 UTC) #6
hirono
https://codereview.chromium.org/651403002/diff/30001/ui/file_manager/file_manager/foreground/js/ui/scrollbar.js File ui/file_manager/file_manager/foreground/js/ui/scrollbar.js (right): https://codereview.chromium.org/651403002/diff/30001/ui/file_manager/file_manager/foreground/js/ui/scrollbar.js#newcode63 ui/file_manager/file_manager/foreground/js/ui/scrollbar.js:63: * @param {Node} parent Parent node, must have a ...
6 years, 2 months ago (2014-10-16 06:13:00 UTC) #7
fukino
https://codereview.chromium.org/651403002/diff/30001/ui/file_manager/file_manager/foreground/js/ui/scrollbar.js File ui/file_manager/file_manager/foreground/js/ui/scrollbar.js (right): https://codereview.chromium.org/651403002/diff/30001/ui/file_manager/file_manager/foreground/js/ui/scrollbar.js#newcode63 ui/file_manager/file_manager/foreground/js/ui/scrollbar.js:63: * @param {Node} parent Parent node, must have a ...
6 years, 2 months ago (2014-10-16 06:35:07 UTC) #8
hirono
lgtm, thanks! https://codereview.chromium.org/651403002/diff/70001/ui/file_manager/file_manager/foreground/js/ui/scrollbar.js File ui/file_manager/file_manager/foreground/js/ui/scrollbar.js (right): https://codereview.chromium.org/651403002/diff/70001/ui/file_manager/file_manager/foreground/js/ui/scrollbar.js#newcode63 ui/file_manager/file_manager/foreground/js/ui/scrollbar.js:63: * @param {Element} parent Parent node, must ...
6 years, 2 months ago (2014-10-16 07:24:47 UTC) #9
fukino
Thanks! https://codereview.chromium.org/651403002/diff/70001/ui/file_manager/file_manager/foreground/js/ui/scrollbar.js File ui/file_manager/file_manager/foreground/js/ui/scrollbar.js (right): https://codereview.chromium.org/651403002/diff/70001/ui/file_manager/file_manager/foreground/js/ui/scrollbar.js#newcode63 ui/file_manager/file_manager/foreground/js/ui/scrollbar.js:63: * @param {Element} parent Parent node, must have ...
6 years, 2 months ago (2014-10-16 07:43:43 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/651403002/90001
6 years, 2 months ago (2014-10-16 07:44:31 UTC) #12
commit-bot: I haz the power
Committed patchset #6 (id:90001)
6 years, 2 months ago (2014-10-16 08:13:33 UTC) #13
commit-bot: I haz the power
6 years, 2 months ago (2014-10-16 08:14:18 UTC) #14
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/c6db2aae0d7b5b663aaaf2c72be3e5462f8132bb
Cr-Commit-Position: refs/heads/master@{#299867}

Powered by Google App Engine
This is Rietveld 408576698