From ef0a59a6fd722a0910196c951dc676c19127a28b Mon Sep 17 00:00:00 2001 From: "hclam@chromium.org" Date: Wed, 9 Jun 2010 21:56:39 +0000 Subject: Implement a chromoting client using X11 Using XRender to render the chromoting client. This patch has done several things: 1. Rename chromotocol_pb to remoting 2. Defined ChromotingView as the display area of the remote view 3. Implemented X11Client as the client that uses X11 for display 4. Implemented X11View that uses XRender for drawing 5. Fixed several problems in host capturer and encoder Review URL: http://codereview.chromium.org/2745006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49329 0039d316-1c4b-4281-b951-d872f2087c98 --- remoting/host/session_manager_unittest.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'remoting/host/session_manager_unittest.cc') diff --git a/remoting/host/session_manager_unittest.cc b/remoting/host/session_manager_unittest.cc index 9f4cdea..008d063 100644 --- a/remoting/host/session_manager_unittest.cc +++ b/remoting/host/session_manager_unittest.cc @@ -28,8 +28,8 @@ static uint8* kData[3] = { reinterpret_cast(0x02), reinterpret_cast(0x03), }; -static const chromotocol_pb::PixelFormat kFormat = - chromotocol_pb::PixelFormatRgb32; +static const PixelFormat kFormat = + PixelFormatRgb32; class SessionManagerTest : public testing::Test { public: @@ -106,7 +106,7 @@ TEST_F(SessionManagerTest, OneRecordCycle) { .WillOnce(Return(kFormat)); // Expect the encoder be called. - chromotocol_pb::UpdateStreamPacketHeader header; + UpdateStreamPacketHeader header; scoped_refptr buffer = new media::DataBuffer(0); EXPECT_CALL(*encoder_, SetSize(kWidth, kHeight)); EXPECT_CALL(*encoder_, SetPixelFormat(kFormat)); -- cgit v1.1