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

Issue 2631143002: Refactor Quick View controller. (Closed)

Created:
3 years, 11 months ago by oka
Modified:
3 years, 11 months ago
Reviewers:
fukino
CC:
chromium-reviews, oka+watch_chromium.org, rginda+watch_chromium.org, mtomasz+watch_chromium.org, yamaguchi+watch_chromium.org, fukino+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Refactor Quick View controller. Refactored the logic to fill parameters into quick view element using switch instead of multiple if-s. This is a preparation for the CL https://codereview.chromium.org/2634053002, which shows open task button only when applicable. BUG=658448 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2631143002 Cr-Commit-Position: refs/heads/master@{#444009} Committed: https://chromium.googlesource.com/chromium/src/+/88a01ea6624dcffe4257a05e79c56ccd5eb31849

Patch Set 1 #

Patch Set 2 : nit #

Total comments: 4

Patch Set 3 : Addressed comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -44 lines) Patch
M ui/file_manager/file_manager/foreground/js/quick_view_controller.js View 1 2 2 chunks +42 lines, -44 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 21 (14 generated)
oka
PTAL.
3 years, 11 months ago (2017-01-16 12:50:03 UTC) #5
oka
nit
3 years, 11 months ago (2017-01-16 12:55:50 UTC) #7
fukino
lgtm with nits https://codereview.chromium.org/2631143002/diff/20001/ui/file_manager/file_manager/foreground/js/quick_view_controller.js File ui/file_manager/file_manager/foreground/js/quick_view_controller.js (right): https://codereview.chromium.org/2631143002/diff/20001/ui/file_manager/file_manager/foreground/js/quick_view_controller.js#newcode323 ui/file_manager/file_manager/foreground/js/quick_view_controller.js:323: * @type{!Promise<!File>} nit: space after @type ...
3 years, 11 months ago (2017-01-17 06:46:03 UTC) #13
oka
Addressed comments.
3 years, 11 months ago (2017-01-17 08:45:42 UTC) #14
oka
https://codereview.chromium.org/2631143002/diff/20001/ui/file_manager/file_manager/foreground/js/quick_view_controller.js File ui/file_manager/file_manager/foreground/js/quick_view_controller.js (right): https://codereview.chromium.org/2631143002/diff/20001/ui/file_manager/file_manager/foreground/js/quick_view_controller.js#newcode323 ui/file_manager/file_manager/foreground/js/quick_view_controller.js:323: * @type{!Promise<!File>} On 2017/01/17 06:46:03, fukino wrote: > nit: ...
3 years, 11 months ago (2017-01-17 08:45:49 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2631143002/40001
3 years, 11 months ago (2017-01-17 08:46:05 UTC) #18
commit-bot: I haz the power
3 years, 11 months ago (2017-01-17 09:12:17 UTC) #21
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/88a01ea6624dcffe4257a05e79c5...

Powered by Google App Engine
This is Rietveld 408576698