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

Issue 1673703002: support zoom and move image by mouse. (Closed)

Created:
4 years, 10 months ago by ryoh
Modified:
4 years, 10 months ago
Reviewers:
hirono
CC:
chromium-reviews, rginda+watch_chromium.org, mtomasz+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

support zoom and move image by mouse. BUG=510614 TEST=manually Committed: https://crrev.com/b2f88eeb0310e882707d873a973c5d35f4dbfdae Cr-Commit-Position: refs/heads/master@{#374829}

Patch Set 1 #

Total comments: 2

Patch Set 2 : remove dups and fix for closure compiler. #

Total comments: 10

Patch Set 3 : fix nits #

Total comments: 4

Patch Set 4 : check mousebutton also in onMouseUp, stopOperation before moving #

Total comments: 1

Patch Set 5 : nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+72 lines, -4 lines) Patch
M ui/file_manager/gallery/js/slide_mode.js View 1 2 3 4 4 chunks +72 lines, -4 lines 0 comments Download

Messages

Total messages: 25 (11 generated)
ryoh
Hi, here is the patch to zoom/move image by mouse. Could you take a look?
4 years, 10 months ago (2016-02-06 03:58:03 UTC) #3
hirono
https://codereview.chromium.org/1673703002/diff/1/ui/file_manager/gallery/js/slide_mode.js File ui/file_manager/gallery/js/slide_mode.js (right): https://codereview.chromium.org/1673703002/diff/1/ui/file_manager/gallery/js/slide_mode.js#newcode2084 ui/file_manager/gallery/js/slide_mode.js:2084: TouchHandler.prototype.onMouseWheel_ = function(event) { nit: It looks we have ...
4 years, 10 months ago (2016-02-06 07:28:00 UTC) #4
ryoh
Thanks you for the review. I removed the duplicated code and added type annotations for ...
4 years, 10 months ago (2016-02-08 04:58:01 UTC) #5
hirono
https://codereview.chromium.org/1673703002/diff/20001/ui/file_manager/gallery/js/slide_mode.js File ui/file_manager/gallery/js/slide_mode.js (right): https://codereview.chromium.org/1673703002/diff/20001/ui/file_manager/gallery/js/slide_mode.js#newcode2094 ui/file_manager/gallery/js/slide_mode.js:2094: if (!this.enabled_) Maybe we should check button property of ...
4 years, 10 months ago (2016-02-09 17:57:44 UTC) #6
hirono
lgtm after fixing the comments.
4 years, 10 months ago (2016-02-09 17:58:29 UTC) #7
ryoh
Thanks you for the reply. I will remove the type annotation at #2111, #2112 after ...
4 years, 10 months ago (2016-02-10 01:49:05 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1673703002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1673703002/40001
4 years, 10 months ago (2016-02-10 01:49:25 UTC) #11
hirono
Sorry I found two more comments. Still lgtm after resolving the issues. Thanks! https://codereview.chromium.org/1673703002/diff/40001/ui/file_manager/gallery/js/slide_mode.js File ...
4 years, 10 months ago (2016-02-10 02:06:53 UTC) #12
ryoh
Thank you for your review! Could you take a look? https://codereview.chromium.org/1673703002/diff/40001/ui/file_manager/gallery/js/slide_mode.js File ui/file_manager/gallery/js/slide_mode.js (right): https://codereview.chromium.org/1673703002/diff/40001/ui/file_manager/gallery/js/slide_mode.js#newcode2109 ...
4 years, 10 months ago (2016-02-10 03:51:56 UTC) #14
hirono
lgtm! https://codereview.chromium.org/1673703002/diff/60001/ui/file_manager/gallery/js/slide_mode.js File ui/file_manager/gallery/js/slide_mode.js (right): https://codereview.chromium.org/1673703002/diff/60001/ui/file_manager/gallery/js/slide_mode.js#newcode2078 ui/file_manager/gallery/js/slide_mode.js:2078: zoom = zoom * TouchHandler.WHEEL_ZOOM_FACTOR; nit: *= and ...
4 years, 10 months ago (2016-02-10 16:50:34 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1673703002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1673703002/60001
4 years, 10 months ago (2016-02-11 01:03:50 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1673703002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1673703002/80001
4 years, 10 months ago (2016-02-11 01:06:43 UTC) #21
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 10 months ago (2016-02-11 01:37:58 UTC) #23
commit-bot: I haz the power
4 years, 10 months ago (2016-02-16 22:33:52 UTC) #25
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/b2f88eeb0310e882707d873a973c5d35f4dbfdae
Cr-Commit-Position: refs/heads/master@{#374829}

Powered by Google App Engine
This is Rietveld 408576698