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 1033913003: Touch Events capability negotiation (Closed)

Created:
5 years, 9 months ago by Rintaro Kuroiwa
Modified:
5 years, 6 months ago
Reviewers:
Wez
CC:
chromium-reviews, chromoting-reviews_chromium.org, Sergey Ulanov
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Touch Events capability negotiation - Send "touchEvents" capability from the host if the host is capable of injecting raw touch inputs. - Client is always capable of "touchEvents". - Moved capability names to remoting/protocol/capability_names.h. BUG=314515 Committed: https://crrev.com/a7815e75ec645c78465c5dc32c5b0ebfb4372c0c Cr-Commit-Position: refs/heads/master@{#333139}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 20

Patch Set 5 : changes from reveiw #

Patch Set 6 : set capabilities in application.js #

Patch Set 7 : removed multi_touch_capability.{cc,h} #

Patch Set 8 : should fix mac build #

Total comments: 18

Patch Set 9 : back to setting a flag on DesktopEnvironmentFactory #

Total comments: 29

Patch Set 10 : changes from review #

Total comments: 4

Patch Set 11 : changes from review #

Patch Set 12 : add comments #

Patch Set 13 : changed comments #

Patch Set 14 : add capabiility_names.h #

Total comments: 22

Patch Set 15 : changes from review #

Patch Set 16 : Pass supports_touch_events to classes that inherit BasicDesktopEnvironment #

Total comments: 2

Patch Set 17 : Add TearDown() to IpcDesktopEnvironmentTest #

Patch Set 18 : rebase #

Patch Set 19 : builds host #

Patch Set 20 : rebase no change #

Patch Set 21 : change setter to public and add license header #

Unified diffs Side-by-side diffs Delta from patch set Stats (+260 lines, -81 lines) Patch
M remoting/client/plugin/chromoting_instance.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M remoting/client/plugin/chromoting_instance.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2 chunks +14 lines, -3 lines 0 comments Download
M remoting/host/basic_desktop_environment.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 5 chunks +15 lines, -1 line 0 comments Download
M remoting/host/basic_desktop_environment.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 4 chunks +10 lines, -3 lines 0 comments Download
M remoting/host/desktop_session_proxy.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +5 lines, -1 line 0 comments Download
M remoting/host/desktop_session_proxy.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 6 chunks +12 lines, -7 lines 0 comments Download
M remoting/host/input_injector.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +4 lines, -0 lines 0 comments Download
M remoting/host/input_injector_chromeos.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +5 lines, -0 lines 0 comments Download
M remoting/host/input_injector_mac.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +6 lines, -0 lines 0 comments Download
M remoting/host/input_injector_win.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +6 lines, -0 lines 0 comments Download
M remoting/host/input_injector_x11.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2 chunks +6 lines, -0 lines 0 comments Download
M remoting/host/ipc_desktop_environment.h View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +11 lines, -1 line 0 comments Download
M remoting/host/ipc_desktop_environment.cc View 1 2 3 4 5 6 7 8 9 10 4 chunks +8 lines, -4 lines 0 comments Download
M remoting/host/ipc_desktop_environment_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 14 chunks +61 lines, -38 lines 0 comments Download
M remoting/host/it2me_desktop_environment.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +2 lines, -1 line 0 comments Download
M remoting/host/it2me_desktop_environment.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +6 lines, -3 lines 0 comments Download
M remoting/host/me2me_desktop_environment.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +2 lines, -1 line 0 comments Download
M remoting/host/me2me_desktop_environment.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 4 chunks +13 lines, -6 lines 0 comments Download
M remoting/host/remoting_me2me_host.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 3 chunks +4 lines, -1 line 0 comments Download
M remoting/host/single_window_desktop_environment.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 chunks +8 lines, -4 lines 0 comments Download
M remoting/host/win/session_desktop_environment.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +2 lines, -1 line 0 comments Download
M remoting/host/win/session_desktop_environment.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 2 chunks +6 lines, -3 lines 0 comments Download
A remoting/protocol/capability_names.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +20 lines, -0 lines 0 comments Download
M remoting/remoting_srcs.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +1 line, -0 lines 0 comments Download
M remoting/webapp/base/js/client_plugin.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +7 lines, -0 lines 0 comments Download
M remoting/webapp/base/js/client_plugin_impl.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +10 lines, -0 lines 0 comments Download
M remoting/webapp/base/js/client_session.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2 chunks +9 lines, -0 lines 0 comments Download
M remoting/webapp/base/js/client_session_factory.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +2 lines, -1 line 0 comments Download
M remoting/webapp/crd/js/mock_client_plugin.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +4 lines, -1 line 0 comments Download

Messages

Total messages: 25 (4 generated)
Rintaro Kuroiwa
PTAL
5 years, 9 months ago (2015-03-26 22:29:10 UTC) #2
Wez
https://codereview.chromium.org/1033913003/diff/60001/remoting/client/plugin/chromoting_instance.cc File remoting/client/plugin/chromoting_instance.cc (right): https://codereview.chromium.org/1033913003/diff/60001/remoting/client/plugin/chromoting_instance.cc#newcode183 remoting/client/plugin/chromoting_instance.cc:183: "desktopShape multiTouch"; Do you mean to add multiTouch capability ...
5 years, 8 months ago (2015-03-30 17:10:07 UTC) #3
Rintaro Kuroiwa
PTAL https://codereview.chromium.org/1033913003/diff/60001/remoting/client/plugin/chromoting_instance.cc File remoting/client/plugin/chromoting_instance.cc (right): https://codereview.chromium.org/1033913003/diff/60001/remoting/client/plugin/chromoting_instance.cc#newcode183 remoting/client/plugin/chromoting_instance.cc:183: "desktopShape multiTouch"; On 2015/03/30 17:10:07, Wez wrote: > ...
5 years, 8 months ago (2015-04-08 03:27:43 UTC) #4
Wez
https://codereview.chromium.org/1033913003/diff/60001/remoting/client/plugin/chromoting_instance.cc File remoting/client/plugin/chromoting_instance.cc (right): https://codereview.chromium.org/1033913003/diff/60001/remoting/client/plugin/chromoting_instance.cc#newcode183 remoting/client/plugin/chromoting_instance.cc:183: "desktopShape multiTouch"; On 2015/04/08 03:27:42, Rintaro Kuroiwa wrote: > ...
5 years, 8 months ago (2015-04-09 22:59:00 UTC) #5
Rintaro Kuroiwa
As discussed offline, w/o sync IPC, it might not make sense to put CanInjectTouch() on ...
5 years, 8 months ago (2015-04-20 18:20:03 UTC) #7
Wez
https://codereview.chromium.org/1033913003/diff/180001/remoting/host/basic_desktop_environment.h File remoting/host/basic_desktop_environment.h (right): https://codereview.chromium.org/1033913003/diff/180001/remoting/host/basic_desktop_environment.h#newcode44 remoting/host/basic_desktop_environment.h:44: void SetEnableMultiTouch(bool enable); Why is this called multi-touch here ...
5 years, 8 months ago (2015-04-21 02:12:12 UTC) #8
Rintaro Kuroiwa
PTAL https://codereview.chromium.org/1033913003/diff/180001/remoting/host/basic_desktop_environment.h File remoting/host/basic_desktop_environment.h (right): https://codereview.chromium.org/1033913003/diff/180001/remoting/host/basic_desktop_environment.h#newcode44 remoting/host/basic_desktop_environment.h:44: void SetEnableMultiTouch(bool enable); On 2015/04/21 02:12:12, Wez wrote: ...
5 years, 8 months ago (2015-04-22 19:56:00 UTC) #9
Wez
https://codereview.chromium.org/1033913003/diff/180001/remoting/host/me2me_desktop_environment.cc File remoting/host/me2me_desktop_environment.cc (right): https://codereview.chromium.org/1033913003/diff/180001/remoting/host/me2me_desktop_environment.cc#newcode29 remoting/host/me2me_desktop_environment.cc:29: const char kMultiTouchCapability[] = "multiTouch"; On 2015/04/22 19:56:00, Rintaro ...
5 years, 8 months ago (2015-04-23 22:10:25 UTC) #10
Rintaro Kuroiwa
PTAL https://codereview.chromium.org/1033913003/diff/180001/remoting/host/me2me_desktop_environment.cc File remoting/host/me2me_desktop_environment.cc (right): https://codereview.chromium.org/1033913003/diff/180001/remoting/host/me2me_desktop_environment.cc#newcode47 remoting/host/me2me_desktop_environment.cc:47: result = result + " " + kMultiTouchCapability; ...
5 years, 8 months ago (2015-04-24 01:55:02 UTC) #11
Wez
This is a protocol capability; both client and host have to support it, so I'd ...
5 years, 8 months ago (2015-04-24 19:56:20 UTC) #12
Rintaro Kuroiwa
Added capability_names.h PTAL
5 years, 7 months ago (2015-05-17 21:25:52 UTC) #13
Wez
Looking great - just a few comment nits to clean up, I think. https://codereview.chromium.org/1033913003/diff/280001/remoting/host/basic_desktop_environment.h File ...
5 years, 7 months ago (2015-05-21 00:59:14 UTC) #14
Rintaro Kuroiwa
PTAL :) https://codereview.chromium.org/1033913003/diff/280001/remoting/host/basic_desktop_environment.h File remoting/host/basic_desktop_environment.h (right): https://codereview.chromium.org/1033913003/diff/280001/remoting/host/basic_desktop_environment.h#newcode67 remoting/host/basic_desktop_environment.h:67: // Enables or disables touch events capability. ...
5 years, 7 months ago (2015-05-21 21:53:30 UTC) #15
Wez
LGTM - up to you re the test TearDown change. Please have a chat w/ ...
5 years, 7 months ago (2015-05-21 22:10:45 UTC) #16
Rintaro Kuroiwa
On 2015/05/21 22:10:45, Wez wrote: > LGTM - up to you re the test TearDown ...
5 years, 7 months ago (2015-05-22 01:03:43 UTC) #17
Rintaro Kuroiwa
https://codereview.chromium.org/1033913003/diff/280001/remoting/host/ipc_desktop_environment_unittest.cc File remoting/host/ipc_desktop_environment_unittest.cc (right): https://codereview.chromium.org/1033913003/diff/280001/remoting/host/ipc_desktop_environment_unittest.cc#newcode482 remoting/host/ipc_desktop_environment_unittest.cc:482: main_run_loop_.Run(); On 2015/05/21 22:10:45, Wez wrote: > On 2015/05/21 ...
5 years, 7 months ago (2015-05-22 01:04:05 UTC) #18
Wez
Planning to land this?
5 years, 6 months ago (2015-06-02 19:53:03 UTC) #19
Rintaro Kuroiwa
On 2015/06/02 19:53:03, Wez wrote: > Planning to land this? Yes, but trying to make ...
5 years, 6 months ago (2015-06-02 20:11:36 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1033913003/420001
5 years, 6 months ago (2015-06-05 21:12:29 UTC) #23
commit-bot: I haz the power
Committed patchset #21 (id:420001)
5 years, 6 months ago (2015-06-05 21:39:14 UTC) #24
commit-bot: I haz the power
5 years, 6 months ago (2015-06-05 21:40:47 UTC) #25
Message was sent while issue was closed.
Patchset 21 (id:??) landed as
https://crrev.com/a7815e75ec645c78465c5dc32c5b0ebfb4372c0c
Cr-Commit-Position: refs/heads/master@{#333139}

Powered by Google App Engine
This is Rietveld 408576698