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

Issue 416023002: Gallery.app: Add touch operation to rotate images. (Closed)

Created:
6 years, 5 months ago by hirono
Modified:
6 years, 5 months ago
Reviewers:
mtomasz
CC:
chromium-reviews, rginda+watch_chromium.org, mtomasz+watch_chromium.org, yoshiki+watch_chromium.org
Project:
chromium
Visibility:
Public.

Description

Gallery.app: Add touch operation to rotate images. The CL: * Add rotation property to the Viewport class. * Update the rotation property by the TouchHandler class. * Reset Viewport properties when changing the image. BUG=390695 TEST=on link R=mtomasz@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=285460

Patch Set 1 #

Patch Set 2 : . #

Total comments: 6

Patch Set 3 : Fixed. #

Patch Set 4 : Fixed. #

Total comments: 2

Patch Set 5 : Fixed. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+136 lines, -66 lines) Patch
M ui/file_manager/gallery/js/image_editor/image_view.js View 7 chunks +24 lines, -13 lines 0 comments Download
M ui/file_manager/gallery/js/image_editor/viewport.js View 1 6 chunks +67 lines, -51 lines 0 comments Download
M ui/file_manager/gallery/js/slide_mode.js View 1 2 3 4 6 chunks +45 lines, -2 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
hirono
PTAL the CL? Thank you!
6 years, 5 months ago (2014-07-24 09:47:12 UTC) #1
mtomasz
On 2014/07/24 09:47:12, hirono wrote: > PTAL the CL? Thank you! typo: tocuh -> touch
6 years, 5 months ago (2014-07-24 09:53:38 UTC) #2
mtomasz
https://codereview.chromium.org/416023002/diff/20001/ui/file_manager/gallery/js/image_editor/image_view.js File ui/file_manager/gallery/js/image_editor/image_view.js (right): https://codereview.chromium.org/416023002/diff/20001/ui/file_manager/gallery/js/image_editor/image_view.js#newcode556 ui/file_manager/gallery/js/image_editor/image_view.js:556: var oldViewport = this.viewport_.clone(); Do we need to clone? ...
6 years, 5 months ago (2014-07-24 09:59:26 UTC) #3
hirono
Thanks! https://codereview.chromium.org/416023002/diff/20001/ui/file_manager/gallery/js/image_editor/image_view.js File ui/file_manager/gallery/js/image_editor/image_view.js (right): https://codereview.chromium.org/416023002/diff/20001/ui/file_manager/gallery/js/image_editor/image_view.js#newcode556 ui/file_manager/gallery/js/image_editor/image_view.js:556: var oldViewport = this.viewport_.clone(); On 2014/07/24 09:59:25, mtomasz ...
6 years, 5 months ago (2014-07-24 10:13:08 UTC) #4
mtomasz
lgtm with an optional nit https://codereview.chromium.org/416023002/diff/60001/ui/file_manager/gallery/js/slide_mode.js File ui/file_manager/gallery/js/slide_mode.js (right): https://codereview.chromium.org/416023002/diff/60001/ui/file_manager/gallery/js/slide_mode.js#newcode1540 ui/file_manager/gallery/js/slide_mode.js:1540: if (angle > 25) ...
6 years, 5 months ago (2014-07-24 11:22:21 UTC) #5
hirono
Thanks! https://codereview.chromium.org/416023002/diff/60001/ui/file_manager/gallery/js/slide_mode.js File ui/file_manager/gallery/js/slide_mode.js (right): https://codereview.chromium.org/416023002/diff/60001/ui/file_manager/gallery/js/slide_mode.js#newcode1540 ui/file_manager/gallery/js/slide_mode.js:1540: if (angle > 25) On 2014/07/24 11:22:21, mtomasz ...
6 years, 5 months ago (2014-07-25 01:03:41 UTC) #6
hirono
The CQ bit was checked by hirono@chromium.org
6 years, 5 months ago (2014-07-25 01:03:44 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hirono@chromium.org/416023002/80001
6 years, 5 months ago (2014-07-25 01:07:27 UTC) #8
hirono
6 years, 5 months ago (2014-07-25 02:38:16 UTC) #9
Message was sent while issue was closed.
Committed patchset #5 manually as r285460 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698