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

Issue 11781003: Connect to DesktopEnvironment's stubs only when audio/video schedulers are about to be created. (Closed)

Created:
7 years, 11 months ago by alexeypa (please no reviews)
Modified:
7 years, 11 months ago
Reviewers:
Wez
CC:
chromium-reviews, jamiewalch+watch_chromium.org, dcaiafa+watch_chromium.org, simonmorris+watch_chromium.org, hclam+watch_chromium.org, wez+watch_chromium.org, amit, sanjeevr, garykac+watch_chromium.org, lambroslambrou+watch_chromium.org, rmsousa+watch_chromium.org, alexeypa+watch_chromium.org, sergeyu+watch_chromium.org
Visibility:
Public.

Description

Connect to DesktopEnvironment's stubs only when audio/video schedulers are about to be created. This CL localizes usage of DesktopEnvironment to a single method that creates audio/video schedulers and hook up the event executor. This prepares further refactoring of DesktopEnvironment that should become a factory for classes interacting with the specific desktop environment. Related changes in this CL: - MouseClampingFilter receives screen size on the proper thread. - ClientSessionTest.* tests now run asynchronously to support MouseClampingFilter change. - ClientSession does not expose DesktopEnvironment. - InputEventTracker can be re-attached to a different InputStub. BUG=104544 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=175648

Patch Set 1 #

Total comments: 42

Patch Set 2 : CR feedback. #

Patch Set 3 : CR feedback #2 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+290 lines, -193 lines) Patch
M remoting/capturer/video_frame_capturer_fake.h View 1 chunk +4 lines, -0 lines 0 comments Download
M remoting/capturer/video_frame_capturer_fake.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M remoting/host/chromoting_host_unittest.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M remoting/host/client_session.h View 1 3 chunks +4 lines, -10 lines 0 comments Download
M remoting/host/client_session.cc View 1 2 4 chunks +9 lines, -8 lines 0 comments Download
M remoting/host/client_session_unittest.cc View 1 2 11 chunks +236 lines, -151 lines 0 comments Download
M remoting/host/mouse_clamping_filter.h View 1 2 1 chunk +16 lines, -11 lines 0 comments Download
M remoting/host/mouse_clamping_filter.cc View 1 2 1 chunk +19 lines, -9 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
alexeypa (please no reviews)
PTAL.
7 years, 11 months ago (2013-01-05 01:21:10 UTC) #1
alexeypa (please no reviews)
Ping.
7 years, 11 months ago (2013-01-08 17:56:38 UTC) #2
Wez
Apologies for the slow turn-around... https://chromiumcodereview.appspot.com/11781003/diff/1/remoting/capturer/video_frame_capturer_fake.cc File remoting/capturer/video_frame_capturer_fake.cc (right): https://chromiumcodereview.appspot.com/11781003/diff/1/remoting/capturer/video_frame_capturer_fake.cc#newcode15 remoting/capturer/video_frame_capturer_fake.cc:15: static const int kWidth ...
7 years, 11 months ago (2013-01-08 18:33:59 UTC) #3
alexeypa (please no reviews)
PTAL. https://chromiumcodereview.appspot.com/11781003/diff/1/remoting/capturer/video_frame_capturer_fake.cc File remoting/capturer/video_frame_capturer_fake.cc (right): https://chromiumcodereview.appspot.com/11781003/diff/1/remoting/capturer/video_frame_capturer_fake.cc#newcode15 remoting/capturer/video_frame_capturer_fake.cc:15: static const int kWidth = VideoFrameCapturerFake::kWidth; On 2013/01/08 ...
7 years, 11 months ago (2013-01-08 20:00:13 UTC) #4
Wez
lgtm https://chromiumcodereview.appspot.com/11781003/diff/1/remoting/host/client_session_unittest.cc File remoting/host/client_session_unittest.cc (right): https://chromiumcodereview.appspot.com/11781003/diff/1/remoting/host/client_session_unittest.cc#newcode116 remoting/host/client_session_unittest.cc:116: client_jid_ = "user@domain/rest-of-jid"; On 2013/01/08 20:00:14, alexeypa wrote: ...
7 years, 11 months ago (2013-01-08 21:02:41 UTC) #5
alexeypa (please no reviews)
FYI https://chromiumcodereview.appspot.com/11781003/diff/1/remoting/host/client_session_unittest.cc File remoting/host/client_session_unittest.cc (right): https://chromiumcodereview.appspot.com/11781003/diff/1/remoting/host/client_session_unittest.cc#newcode152 remoting/host/client_session_unittest.cc:152: ui_task_runner_ = NULL; On 2013/01/08 20:00:14, alexeypa wrote: ...
7 years, 11 months ago (2013-01-08 21:30:24 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alexeypa@chromium.org/11781003/11003
7 years, 11 months ago (2013-01-08 21:32:36 UTC) #7
commit-bot: I haz the power
7 years, 11 months ago (2013-01-09 00:53:40 UTC) #8
Message was sent while issue was closed.
Change committed as 175648

Powered by Google App Engine
This is Rietveld 408576698