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

Issue 2727353004: Compile Image Editor in gyp v2 (Closed)

Created:
3 years, 9 months ago by oka
Modified:
3 years, 9 months ago
Reviewers:
Dan Beam, 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, oshima+watch_chromium.org, fukino+watch_chromium.org, vitalyp+closure_chromium.org, dbeam+watch-closure_chromium.org, yawano
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Compile Image Editor in gyp v2 Renamed ImageEditor.Mode to ImageEditorMode and extracted the file for this. Renamed ImageEditor.Toolbar to ImageEditorToolbar and extracted the file for this. Removed dependency from ImageEditorMode to ImageEditor: - registerAction_ and modeToolbar_.reset are called by ImageEditor instead of ImageEditor.Mode. - arguments for ImageEditorMode.prototype.bind is changed not to take ImageEditor. Formatted the edited code with `git cl format --js`. BUG=636289 TEST=run_compiler. - manually tested image edits can be done without errors. CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2727353004 Cr-Commit-Position: refs/heads/master@{#455053} Committed: https://chromium.googlesource.com/chromium/src/+/a5347c7133cb9b84a9c9801ca307343ed3ed4947

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : . #

Patch Set 4 : . #

Patch Set 5 : . #

Patch Set 6 : . #

Patch Set 7 : Compile more targets in Gallery. #

Patch Set 8 : . #

Patch Set 9 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+859 lines, -772 lines) Patch
M ui/file_manager/file_manager/foreground/js/ui/compiled_resources2.gyp View 1 chunk +7 lines, -4 lines 0 comments Download
M ui/file_manager/gallery/js/compiled_resources.gyp View 1 chunk +2 lines, -0 lines 0 comments Download
M ui/file_manager/gallery/js/compiled_resources2.gyp View 1 2 3 4 5 6 2 chunks +51 lines, -38 lines 0 comments Download
M ui/file_manager/gallery/js/gallery_scripts.js View 1 chunk +2 lines, -0 lines 0 comments Download
M ui/file_manager/gallery/js/image_editor/compiled_resources2.gyp View 4 chunks +65 lines, -36 lines 0 comments Download
M ui/file_manager/gallery/js/image_editor/image_adjust.js View 9 chunks +50 lines, -43 lines 0 comments Download
M ui/file_manager/gallery/js/image_editor/image_editor.js View 14 chunks +27 lines, -565 lines 0 comments Download
A ui/file_manager/gallery/js/image_editor/image_editor_mode.js View 4 1 chunk +214 lines, -0 lines 0 comments Download
A ui/file_manager/gallery/js/image_editor/image_editor_toolbar.js View 3 4 5 6 7 1 chunk +350 lines, -0 lines 0 comments Download
M ui/file_manager/gallery/js/image_editor/image_resize.js View 14 chunks +32 lines, -33 lines 0 comments Download
M ui/file_manager/gallery/js/image_editor/image_transform.js View 14 chunks +31 lines, -30 lines 0 comments Download
M ui/file_manager/gallery/js/slide_mode.js View 1 2 3 4 5 6 5 chunks +13 lines, -13 lines 0 comments Download
M ui/file_manager/gallery/js/slide_mode_unittest.html View 1 2 3 4 5 6 7 8 1 chunk +6 lines, -8 lines 0 comments Download
M ui/file_manager/gallery/js/thumbnail_mode.js View 1 chunk +2 lines, -2 lines 0 comments Download
M ui/webui/resources/js/cr/ui/compiled_resources2.gyp View 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 38 (18 generated)
oka
.
3 years, 9 months ago (2017-03-03 13:50:23 UTC) #6
oka
.
3 years, 9 months ago (2017-03-03 13:52:02 UTC) #7
oka
.
3 years, 9 months ago (2017-03-03 13:52:59 UTC) #8
oka
PTAL. dbeam@ for ui/webui/resources/js/cr/ui/compiled_resources2.gyp fukino@ for others.
3 years, 9 months ago (2017-03-03 14:02:33 UTC) #10
oka
3 years, 9 months ago (2017-03-03 14:06:38 UTC) #12
oka
.
3 years, 9 months ago (2017-03-03 14:38:11 UTC) #13
oka
Compile more targets in Gallery.
3 years, 9 months ago (2017-03-03 14:43:07 UTC) #16
Dan Beam
lgtm
3 years, 9 months ago (2017-03-06 00:10:15 UTC) #17
fukino
looking good, but is it possible to tweak the similarity parameter to see the diff ...
3 years, 9 months ago (2017-03-06 01:50:35 UTC) #18
oka
I tried it but failed to produce meaningfull diff. 2017年3月6日(月) 10:50 <fukino@chromium.org>: > looking good, ...
3 years, 9 months ago (2017-03-06 01:57:31 UTC) #19
fukino
On 2017/03/06 01:57:31, oka wrote: > I tried it but failed to produce meaningfull diff. ...
3 years, 9 months ago (2017-03-06 02:04:15 UTC) #20
oka
On 2017/03/06 02:04:15, fukino wrote: > On 2017/03/06 01:57:31, oka wrote: > > I tried ...
3 years, 9 months ago (2017-03-07 06:13:37 UTC) #22
oka
On 2017/03/07 06:13:37, oka wrote: > On 2017/03/06 02:04:15, fukino wrote: > > On 2017/03/06 ...
3 years, 9 months ago (2017-03-07 06:33:34 UTC) #25
oka
PTAL.
3 years, 9 months ago (2017-03-07 06:33:45 UTC) #26
fukino
LGTM. Thank you!
3 years, 9 months ago (2017-03-07 06:53:00 UTC) #27
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/2727353004/130001
3 years, 9 months ago (2017-03-07 07:58:19 UTC) #29
commit-bot: I haz the power
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_chromeos_rel_ng/builds/378228)
3 years, 9 months ago (2017-03-07 08:59:12 UTC) #31
oka
.
3 years, 9 months ago (2017-03-07 09:17:10 UTC) #32
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/2727353004/150001
3 years, 9 months ago (2017-03-07 09:18:21 UTC) #35
commit-bot: I haz the power
3 years, 9 months ago (2017-03-07 09:55:51 UTC) #38
Message was sent while issue was closed.
Committed patchset #9 (id:150001) as
https://chromium.googlesource.com/chromium/src/+/a5347c7133cb9b84a9c9801ca307...

Powered by Google App Engine
This is Rietveld 408576698