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

Issue 2764033005: Do not launch external apps while page is scrolling (Closed)

Created:
3 years, 9 months ago by pkl (ping after 24h if needed)
Modified:
3 years, 9 months ago
CC:
chromium-reviews, Eugene But (OOO till 7-30), ios-reviews+web_chromium.org, ios-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Do not launch external apps while page is scrolling This is a long outstanding bug of launching a Google app while page is scrolling. The root cause is that a URL is loaded as the page scrolls down. Since the user touched the screen to initiate the scroll, the "link clicked" logic took that scroll touch as a link click and the URL load is then treated as if the user has clicked on the link. This affects links such as maps.google.com and youtube.com. Refer to http://crbug/704417 regarding the following types of navigations. This CL simplifies the logic, at the expense of a change in behavior: [1] MV tiles - No change in behavior [2] Bookmarks - Used to launch native iOS app, now opens web site in browser. [3] Recently closed - Used to launch native iOS app, now opens web site in browser. BUG=663583, 700709 TEST=Test loading of Google web sites (maps, drive, etc). Check redirects. Embedded YT videos and Maps. Review-Url: https://codereview.chromium.org/2764033005 Cr-Commit-Position: refs/heads/master@{#459072} Committed: https://chromium.googlesource.com/chromium/src/+/fd4f2da01569ad80206f09edd2b585e186d06ed8

Patch Set 1 #

Patch Set 2 : updated comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -4 lines) Patch
M ios/web/web_state/ui/crw_web_controller.mm View 1 2 chunks +11 lines, -4 lines 0 comments Download

Messages

Total messages: 15 (6 generated)
pkl (ping after 24h if needed)
The bug(s) is (are) currently marked as RBS for M58. This is the smallest fix ...
3 years, 9 months ago (2017-03-22 06:36:05 UTC) #2
Eugene But (OOO till 7-30)
You change does not make |shouldAllowLoadWithNavigationAction:| worse :) lgtm
3 years, 9 months ago (2017-03-22 15:11:30 UTC) #3
rohitrao (ping after 24h)
It looks like there is a second change in this CL that isn't captured in ...
3 years, 9 months ago (2017-03-22 20:57:56 UTC) #4
pkl (ping after 24h if needed)
On 2017/03/22 20:57:56, rohitrao wrote: > It looks like there is a second change in ...
3 years, 9 months ago (2017-03-23 05:27:49 UTC) #5
pkl (ping after 24h if needed)
Please take another look. There's no change in code, just updated the comment with a ...
3 years, 9 months ago (2017-03-23 05:35:54 UTC) #7
rohitrao (ping after 24h)
Code lgtm assuming we're happy with the behavior changes.
3 years, 9 months ago (2017-03-23 11:58:56 UTC) #8
pkl (ping after 24h if needed)
On 2017/03/23 11:58:56, rohitrao wrote: > Code lgtm assuming we're happy with the behavior changes. ...
3 years, 9 months ago (2017-03-23 13:25:09 UTC) #9
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/2764033005/20001
3 years, 9 months ago (2017-03-23 13:25:45 UTC) #12
commit-bot: I haz the power
3 years, 9 months ago (2017-03-23 14:08:50 UTC) #15
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/fd4f2da01569ad80206f09edd2b5...

Powered by Google App Engine
This is Rietveld 408576698