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

Issue 2869313003: Delete Android joystick zoom code. (Closed)

Created:
3 years, 7 months ago by aelias_OOO_until_Jul13
Modified:
3 years, 7 months ago
Reviewers:
boliu
CC:
agrieve+watch_chromium.org, chromium-reviews, darin-cc_chromium.org, jam
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Delete Android joystick zoom code. Reasons: - This zooming code cannot naturally be refactored to use a similar approach as http://crrev.com/472737; that would require introducing a "zoom velocity" to fling events used only for this, which would be a maintenance burden. - I tried connecting a PS4 controller and the trigger axes weren't mapped at all. In general, button mapping on Android is highly random and the left-stick is one of the only things mapped consistently. And this wasn't hooked up to the gamepad mappings, which is wildly incomplete anyway. So it's unlikely that any users are benefiting from this feature except on the specific controller-style NVidia Shield (which is a discontinued product) that http://crrev.com/380572 was tested on. - Zooming is a relatively obscure use case now that most sites are mobile-optimized. BUG=644488 Review-Url: https://codereview.chromium.org/2869313003 Cr-Commit-Position: refs/heads/master@{#473069} Committed: https://chromium.googlesource.com/chromium/src/+/5c2987aea858fe28a76f6d41ca86ed2771b39e4b

Patch Set 1 #

Patch Set 2 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -389 lines) Patch
M content/public/android/BUILD.gn View 1 2 chunks +0 lines, -2 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java View 1 7 chunks +4 lines, -44 lines 0 comments Download
D content/public/android/java/src/org/chromium/content/browser/input/JoystickZoomProvider.java View 1 chunk +0 lines, -190 lines 0 comments Download
D content/public/android/javatests/src/org/chromium/content/browser/ContentViewZoomingTest.java View 1 chunk +0 lines, -153 lines 0 comments Download

Messages

Total messages: 28 (24 generated)
aelias_OOO_until_Jul13
Hi Bo, PTAL.
3 years, 7 months ago (2017-05-19 01:00:14 UTC) #16
boliu
lgtm
3 years, 7 months ago (2017-05-19 02:36:42 UTC) #21
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/2869313003/20001
3 years, 7 months ago (2017-05-19 02:50:05 UTC) #24
commit-bot: I haz the power
3 years, 7 months ago (2017-05-19 03:50:20 UTC) #28
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/5c2987aea858fe28a76f6d41ca86...

Powered by Google App Engine
This is Rietveld 408576698