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

Issue 2531413002: Reset the default value of touch event flag back to "Auto". (Closed)

Created:
4 years ago by sunyunjia
Modified:
4 years ago
CC:
chromium-reviews, jam, creis+watch_chromium.org, nasko+codewatch_chromium.org, darin-cc_chromium.org, asvitkine+watch_chromium.org, Rick Byers
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Reset the default value of touch event flag back to "Auto". This is a partial revert of issue 2467913002. https://codereview.chromium.org/2467913002 In the previous patch, we set the default value of touch-event-api as enabled. However, this may cause troubles due to http://crbug.com/392584. Basically there are still a bunch of websites on which mouse support is broken when the TouchEvents API is present. So we need to retain the "auto" behavior as the default. We also keep firing DOM events as before even when the flag says disabled. BUG=644318, 669386, 669132 Committed: https://crrev.com/78171bf829d1ae47b7d7237c08878783a2cdadb5 Cr-Commit-Position: refs/heads/master@{#435821}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Pass the tests. #

Patch Set 3 : Typo #

Total comments: 4

Patch Set 4 : Nit #

Total comments: 1

Patch Set 5 : Merge with origin/master #

Patch Set 6 : Keep firing dom events. #

Total comments: 2

Patch Set 7 : Wording. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -23 lines) Patch
M chrome/app/generated_resources.grd View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/about_flags.cc View 1 2 3 4 1 chunk +7 lines, -5 lines 0 comments Download
M chrome/browser/metrics/chrome_browser_main_extra_parts_metrics.cc View 1 chunk +9 lines, -5 lines 0 comments Download
M content/browser/renderer_host/render_view_host_impl.cc View 1 2 3 4 1 chunk +9 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/input/TouchEventManager.cpp View 1 2 3 4 5 6 2 chunks +0 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 2 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 68 (49 generated)
sunyunjia
PTAL, thanks!
4 years ago (2016-11-28 18:15:46 UTC) #3
mustaq
A few nits: CL description: s/touche/touch/. https://codereview.chromium.org/2531413002/diff/1/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/2531413002/diff/1/chrome/app/generated_resources.grd#newcode5497 chrome/app/generated_resources.grd:5497: + Force touchscreen ...
4 years ago (2016-11-28 18:47:47 UTC) #6
sunyunjia
PTAL, thanks! https://codereview.chromium.org/2531413002/diff/1/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/2531413002/diff/1/chrome/app/generated_resources.grd#newcode5497 chrome/app/generated_resources.grd:5497: + Force touchscreen support to always be ...
4 years ago (2016-11-28 21:04:13 UTC) #11
mustaq
lgtm
4 years ago (2016-11-29 14:51:33 UTC) #19
sunyunjia
PTAL, thanks!
4 years ago (2016-11-29 19:19:42 UTC) #23
raymes
https://codereview.chromium.org/2531413002/diff/50001/chrome/test/ppapi/ppapi_test.cc File chrome/test/ppapi/ppapi_test.cc (right): https://codereview.chromium.org/2531413002/diff/50001/chrome/test/ppapi/ppapi_test.cc#newcode148 chrome/test/ppapi/ppapi_test.cc:148: // Enable touche events api. nit: touche->touch https://codereview.chromium.org/2531413002/diff/50001/chrome/test/ppapi/ppapi_test.cc#newcode149 chrome/test/ppapi/ppapi_test.cc:149: ...
4 years ago (2016-11-30 02:14:41 UTC) #24
sunyunjia
https://codereview.chromium.org/2531413002/diff/50001/chrome/test/ppapi/ppapi_test.cc File chrome/test/ppapi/ppapi_test.cc (right): https://codereview.chromium.org/2531413002/diff/50001/chrome/test/ppapi/ppapi_test.cc#newcode148 chrome/test/ppapi/ppapi_test.cc:148: // Enable touche events api. On 2016/11/30 02:14:41, raymes ...
4 years ago (2016-11-30 02:41:53 UTC) #25
raymes
lgtm
4 years ago (2016-11-30 02:48:33 UTC) #28
rkaplow
lgtm
4 years ago (2016-11-30 20:18:47 UTC) #36
sadrul
\ https://codereview.chromium.org/2531413002/diff/70001/content/public/test/content_browser_test.cc File content/public/test/content_browser_test.cc (right): https://codereview.chromium.org/2531413002/diff/70001/content/public/test/content_browser_test.cc#newcode61 content/public/test/content_browser_test.cc:61: command_line->AppendSwitch(switches::kTouchEvents); This affects all tests. Are you sure ...
4 years ago (2016-11-30 20:53:14 UTC) #37
Avi (use Gerrit)
lgtm
4 years ago (2016-11-30 20:58:45 UTC) #38
mustaq
After an offline discussion today with Rick, we decided to keep firing DOM events as ...
4 years ago (2016-12-01 18:38:58 UTC) #40
Rick Byers
LGTM with minor wording nits https://codereview.chromium.org/2531413002/diff/150001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/2531413002/diff/150001/chrome/app/generated_resources.grd#newcode5497 chrome/app/generated_resources.grd:5497: + Force Touch Events ...
4 years ago (2016-12-01 21:40:16 UTC) #52
sunyunjia
Hi tkent@: could you please review the change in blink? Thanks!
4 years ago (2016-12-01 22:43:39 UTC) #56
tkent
On 2016/12/01 at 22:43:39, sunyunjia wrote: > Hi tkent@: could you please review the change ...
4 years ago (2016-12-01 23:00:12 UTC) #57
sadrul
lgtm
4 years ago (2016-12-02 00:57:00 UTC) #58
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/2531413002/170001
4 years ago (2016-12-02 01:59:45 UTC) #63
commit-bot: I haz the power
Committed patchset #7 (id:170001)
4 years ago (2016-12-02 02:05:31 UTC) #66
commit-bot: I haz the power
4 years ago (2016-12-02 02:09:00 UTC) #68
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/78171bf829d1ae47b7d7237c08878783a2cdadb5
Cr-Commit-Position: refs/heads/master@{#435821}

Powered by Google App Engine
This is Rietveld 408576698