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

Issue 2817483002: [Workaround] Notify Overscroll Actions that a gesture ended. (Closed)

Created:
3 years, 8 months ago by justincohen
Modified:
3 years, 8 months ago
CC:
chromium-reviews, ios-reviews+chrome_chromium.org, ios-reviews_chromium.org, pkl (ping after 24h if needed), noyau+watch_chromium.org, marq+watch_chromium.org, sdefresne+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[Workaround] Notify Overscroll Actions that a gesture ended. The OverscrollActionController adds a UIPanGestureRecognizer. When text is selected and SelectionSpeak is enabled, the UIPanGestureRecognizer's end state is not always communicated to the OverscrollActionController. This CL calls the OverscrollActionController whenever the UIPanGestureRecognizer is reset. patchset from jif@chromium.org TEST=Enable SelectionSpeak. Visit a page. Select text. In a single gesture, scroll a little bit up and down. Once you lift your finger from the screen, the browser should not be frozen, i.e. you should be able to scroll the page. BUG=699655 patch from issue 2787723003 at patchset 40001 (http://crrev.com/2787723003#ps40001) Review-Url: https://codereview.chromium.org/2817483002 Cr-Commit-Position: refs/heads/master@{#464267} Committed: https://chromium.googlesource.com/chromium/src/+/998bf426e310eda213fa80898a840a89f815d676

Patch Set 1 #

Total comments: 4

Patch Set 2 : Add back removeTarget, use weak protocol #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -3 lines) Patch
M ios/chrome/browser/ui/overscroll_actions/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
M ios/chrome/browser/ui/overscroll_actions/overscroll_actions_controller.mm View 2 chunks +13 lines, -3 lines 0 comments Download
A ios/chrome/browser/ui/overscroll_actions/overscroll_actions_gesture_recognizer.h View 1 chunk +18 lines, -0 lines 0 comments Download
A ios/chrome/browser/ui/overscroll_actions/overscroll_actions_gesture_recognizer.mm View 1 1 chunk +38 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (10 generated)
justincohen
Patch stolen from jif@ while he's out here: https://codereview.chromium.org/2787723003/ Only change is sorting headers and ...
3 years, 8 months ago (2017-04-11 18:24:13 UTC) #2
noyau (Ping after 24h)
On 2017/04/11 18:24:13, justincohen wrote: > Patch stolen from jif@ while he's out here: > ...
3 years, 8 months ago (2017-04-12 09:01:53 UTC) #3
jif-google
On 2017/04/12 09:01:53, noyau wrote: > On 2017/04/11 18:24:13, justincohen wrote: > > Patch stolen ...
3 years, 8 months ago (2017-04-12 12:06:52 UTC) #4
rohitrao (ping after 24h)
lgtm Note that Justin does not believe that this should go into the initial M58 ...
3 years, 8 months ago (2017-04-12 12:25:57 UTC) #5
justincohen
PTAL https://codereview.chromium.org/2817483002/diff/1/ios/chrome/browser/ui/overscroll_actions/overscroll_actions_gesture_recognizer.mm File ios/chrome/browser/ui/overscroll_actions/overscroll_actions_gesture_recognizer.mm (right): https://codereview.chromium.org/2817483002/diff/1/ios/chrome/browser/ui/overscroll_actions/overscroll_actions_gesture_recognizer.mm#newcode12 ios/chrome/browser/ui/overscroll_actions/overscroll_actions_gesture_recognizer.mm:12: base::scoped_nsprotocol<id> target_; On 2017/04/12 12:25:57, rohitrao wrote: > ...
3 years, 8 months ago (2017-04-12 16:05:34 UTC) #8
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/2817483002/20001
3 years, 8 months ago (2017-04-12 21:30:20 UTC) #13
commit-bot: I haz the power
3 years, 8 months ago (2017-04-13 03:09:22 UTC) #17
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/998bf426e310eda213fa80898a84...

Powered by Google App Engine
This is Rietveld 408576698