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

Issue 2187723002: [Remoting Android] Refactor CursorShapeStubProxy from JniDisplayHandler (Closed)

Created:
4 years, 4 months ago by Yuwei
Modified:
4 years, 4 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

[Remoting Android] Refactor CursorShapeStubProxy from JniDisplayHandler This CL refactors the CursorShapeStub being used by JniDisplayHandler into a helper class that forwards cursor shape info from one thread to another. It can be used by JniGlDisplayHandler to update the cursor shape for the remoting Android OpenGL host renderer implementation. BUG=385924 Committed: https://crrev.com/688299aff8d5fff9f9c238ebe5acccaca3110470 Cr-Commit-Position: refs/heads/master@{#408243}

Patch Set 1 #

Patch Set 2 : Minor style fix #

Total comments: 10

Patch Set 3 : Reviewer's Feedback #

Total comments: 10

Patch Set 4 : Reviewer's Feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+94 lines, -53 lines) Patch
A remoting/client/cursor_shape_stub_proxy.h View 1 2 3 1 chunk +37 lines, -0 lines 0 comments Download
A remoting/client/cursor_shape_stub_proxy.cc View 1 2 3 1 chunk +26 lines, -0 lines 0 comments Download
M remoting/client/jni/jni_display_handler.h View 1 2 3 4 chunks +6 lines, -4 lines 0 comments Download
M remoting/client/jni/jni_display_handler.cc View 1 2 3 4 chunks +23 lines, -49 lines 0 comments Download
M remoting/remoting_srcs.gypi View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (7 generated)
Yuwei
ptal If you are interested in the actual use of this class, you can check ...
4 years, 4 months ago (2016-07-27 00:12:17 UTC) #2
Sergey Ulanov
https://codereview.chromium.org/2187723002/diff/20001/remoting/client/callback_cursor_shape_stub.cc File remoting/client/callback_cursor_shape_stub.cc (right): https://codereview.chromium.org/2187723002/diff/20001/remoting/client/callback_cursor_shape_stub.cc#newcode22 remoting/client/callback_cursor_shape_stub.cc:22: if (task_runner_) { Do you really need to support ...
4 years, 4 months ago (2016-07-27 18:26:09 UTC) #3
Yuwei
https://codereview.chromium.org/2187723002/diff/20001/remoting/client/callback_cursor_shape_stub.cc File remoting/client/callback_cursor_shape_stub.cc (right): https://codereview.chromium.org/2187723002/diff/20001/remoting/client/callback_cursor_shape_stub.cc#newcode22 remoting/client/callback_cursor_shape_stub.cc:22: if (task_runner_) { On 2016/07/27 18:26:09, Sergey Ulanov wrote: ...
4 years, 4 months ago (2016-07-27 18:37:20 UTC) #4
Sergey Ulanov
https://codereview.chromium.org/2187723002/diff/20001/remoting/client/callback_cursor_shape_stub.h File remoting/client/callback_cursor_shape_stub.h (right): https://codereview.chromium.org/2187723002/diff/20001/remoting/client/callback_cursor_shape_stub.h#newcode17 remoting/client/callback_cursor_shape_stub.h:17: class CallbackCursorShapeStub : public protocol::CursorShapeStub { On 2016/07/27 18:37:20, ...
4 years, 4 months ago (2016-07-27 18:47:51 UTC) #5
Yuwei
ptal https://codereview.chromium.org/2187723002/diff/20001/remoting/client/callback_cursor_shape_stub.cc File remoting/client/callback_cursor_shape_stub.cc (right): https://codereview.chromium.org/2187723002/diff/20001/remoting/client/callback_cursor_shape_stub.cc#newcode22 remoting/client/callback_cursor_shape_stub.cc:22: if (task_runner_) { On 2016/07/27 18:26:09, Sergey Ulanov ...
4 years, 4 months ago (2016-07-27 19:22:28 UTC) #6
Sergey Ulanov
lgtm https://codereview.chromium.org/2187723002/diff/40001/remoting/client/cursor_shape_stub_proxy.cc File remoting/client/cursor_shape_stub_proxy.cc (right): https://codereview.chromium.org/2187723002/diff/40001/remoting/client/cursor_shape_stub_proxy.cc#newcode21 remoting/client/cursor_shape_stub_proxy.cc:21: DCHECK(task_runner_); Don't need this DCHECK. operator-> in scoped_refptr<> ...
4 years, 4 months ago (2016-07-27 20:38:01 UTC) #7
Yuwei
https://codereview.chromium.org/2187723002/diff/40001/remoting/client/cursor_shape_stub_proxy.cc File remoting/client/cursor_shape_stub_proxy.cc (right): https://codereview.chromium.org/2187723002/diff/40001/remoting/client/cursor_shape_stub_proxy.cc#newcode21 remoting/client/cursor_shape_stub_proxy.cc:21: DCHECK(task_runner_); On 2016/07/27 20:38:01, Sergey Ulanov wrote: > Don't ...
4 years, 4 months ago (2016-07-27 21:01:36 UTC) #9
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/2187723002/60001
4 years, 4 months ago (2016-07-27 21:02:37 UTC) #12
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 4 months ago (2016-07-27 21:32:47 UTC) #15
commit-bot: I haz the power
4 years, 4 months ago (2016-07-27 21:34:39 UTC) #17
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/688299aff8d5fff9f9c238ebe5acccaca3110470
Cr-Commit-Position: refs/heads/master@{#408243}

Powered by Google App Engine
This is Rietveld 408576698