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

Issue 2547373002: Rename TouchEventAPI to TouchEventFeatureDetection (Closed)

Created:
4 years ago by sunyunjia
Modified:
4 years ago
CC:
chromium-reviews, asvitkine+watch_chromium.org, kenneth.christiansen, achuith+watch_chromium.org, nasko+codewatch_chromium.org, eae+blinkwatch, apavlov+blink_chromium.org, kinuko+watch, rwlbuis, caseq+blink_chromium.org, pfeldman+blink_chromium.org, jam, blink-reviews-dom_chromium.org, dglazkov+blink, darin-cc_chromium.org, devtools-reviews_chromium.org, blink-reviews, blink-reviews-api_chromium.org, mlamouri+watch-content_chromium.org, alemate+watch_chromium.org, creis+watch_chromium.org, tdresser+watch_chromium.org, Peter Beverloo, sof, lushnikov+blink_chromium.org, oshima+watch_chromium.org, jochen+watch_chromium.org, dtapuska+blinkwatch_chromium.org, dtapuska+chromiumwatch_chromium.org, blink-layers+watch_chromium.org, blink-reviews-events_chromium.org, davemoore+watch_chromium.org, kozyatinskiy+blink_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Rename TouchEventAPI to TouchEventFeatureDetection We don't really want the "touch event API" support to be dynamic (you can always open devtools at use mobile emulation to generate touch events). It's just the feature detection (eg.'ontouchstart' in window) that needs to be dynamic due to 632881. BUG=644318 Committed: https://crrev.com/fa6a8afcca5bb185d7c0a89db6775073b530989e Cr-Commit-Position: refs/heads/master@{#437464}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Added a todo #

Total comments: 2

Patch Set 3 : Merge branch 'master' of https://chromium.googlesource.com/chromium/src into rename #

Patch Set 4 : Update histograms.xml #

Total comments: 4

Patch Set 5 : Move the switches out of ui and into content. #

Patch Set 6 : Merge branch 'master' of https://chromium.googlesource.com/chromium/src into rename #

Patch Set 7 : Merge branch 'master' of https://chromium.googlesource.com/chromium/src into rename #

Unified diffs Side-by-side diffs Delta from patch set Stats (+126 lines, -108 lines) Patch
M chrome/browser/about_flags.cc View 1 2 3 4 5 6 2 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/apps/guest_view/web_view_browsertest.cc View 1 2 3 4 5 chunks +12 lines, -9 lines 0 comments Download
M chrome/browser/chromeos/login/chrome_restart_request.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/metrics/chrome_browser_main_extra_parts_metrics.cc View 1 2 3 4 3 chunks +22 lines, -19 lines 0 comments Download
M chrome/browser/metrics/chrome_browser_main_extra_parts_metrics_unittest.cc View 7 chunks +13 lines, -7 lines 0 comments Download
M content/browser/renderer_host/input/touch_action_browsertest.cc View 1 2 3 4 2 chunks +2 lines, -3 lines 0 comments Download
M content/browser/renderer_host/input/touch_input_browsertest.cc View 1 2 3 4 2 chunks +2 lines, -3 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 3 4 5 2 chunks +1 line, -2 lines 0 comments Download
M content/browser/renderer_host/render_view_host_impl.cc View 1 2 3 4 5 6 2 chunks +8 lines, -7 lines 0 comments Download
M content/browser/web_contents/web_contents_view_aura_browsertest.cc View 1 2 3 4 2 chunks +2 lines, -3 lines 0 comments Download
M content/public/common/common_param_traits_macros.h View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M content/public/common/content_switches.h View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M content/public/common/content_switches.cc View 1 2 3 4 5 1 chunk +12 lines, -0 lines 0 comments Download
M content/public/common/web_preferences.h View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M content/public/common/web_preferences.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download
M content/shell/app/shell_main_delegate.cc View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
M content/test/test_blink_web_unit_test_support.cc View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/Document.idl View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/dom/GlobalEventHandlers.idl View 1 chunk +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/events/EventAliases.in View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp View 1 2 3 4 5 3 chunks +6 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/web/DevToolsEmulator.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/web/DevToolsEmulator.cpp View 3 chunks +5 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/web/WebRuntimeFeatures.cpp View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/public/web/WebRuntimeFeatures.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 6 2 chunks +9 lines, -5 lines 0 comments Download
M ui/events/event_switches.h View 1 2 3 4 1 chunk +0 lines, -4 lines 0 comments Download
M ui/events/event_switches.cc View 1 2 3 4 1 chunk +0 lines, -11 lines 0 comments Download

Messages

Total messages: 68 (47 generated)
sunyunjia
PTAL, thanks!
4 years ago (2016-12-05 15:02:48 UTC) #7
mustaq
https://codereview.chromium.org/2547373002/diff/1/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp File third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp (right): https://codereview.chromium.org/2547373002/diff/1/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp#newcode661 third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp:661: if (!RuntimeEnabledFeatures::touchEventFeatureDetectionEnabled()) I think all refs to touchEventFeatureDetectionEnabled in ...
4 years ago (2016-12-05 16:30:34 UTC) #8
mustaq
https://codereview.chromium.org/2547373002/diff/1/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp File third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp (right): https://codereview.chromium.org/2547373002/diff/1/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp#newcode661 third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp:661: if (!RuntimeEnabledFeatures::touchEventFeatureDetectionEnabled()) On 2016/12/05 16:30:34, mustaq wrote: > I ...
4 years ago (2016-12-05 18:18:02 UTC) #9
sunyunjia
Hi Mustaq, should we send this for owner's approval now? https://codereview.chromium.org/2547373002/diff/1/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp File third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp (right): https://codereview.chromium.org/2547373002/diff/1/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp#newcode661 ...
4 years ago (2016-12-06 15:55:49 UTC) #10
mustaq
LGTM.
4 years ago (2016-12-06 15:58:16 UTC) #11
sunyunjia
PTAL, thanks!
4 years ago (2016-12-06 16:41:11 UTC) #19
Rick Byers
LGTM, thanks - sorry I didn't suggest this sooner! Makes a lot more sense now ...
4 years ago (2016-12-06 16:48:12 UTC) #22
stevenjb
c/b/chromeos owner lgtm
4 years ago (2016-12-06 16:59:03 UTC) #23
dcheng
rs lgtm for ipc (I assume that's the only thing I'm an OWNER for? Maybe ...
4 years ago (2016-12-06 19:31:51 UTC) #26
sunyunjia
Thanks rbyers, stevenjb and dcheng! isherman@: Could you please review the code in chrome/browser/metrics and ...
4 years ago (2016-12-06 21:53:40 UTC) #27
Ilya Sherman
metrics LGTM, thanks https://codereview.chromium.org/2547373002/diff/60001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2547373002/diff/60001/tools/metrics/histograms/histograms.xml#newcode67421 tools/metrics/histograms/histograms.xml:67421: + through 45, see http://crbug.com/499476 for ...
4 years ago (2016-12-06 21:55:53 UTC) #28
tapted
chrome/browser/apps/ lgtm
4 years ago (2016-12-06 22:36:43 UTC) #29
sadrul
https://codereview.chromium.org/2547373002/diff/60001/ui/events/event_switches.h File ui/events/event_switches.h (right): https://codereview.chromium.org/2547373002/diff/60001/ui/events/event_switches.h#newcode18 ui/events/event_switches.h:18: EVENTS_BASE_EXPORT extern const char kTouchEventFeatureDetectionDisabled[]; Can you move these ...
4 years ago (2016-12-07 02:55:59 UTC) #32
sunyunjia
sadrul@: PTAL, thanks! https://codereview.chromium.org/2547373002/diff/60001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2547373002/diff/60001/tools/metrics/histograms/histograms.xml#newcode67421 tools/metrics/histograms/histograms.xml:67421: + through 45, see http://crbug.com/499476 for ...
4 years ago (2016-12-07 18:24:25 UTC) #37
sadrul
Thank you! lgtm
4 years ago (2016-12-08 01:14:42 UTC) #38
clamy
Thanks! content/ lgtm. Note that you will need another reviewer for the content/ IPC change ...
4 years ago (2016-12-08 13:26:30 UTC) #39
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/2547373002/80001
4 years ago (2016-12-08 14:48:50 UTC) #42
commit-bot: I haz the power
Failed to apply patch for chrome/browser/about_flags.cc: While running git apply --index -p1; error: patch failed: ...
4 years ago (2016-12-08 14:52:54 UTC) #44
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/2547373002/120001
4 years ago (2016-12-09 04:20:50 UTC) #63
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years ago (2016-12-09 04:26:21 UTC) #66
commit-bot: I haz the power
4 years ago (2016-12-09 04:28:57 UTC) #68
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/fa6a8afcca5bb185d7c0a89db6775073b530989e
Cr-Commit-Position: refs/heads/master@{#437464}

Powered by Google App Engine
This is Rietveld 408576698