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

Issue 474213002: DevTools: control touch emulation from the browser side only. (Closed)

Created:
6 years, 4 months ago by pfeldman
Modified:
6 years, 4 months ago
Reviewers:
Tom Sepez, dgozman, jam
CC:
chromium-reviews, vsevik, jam, yurys, paulirish+reviews_chromium.org, darin-cc_chromium.org, devtools-reviews_chromium.org, aandrey+blink_chromium.org
Project:
chromium
Visibility:
Public.

Description

DevTools: control touch emulation from the browser side only. TBR=tsepez (message is removed from content/common/view_messages.h) Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=290775

Patch Set 1 : #

Patch Set 2 : #

Patch Set 3 : rebaselined #

Total comments: 5

Patch Set 4 : Review comments addressed. #

Patch Set 5 : Making win bot happy. #

Total comments: 2

Patch Set 6 : Review comment addressed. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+75 lines, -85 lines) Patch
M content/browser/devtools/render_view_devtools_agent_host.cc View 1 2 3 2 chunks +0 lines, -7 lines 0 comments Download
M content/browser/devtools/renderer_overrides_handler.h View 1 2 3 3 chunks +5 lines, -1 line 0 comments Download
M content/browser/devtools/renderer_overrides_handler.cc View 1 2 3 4 10 chunks +42 lines, -14 lines 0 comments Download
M content/browser/renderer_host/input/touch_emulator.h View 2 chunks +1 line, -2 lines 0 comments Download
M content/browser/renderer_host/input/touch_emulator.cc View 3 chunks +2 lines, -4 lines 0 comments Download
M content/browser/renderer_host/input/touch_emulator_unittest.cc View 5 chunks +5 lines, -5 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_delegate.h View 1 chunk +0 lines, -3 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.h View 2 chunks +1 line, -2 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.cc View 1 2 3 4 5 2 chunks +2 lines, -13 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_unittest.cc View 4 chunks +4 lines, -8 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.h View 1 2 3 3 chunks +5 lines, -3 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 2 3 4 chunks +8 lines, -8 lines 0 comments Download
M content/common/view_messages.h View 3 1 chunk +0 lines, -6 lines 0 comments Download
M content/renderer/devtools/devtools_agent.h View 1 chunk +0 lines, -2 lines 0 comments Download
M content/renderer/devtools/devtools_agent.cc View 1 chunk +0 lines, -7 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
pfeldman
6 years, 4 months ago (2014-08-15 09:43:08 UTC) #1
dgozman
Can we become out-of-sync with renderer part of touch emulation due to navigations? Also, here ...
6 years, 4 months ago (2014-08-16 11:12:09 UTC) #2
pfeldman
On 2014/08/16 11:12:09, dgozman wrote: > Can we become out-of-sync with renderer part of touch ...
6 years, 4 months ago (2014-08-16 11:15:23 UTC) #3
pfeldman
Rebaselined on ToT. I think getting rid of a renderer->browser IPC and OnTouchEmulationEnabled callback in ...
6 years, 4 months ago (2014-08-17 07:19:02 UTC) #4
dgozman
Overall, I support this. I think that patch title implies removing any handling on the ...
6 years, 4 months ago (2014-08-17 12:39:21 UTC) #5
pfeldman
https://codereview.chromium.org/474213002/diff/80001/content/browser/devtools/renderer_overrides_handler.cc File content/browser/devtools/renderer_overrides_handler.cc (right): https://codereview.chromium.org/474213002/diff/80001/content/browser/devtools/renderer_overrides_handler.cc#newcode999 content/browser/devtools/renderer_overrides_handler.cc:999: void RendererOverridesHandler::SetTouchEventEmulationEnabled(bool enabled) { Could you remind me why ...
6 years, 4 months ago (2014-08-17 14:47:14 UTC) #6
dgozman
https://codereview.chromium.org/474213002/diff/80001/content/browser/devtools/renderer_overrides_handler.cc File content/browser/devtools/renderer_overrides_handler.cc (right): https://codereview.chromium.org/474213002/diff/80001/content/browser/devtools/renderer_overrides_handler.cc#newcode999 content/browser/devtools/renderer_overrides_handler.cc:999: void RendererOverridesHandler::SetTouchEventEmulationEnabled(bool enabled) { On 2014/08/17 14:47:14, pfeldman wrote: ...
6 years, 4 months ago (2014-08-17 15:01:41 UTC) #7
pfeldman
This seems wrong: what if that command is issued by the client without enabling the ...
6 years, 4 months ago (2014-08-17 15:26:34 UTC) #8
pfeldman
PTAL
6 years, 4 months ago (2014-08-18 20:23:19 UTC) #9
dgozman
lgtm. Please follow up with blink patch. https://codereview.chromium.org/474213002/diff/160001/content/browser/renderer_host/render_widget_host_impl.cc File content/browser/renderer_host/render_widget_host_impl.cc (right): https://codereview.chromium.org/474213002/diff/160001/content/browser/renderer_host/render_widget_host_impl.cc#newcode1605 content/browser/renderer_host/render_widget_host_impl.cc:1605: bool enabled) ...
6 years, 4 months ago (2014-08-19 04:11:50 UTC) #10
pfeldman
+jam for OWNERS stamp. @jam: two changes to approve here: - removal of ViewHostMsg_SetTouchEventEmulationEnabled that ...
6 years, 4 months ago (2014-08-19 08:40:42 UTC) #11
pfeldman
https://codereview.chromium.org/474213002/diff/160001/content/browser/renderer_host/render_widget_host_impl.cc File content/browser/renderer_host/render_widget_host_impl.cc (right): https://codereview.chromium.org/474213002/diff/160001/content/browser/renderer_host/render_widget_host_impl.cc#newcode1605 content/browser/renderer_host/render_widget_host_impl.cc:1605: bool enabled) { On 2014/08/19 04:11:50, dgozman wrote: > ...
6 years, 4 months ago (2014-08-19 12:37:21 UTC) #12
jam
lgtm
6 years, 4 months ago (2014-08-19 19:51:31 UTC) #13
pfeldman
The CQ bit was checked by pfeldman@chromium.org
6 years, 4 months ago (2014-08-19 20:12:04 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pfeldman@chromium.org/474213002/180001
6 years, 4 months ago (2014-08-19 20:12:27 UTC) #15
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: chromium_presubmit on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-19 21:57:41 UTC) #16
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-19 22:01:05 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/5337)
6 years, 4 months ago (2014-08-19 22:01:06 UTC) #18
pfeldman
The CQ bit was checked by pfeldman@chromium.org
6 years, 4 months ago (2014-08-20 05:08:39 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pfeldman@chromium.org/474213002/180001
6 years, 4 months ago (2014-08-20 05:09:21 UTC) #20
commit-bot: I haz the power
6 years, 4 months ago (2014-08-20 06:16:16 UTC) #21
Message was sent while issue was closed.
Committed patchset #6 (180001) as 290775

Powered by Google App Engine
This is Rietveld 408576698