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

Issue 13006010: Add support for taking partial screenshot using touch (Closed)

Created:
7 years, 9 months ago by Yufeng Shen (Slow to review)
Modified:
7 years, 9 months ago
Reviewers:
Jun Mukai, sadrul, sky
CC:
chromium-reviews, sadrul, ben+watch_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Add support for taking partial screenshot using touch BUG=chromium:177857 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=190738

Patch Set 1 #

Total comments: 7

Patch Set 2 : Addressed comments #

Patch Set 3 : updates #

Patch Set 4 : updates #

Total comments: 8

Patch Set 5 : addressed sadrul's comments #

Total comments: 2

Patch Set 6 : fixed nit #

Total comments: 6

Patch Set 7 : Cancel taking screenshot when OnMouseCaptureLost() #

Total comments: 2

Patch Set 8 : addressed sky's comment #

Patch Set 9 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+115 lines, -2 lines) Patch
M ash/ash.gyp View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M ash/wm/partial_screenshot_view.h View 1 2 3 4 5 6 7 8 2 chunks +8 lines, -1 line 0 comments Download
M ash/wm/partial_screenshot_view.cc View 1 2 3 4 5 6 7 8 2 chunks +5 lines, -1 line 0 comments Download
A ash/wm/partial_screenshot_view_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +101 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
Yufeng Shen (Slow to review)
7 years, 9 months ago (2013-03-25 20:37:07 UTC) #1
Jun Mukai
https://codereview.chromium.org/13006010/diff/1/ash/wm/partial_screenshot_view.cc File ash/wm/partial_screenshot_view.cc (right): https://codereview.chromium.org/13006010/diff/1/ash/wm/partial_screenshot_view.cc#newcode205 ash/wm/partial_screenshot_view.cc:205: if (current_touch_id_ != -1 && current_touch_id_ != event->touch_id()) So, ...
7 years, 9 months ago (2013-03-25 21:03:48 UTC) #2
sadrul
https://codereview.chromium.org/13006010/diff/1/ash/wm/partial_screenshot_view.cc File ash/wm/partial_screenshot_view.cc (right): https://codereview.chromium.org/13006010/diff/1/ash/wm/partial_screenshot_view.cc#newcode202 ash/wm/partial_screenshot_view.cc:202: void PartialScreenshotView::OnTouchEvent(ui::TouchEvent* event) { You should override OnGestureEvent, and ...
7 years, 9 months ago (2013-03-25 21:11:04 UTC) #3
Yufeng Shen (Slow to review)
https://codereview.chromium.org/13006010/diff/1/ash/wm/partial_screenshot_view.cc File ash/wm/partial_screenshot_view.cc (right): https://codereview.chromium.org/13006010/diff/1/ash/wm/partial_screenshot_view.cc#newcode202 ash/wm/partial_screenshot_view.cc:202: void PartialScreenshotView::OnTouchEvent(ui::TouchEvent* event) { On 2013/03/25 21:11:04, sadrul wrote: ...
7 years, 9 months ago (2013-03-25 22:03:34 UTC) #4
sadrul
https://codereview.chromium.org/13006010/diff/8001/ash/wm/partial_screenshot_view.cc File ash/wm/partial_screenshot_view.cc (right): https://codereview.chromium.org/13006010/diff/8001/ash/wm/partial_screenshot_view.cc#newcode216 ash/wm/partial_screenshot_view.cc:216: case ui::ET_GESTURE_SCROLL_BEGIN: Hm. On second thought: perhaps it makes ...
7 years, 9 months ago (2013-03-25 22:13:24 UTC) #5
Yufeng Shen (Slow to review)
https://codereview.chromium.org/13006010/diff/8001/ash/wm/partial_screenshot_view.cc File ash/wm/partial_screenshot_view.cc (right): https://codereview.chromium.org/13006010/diff/8001/ash/wm/partial_screenshot_view.cc#newcode216 ash/wm/partial_screenshot_view.cc:216: case ui::ET_GESTURE_SCROLL_BEGIN: On 2013/03/25 22:13:24, sadrul wrote: > Hm. ...
7 years, 9 months ago (2013-03-25 22:38:44 UTC) #6
Jun Mukai
lgtm
7 years, 9 months ago (2013-03-25 22:40:12 UTC) #7
sadrul
LGTM It looks like there are no current tests for the PartialScreenshotView. But it would ...
7 years, 9 months ago (2013-03-25 22:42:14 UTC) #8
Yufeng Shen (Slow to review)
added sky@ for OWNERS https://codereview.chromium.org/13006010/diff/14001/ash/wm/partial_screenshot_view.h File ash/wm/partial_screenshot_view.h (right): https://codereview.chromium.org/13006010/diff/14001/ash/wm/partial_screenshot_view.h#newcode53 ash/wm/partial_screenshot_view.h:53: // Overidden from ui::EventHandler On ...
7 years, 9 months ago (2013-03-25 22:55:00 UTC) #9
Yufeng Shen (Slow to review)
On 2013/03/25 22:42:14, sadrul wrote: > LGTM > > It looks like there are no ...
7 years, 9 months ago (2013-03-25 22:59:21 UTC) #10
sky
https://codereview.chromium.org/13006010/diff/9003/ash/wm/partial_screenshot_view.cc File ash/wm/partial_screenshot_view.cc (right): https://codereview.chromium.org/13006010/diff/9003/ash/wm/partial_screenshot_view.cc#newcode148 ash/wm/partial_screenshot_view.cc:148: current_position_ = position; Can this early out if is_dragging_ ...
7 years, 9 months ago (2013-03-25 23:42:29 UTC) #11
Yufeng Shen (Slow to review)
https://codereview.chromium.org/13006010/diff/9003/ash/wm/partial_screenshot_view.cc File ash/wm/partial_screenshot_view.cc (right): https://codereview.chromium.org/13006010/diff/9003/ash/wm/partial_screenshot_view.cc#newcode148 ash/wm/partial_screenshot_view.cc:148: current_position_ = position; On 2013/03/25 23:42:29, sky wrote: > ...
7 years, 9 months ago (2013-03-26 01:24:03 UTC) #12
sky
LGTM https://codereview.chromium.org/13006010/diff/25001/ash/wm/partial_screenshot_view.h File ash/wm/partial_screenshot_view.h (right): https://codereview.chromium.org/13006010/diff/25001/ash/wm/partial_screenshot_view.h#newcode54 ash/wm/partial_screenshot_view.h:54: // Overidden from ui::EventHandler: Isn't this overriden from ...
7 years, 9 months ago (2013-03-26 14:43:35 UTC) #13
Yufeng Shen (Slow to review)
https://codereview.chromium.org/13006010/diff/25001/ash/wm/partial_screenshot_view.h File ash/wm/partial_screenshot_view.h (right): https://codereview.chromium.org/13006010/diff/25001/ash/wm/partial_screenshot_view.h#newcode54 ash/wm/partial_screenshot_view.h:54: // Overidden from ui::EventHandler: On 2013/03/26 14:43:35, sky wrote: ...
7 years, 9 months ago (2013-03-26 15:35:14 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/miletus@chromium.org/13006010/31001
7 years, 9 months ago (2013-03-26 15:38:27 UTC) #15
commit-bot: I haz the power
7 years, 9 months ago (2013-03-26 19:45:12 UTC) #16
Message was sent while issue was closed.
Change committed as 190738

Powered by Google App Engine
This is Rietveld 408576698