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

Issue 2682593005: Fixes pinch-to-zoom when linking against the 10.11 SDK or newer.

Created:
3 years, 10 months ago by rohitrao (ping after 24h)
Modified:
3 years, 10 months ago
Reviewers:
CC:
chromium-reviews, yusukes+watch_chromium.org, shuchen+watch_chromium.org, jam, nona+watch_chromium.org, darin-cc_chromium.org, mac-reviews_chromium.org, James Su
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fixes pinch-to-zoom when linking against the 10.11 SDK or newer. When linking against the 10.11 SDK or newer, the OS will no longer directly call |beginGestureWithEvent:| or |endGestureWithEvent:|. Instead, applications must check the event's phase inside of |magnifyWithEvent:|. Earlier OS versions will still call the old methods, regardless of which SDK is used. This CL adds both compile-time and runtime checks to ensure that the "begin" and "end" helper methods are called exactly once per gesture. BUG=680927

Patch Set 1 #

Patch Set 2 : Fix comment. #

Patch Set 3 : Test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+81 lines, -3 lines) Patch
M content/browser/renderer_host/render_widget_host_view_mac.mm View 1 5 chunks +65 lines, -3 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac_unittest.mm View 1 2 8 chunks +16 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (8 generated)
rohitrao (ping after 24h)
The CQ bit was checked by rohitrao@chromium.org to run a CQ dry run
3 years, 10 months ago (2017-02-07 16:07:16 UTC) #1
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2682593005/1
3 years, 10 months ago (2017-02-07 16:07:31 UTC) #2
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
3 years, 10 months ago (2017-02-07 16:30:43 UTC) #3
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
3 years, 10 months ago (2017-02-07 16:30:45 UTC) #4
rohitrao (ping after 24h)
The CQ bit was checked by rohitrao@chromium.org to run a CQ dry run
3 years, 10 months ago (2017-02-07 16:47:23 UTC) #5
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2682593005/20001
3 years, 10 months ago (2017-02-07 16:47:40 UTC) #6
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
3 years, 10 months ago (2017-02-07 17:17:29 UTC) #7
commit-bot: I haz the power
3 years, 10 months ago (2017-02-07 17:17:30 UTC) #8
Dry run: This issue passed the CQ dry run.

Powered by Google App Engine
This is Rietveld 408576698