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

Issue 2097273002: [Chromoting] Add InputMonitor and InputState (Closed)

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

Description

[Chromoting] Add InputMonitor and InputState Since gesture detection logic has no relationship with gesture handling logic, this change adds InputMonitor and InputState to detect gestures and raise a set of events to indicate different gestures. This change won't impact existing logic, so should have no end user impacts. Starting from this change, instead of refactoring existing code, a set of new classes will be added. So we can easily test the differences between existing implementation and new implementation. So currently no tests are added for InputMonitor. For further test and replacement plan, please refer to the design doc. This is part of Remote Desktop Android Client Refactor work. Design doc can be found at https://goo.gl/MA6zjx. BUG=615277 Committed: https://crrev.com/1b741db696756e36216cb69719c162cb6617fde6 Cr-Commit-Position: refs/heads/master@{#406198}

Patch Set 1 #

Total comments: 12

Patch Set 2 : Resolve review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+424 lines, -6 lines) Patch
M remoting/android/client_java_tmpl.gni View 1 1 chunk +2 lines, -0 lines 0 comments Download
A remoting/android/java/src/org/chromium/chromoting/InputMonitor.java View 1 1 chunk +292 lines, -0 lines 0 comments Download
A remoting/android/java/src/org/chromium/chromoting/InputState.java View 1 1 chunk +99 lines, -0 lines 0 comments Download
M remoting/android/java/src/org/chromium/chromoting/TapEventParameter.java View 1 2 chunks +14 lines, -0 lines 0 comments Download
M remoting/android/java/src/org/chromium/chromoting/TouchInputHandler.java View 1 1 chunk +1 line, -1 line 0 comments Download
M remoting/android/java/src/org/chromium/chromoting/TwoPointsEventParameter.java View 1 2 chunks +16 lines, -5 lines 0 comments Download

Messages

Total messages: 28 (17 generated)
Hzj_jie
4 years, 5 months ago (2016-06-27 01:33:36 UTC) #5
Sergey Ulanov
Would it make sense to put more of the input handling logic to C++, where ...
4 years, 5 months ago (2016-06-27 18:28:02 UTC) #7
Hzj_jie
On 2016/06/27 18:28:02, Sergey Ulanov wrote: > Would it make sense to put more of ...
4 years, 5 months ago (2016-07-05 18:27:45 UTC) #8
Hzj_jie
Kindly ping.
4 years, 5 months ago (2016-07-14 01:20:31 UTC) #9
Lambros
lgtm, please wait for Sergey's feedback as well. Ultimately, it would be nice to have ...
4 years, 5 months ago (2016-07-14 18:58:07 UTC) #10
Hzj_jie
I have also updated TwoPointsEventParameter to use two TapEventParameter(s) instead of two MotionEvent(s). https://codereview.chromium.org/2097273002/diff/1/remoting/android/java/src/org/chromium/chromoting/InputMonitor.java File ...
4 years, 5 months ago (2016-07-14 23:18:06 UTC) #17
Hzj_jie
Hi, Sergey, if you have no concern about this change, I will submit it by ...
4 years, 5 months ago (2016-07-17 20:10:54 UTC) #20
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/2097273002/40001
4 years, 5 months ago (2016-07-19 02:16:15 UTC) #23
commit-bot: I haz the power
Committed patchset #2 (id:40001)
4 years, 5 months ago (2016-07-19 03:10:45 UTC) #25
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-19 03:11:01 UTC) #26
commit-bot: I haz the power
4 years, 5 months ago (2016-07-19 03:12:38 UTC) #28
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/1b741db696756e36216cb69719c162cb6617fde6
Cr-Commit-Position: refs/heads/master@{#406198}

Powered by Google App Engine
This is Rietveld 408576698