summaryrefslogtreecommitdiffstats
path: root/remoting
Commit message (Collapse)AuthorAgeFilesLines
* Make the status message display completely disappearhclam@chromium.org2011-02-231-0/+3
| | | | | | | | | | | Setting "display: none" to status message when it is completely faded out. BUG=72357 TEST=None Review URL: http://codereview.chromium.org/6569004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75744 0039d316-1c4b-4281-b951-d872f2087c98
* Add DesktopEnvironment class and refactor.lambroslambrou@chromium.org2011-02-239-123/+155
| | | | | | | | | BUG=none TEST=It builds and runs Review URL: http://codereview.chromium.org/6541018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75739 0039d316-1c4b-4281-b951-d872f2087c98
* Change chromoting images to upright by defaulthclam@chromium.org2011-02-227-52/+8
| | | | | | | | | | | Remove all the ugly code to have reverse rows. All images are upright now. BUG=71872 TEST=Everything in chromoting still works and upright. Review URL: http://codereview.chromium.org/6546057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75609 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed SlowBlit along the same lines as FastBlit.jamiewalch@chromium.org2011-02-221-11/+8
| | | | | | | | | BUG=71697 TEST=Connect to an X server that is not running with 32-bpp (or hack the code to always use SlowBlit--that's what I did...). Review URL: http://codereview.chromium.org/6312123 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75591 0039d316-1c4b-4281-b951-d872f2087c98
* Speed up encoding by using active maphclam@chromium.org2011-02-222-4/+64
| | | | | | | | | | | | | | | Using active map can greatly reduce the amount of macro blocks need to be encoded by vp8. This brings average encoding time from 35ms per frame to about 8ms on the tested system. However this change depends on an updated version of libvpx. BUG=None TEST=chromoting still works & no visual problems Review URL: http://codereview.chromium.org/6518011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75586 0039d316-1c4b-4281-b951-d872f2087c98
* Fix Capturer for Mac to cope gracefully when there are no invalid rects.wez@chromium.org2011-02-211-8/+1
| | | | | | | | | BUG=73095 TEST=Run Chromoting host for Mac and connect to it. Service process should NOT crash. Review URL: http://codereview.chromium.org/6541026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75551 0039d316-1c4b-4281-b951-d872f2087c98
* Run event executor on the ui thread to remove the need to explicitly ↵ajwong@chromium.org2011-02-1913-64/+50
| | | | | | | | | | | | XFlush() the XTest calls. BUG=none TEST=Connect to a host and try moving the mouse and typing. Both inputs should be reflected correctly. Review URL: http://codereview.chromium.org/6489031 Patch from Jamie Walch <jamiewalch@chromium.org>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75477 0039d316-1c4b-4281-b951-d872f2087c98
* Update Chromoting login UIgarykac@chromium.org2011-02-185-74/+158
| | | | | | | | | BUG=none TEST=chromoting UI manual tests Review URL: http://codereview.chromium.org/6518013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75417 0039d316-1c4b-4281-b951-d872f2087c98
* Fix key missing problem on windowshclam@chromium.org2011-02-181-0/+2
| | | | | | | | | | | | | Initialize INPUT struct. The dwFlags member of INPUT struct is not properly initialized so sometimes the key event is interpreted as a key up and thus keys are missed. BUG=70167 TEST=keyboard input is fine on windows Review URL: http://codereview.chromium.org/6542015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75385 0039d316-1c4b-4281-b951-d872f2087c98
* Make chromoting connect always workhclam@chromium.org2011-02-181-7/+25
| | | | | | | | | | | | | | | There was a race condition in the chromoting extension javascript. We wait for OnUpdated() in order to send the chromoting tab a request for connection. However OnUpdated() is insufficient for the chromoting tab is fully loaded. And thus sending a request may not always work. This change will wait for the tab to go to a "complete" status before a request is sent. BUG=73202 TEST=Click on chromoting connect, it should always connect Review URL: http://codereview.chromium.org/6532042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75341 0039d316-1c4b-4281-b951-d872f2087c98
* Revert chromoting to use talk.google.comhclam@chromium.org2011-02-171-1/+1
| | | | | | | | | | | | | | Server certificate is not updated yet so revert the xmpp host used to prevent failure. TBR=ajwong, akalin BUG=None TEST=None Review URL: http://codereview.chromium.org/6531029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75262 0039d316-1c4b-4281-b951-d872f2087c98
* Add debug message to chromoting extensionhclam@chromium.org2011-02-171-0/+5
| | | | | | | | | | | | | Debug message to help tackle the problem of chromoting tab going blank. TBR=ajwong BUG=None TEST=None Review URL: http://codereview.chromium.org/6539012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75253 0039d316-1c4b-4281-b951-d872f2087c98
* Use xmpp.google.com instead of talk.google.comakalin@chromium.org2011-02-161-1/+1
| | | | | | | | | | | Basically, xmpp.google.com is the new hostname for XMPP connections. BUG=73067 TEST= Review URL: http://codereview.chromium.org/6480089 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75161 0039d316-1c4b-4281-b951-d872f2087c98
* CSS style for chromoting main pagehclam@chromium.org2011-02-161-1/+1
| | | | | | | | | | | | | Change the z-index of the status message to lower and give z-index to the chromoting scroll panel. The status message interfere with the normal user actions with the plugin so show it below the plugin. BUG=None TEST=None Review URL: http://codereview.chromium.org/6480066 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75135 0039d316-1c4b-4281-b951-d872f2087c98
* Chromoting: UserAuthenticator interface and its implementation for PAM.sergeyu@chromium.org2011-02-164-0/+186
| | | | | | | | | | BUG=none TEST=manual Review URL: http://codereview.chromium.org/6484002 Patch from Lambros Lambrou <lambroslambrou@chromium.org>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75069 0039d316-1c4b-4281-b951-d872f2087c98
* Don't call the zlib functions with the MOZ_Z_ prefixwtc@chromium.org2011-02-152-14/+0
| | | | | | | | | | | in the source code. R=agl,hclam,jar BUG=none TEST=No build or test failures Review URL: http://codereview.chromium.org/6529006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74975 0039d316-1c4b-4281-b951-d872f2087c98
* Use case-insensitive comparison when comparing JIDs.sergeyu@chromium.org2011-02-142-2/+15
| | | | | | | | | BUG=None TEST=None Review URL: http://codereview.chromium.org/6518012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74866 0039d316-1c4b-4281-b951-d872f2087c98
* Carnitas: Delete stub src/gfx/* headerssail@chromium.org2011-02-131-1/+0
| | | | | | | | | | | The last references to src/gfx/* have been updated so it's safe to delete the stub headers. BUG=None TEST=None Review URL: http://codereview.chromium.org/6474031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74741 0039d316-1c4b-4281-b951-d872f2087c98
* Resubmit - Use SSE2 block differ for chromotinghclam@chromium.org2011-02-118-111/+209
| | | | | | | | | | | | | Put the SSE2 block differ code back in. TBR=dhollowa BUG=NONE TEST=NONE Review URL: http://codereview.chromium.org/6501005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74671 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 74571 - Use SSE2 block differ for chromotingdhollowa@chromium.org2011-02-118-209/+111
| | | | | | | | | | | | | | | | | | | | | | We have the SSE2 lying around in the tree just never being used. This will allow us to use it. A number of Windows bots have gone red in media_tests on the waterfall: http://build.chromium.org/p/chromium/builders/XP%20Tests%20%281%29 http://build.chromium.org/p/chromium/builders/XP%20Tests%20%281%29/builds/501/steps/media_unittests/logs/stdio This seems to be related to r74571. So am reverting to see. BUG=None TEST=Chromoting to a host machine and the diff will work correctly Review URL: http://codereview.chromium.org/6469022 TBR=hclam@chromium.org Review URL: http://codereview.chromium.org/6502002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74630 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 74583 - Revert 74571 - Use SSE2 block differ for chromotingfinnur@chromium.org2011-02-118-111/+209
| | | | | | | | | | | | | | | | | | | | (Quick test to see if it is the cause of crashes in media_unittests) (Test showed this CL is not to blame) We have the SSE2 lying around in the tree just never being used. This will allow us to use it. BUG=None TEST=Chromoting to a host machine and the diff will work correctly Review URL: http://codereview.chromium.org/6469022 TBR=hclam@chromium.org Review URL: http://codereview.chromium.org/6488023 TBR=finnur@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74588 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 74571 - Use SSE2 block differ for chromotingfinnur@chromium.org2011-02-118-209/+111
| | | | | | | | | | | | | | | | | (Quick test to see if it is the cause of crashes in media_unittests) We have the SSE2 lying around in the tree just never being used. This will allow us to use it. BUG=None TEST=Chromoting to a host machine and the diff will work correctly Review URL: http://codereview.chromium.org/6469022 TBR=hclam@chromium.org Review URL: http://codereview.chromium.org/6488023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74583 0039d316-1c4b-4281-b951-d872f2087c98
* Use SSE2 block differ for chromotinghclam@chromium.org2011-02-118-111/+209
| | | | | | | | | | | | We have the SSE2 lying around in the tree just never being used. This will allow us to use it. BUG=None TEST=Chromoting to a host machine and the diff will work correctly Review URL: http://codereview.chromium.org/6469022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74571 0039d316-1c4b-4281-b951-d872f2087c98
* Invalidate fullscreen when a new client connects to chromoting hosthclam@chromium.org2011-02-097-4/+31
| | | | | | | | | BUG=72252 TEST=Reconnect and screen looks right Review URL: http://codereview.chromium.org/6469004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74365 0039d316-1c4b-4281-b951-d872f2087c98
* Fix memory leak in chromoting codehclam@chromium.org2011-02-091-1/+1
| | | | | | | | | | | Fixing leak in DecompressorZlib and removed suppression. BUG=57910, 57799 TEST=valgrind bot is green Review URL: http://codereview.chromium.org/6458009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74256 0039d316-1c4b-4281-b951-d872f2087c98
* [chromoting] Fix crash in JingleSession.sergeyu@chromium.org2011-02-091-2/+3
| | | | | | | | | | | | | With ToT JingleSession may DCHECK in SetState() when the other end disconnects. Don't call SetState() in ReleaseSession(), as it is not neccessary. BUG=None TEST=Unittests Review URL: http://codereview.chromium.org/6456015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74235 0039d316-1c4b-4281-b951-d872f2087c98
* Implement a scrollbar for chromoting client pluginhclam@chromium.org2011-02-097-26/+46
| | | | | | | | | | | Added javascript properties to report desktop size. This is then used to set <div> dimension so allow scrollbar to show up. BUG=72266 Review URL: http://codereview.chromium.org/6419001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74205 0039d316-1c4b-4281-b951-d872f2087c98
* Another big out-of-lining of test code. Hits a lot of gmock objectserg@google.com2011-02-087-36/+23
| | | | | | | | | BUG=none TEST=compiles Review URL: http://codereview.chromium.org/6413036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74168 0039d316-1c4b-4281-b951-d872f2087c98
* Fix and enable JingleSessionTest.*. Disable these tests under TSan.sergeyu@chromium.org2011-02-084-57/+58
| | | | | | | | | BUG=70225 TEST=None Review URL: http://codereview.chromium.org/6246051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74080 0039d316-1c4b-4281-b951-d872f2087c98
* More out-of-lining of test code, along with a bunch of GMOCK objects.erg@google.com2011-02-0811-34/+116
| | | | | | | | | | | Most notably, rename various mock_objects.h files in remoting/ because after deinlining, there were compile failures. This fixes Windows compiling because you can't have two implementation files with the same name in a project, even if they are in different directories. (The output from one compile will clobber the others!) BUG=none TEST=compiles Review URL: http://codereview.chromium.org/6250198 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74059 0039d316-1c4b-4281-b951-d872f2087c98
* Disable JingleSessionTest.TestEventChannel, flakily triggersphajdan.jr@chromium.org2011-02-071-1/+2
| | | | | | | | | | | | | | | | | a libjingle assertion on a Windows trybot. This is not a tsan-specific issue. http://build.chromium.org/p/tryserver.chromium/builders/win/builds/14297 vm7-m4 TBR=sergeyu BUG=70225 TEST=remoting_unittests Review URL: http://codereview.chromium.org/6312182 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73974 0039d316-1c4b-4281-b951-d872f2087c98
* Update Chromoting Extension Version number in Manifestajwong@chromium.org2011-02-051-1/+1
| | | | | | | | BUG=none TEST=none TBR=garykac git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73909 0039d316-1c4b-4281-b951-d872f2087c98
* gfx -> ui/gfx move to make check_deps happy.thestig@chromium.org2011-02-051-1/+1
| | | | | | | | BUG=none TEST=tree goes green Review URL: http://codereview.chromium.org/6413006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73899 0039d316-1c4b-4281-b951-d872f2087c98
* Change includes of gfx/* to ui/gfx/*sail@chromium.org2011-02-0512-12/+12
| | | | | | | | | BUG=71063 TEST=compiled Review URL: http://codereview.chromium.org/6312156 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73890 0039d316-1c4b-4281-b951-d872f2087c98
* Lower image quality for chromoting to improve encode speed and compression ratiohclam@chromium.org2011-02-041-2/+2
| | | | | | | | | | | | | | We were using very high quality for images, giving high bandwidth consumption and more bits to encode. TBR=ajwong@chromium.org BUG=None TEST=None Review URL: http://codereview.chromium.org/6286114 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73811 0039d316-1c4b-4281-b951-d872f2087c98
* Remove auto generation of certificate when chromoting client connectshclam@chromium.org2011-02-046-60/+53
| | | | | | | | | | | Generate certificate once and reuse it in all chromoting session. BUG=None TEST=None Review URL: http://codereview.chromium.org/6246077 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73781 0039d316-1c4b-4281-b951-d872f2087c98
* Added XFlush calls.ajwong@chromium.org2011-02-041-2/+35
| | | | | | | | | | | | Fixed mouse button mapping. BUG=71663 TEST=Connect to a Linux host and try to move the mouse and type text. Both should work as they would at the console. Review URL: http://codereview.chromium.org/6368052 Patch from Jamie Walch <jamiewalch@chromium.org>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73755 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a typo in Chromoting linux capturer codehclam@chromium.org2011-02-041-1/+1
| | | | | | | | | | | Linux capturer code has a type which causes artifacts in the image. BUG=71697 TEST=None Review URL: http://codereview.chromium.org/6312131 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73741 0039d316-1c4b-4281-b951-d872f2087c98
* Faster connection establishment for chromotinghclam@chromium.org2011-02-044-4/+39
| | | | | | | | | | | | | Chromoting used to generate a new key and certificate everytime we connect. This patch reuse the private key in host config and generate a certificate from it. This is still not optimal but much faster than before. BUG=71253 TEST=none Review URL: http://codereview.chromium.org/6312114 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73740 0039d316-1c4b-4281-b951-d872f2087c98
* Speed up chromoting encoding and decoding path for VP8hclam@chromium.org2011-02-048-52/+211
| | | | | | | | | | | | | | Several enhancements in this patch: 1. Encoder reports updated rects 2. VP8 decoder only performs YUV conversion on updated rects 3. Painting only updated rects in pepper plugin BUG=71253 TEST=Use chromoting to watch video Review URL: http://codereview.chromium.org/6368070 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73737 0039d316-1c4b-4281-b951-d872f2087c98
* Removed unused X11 graphics context.ajwong@chromium.org2011-02-031-16/+0
| | | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/6410027 Patch from Jamie Walch <jamiewalch@chromium.org>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73593 0039d316-1c4b-4281-b951-d872f2087c98
* Fix rate controlling in chromoting hosthclam@chromium.org2011-02-031-3/+4
| | | | | | | | | | | | ScreenRecorder was capturing too fast and wasn't rate limited, resulting in excessive CPU load. Adding the condition to do proper rate limiting. BUG=71253 TEST=None Review URL: http://codereview.chromium.org/6334073 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73575 0039d316-1c4b-4281-b951-d872f2087c98
* Fix linux capturer for chromotinghclam@chromium.org2011-02-031-12/+46
| | | | | | | | | | | | | | There were serveral problems in the linux capturer: - Over-memcpy, too many pixels on each row are copied - Incorrect offsets, due to the fact we are generating reverted images - Incremental updates, and we need to apply changes from previous buffer BUG=71697 TEST=Use chromoting client to connect to a chromoting host on linux Review URL: http://codereview.chromium.org/6349059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73560 0039d316-1c4b-4281-b951-d872f2087c98
* Chromoting host to convert only changed regionshclam@chromium.org2011-02-031-35/+48
| | | | | | | | | | | | This significantly reduces the number of pixels we need to perform color space conversion. BUG=71253 TEST=None Review URL: http://codereview.chromium.org/6334040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73553 0039d316-1c4b-4281-b951-d872f2087c98
* Move src/gfx/ to src/ui/gfxsail@chromium.org2011-02-021-2/+2
| | | | | | | | | | | To reduce the size of this change I've left stub header files in src/gfx/. Once all includes have been updated I'll delete the stub files. BUG=71063 TEST=Still doing test builds. Review URL: http://codereview.chromium.org/6246027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73530 0039d316-1c4b-4281-b951-d872f2087c98
* Disable JingleSessionTest.Connect, JingleSessionTest.TestControlChannelphajdan.jr@chromium.org2011-02-021-2/+4
| | | | | | | | | | | | | | Those tests flakily trigger a libjingle assertion: Error(common.cc:67): e:\b\build\slave\win\build\src\third_party\libjingle\source\talk\session\tunnel\pseudotcpchannel.cc(281): ASSERT FAILED: stream_ != NULL && stream_thread_->IsCurrent() @ cricket::PseudoTcpChannel::Close TBR=hclam BUG=70225 TEST=remoting_unittests Review URL: http://codereview.chromium.org/6334046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73436 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup everything but net/ for our first clang plugins.erg@google.com2011-02-021-1/+1
| | | | | | | | | BUG=none TEST=compiles Review URL: http://codereview.chromium.org/6250088 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73396 0039d316-1c4b-4281-b951-d872f2087c98
* Stop ScreenRecorder before it startedhclam@chromium.org2011-02-022-3/+7
| | | | | | | | | | | Allow ScreenRecorder to be stopped anytime. BUG=None TEST=None Review URL: http://codereview.chromium.org/6246034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73392 0039d316-1c4b-4281-b951-d872f2087c98
* Disable login panel correctly for chromoting client pluginhclam@chromium.org2011-02-011-1/+1
| | | | | | | | | | | TBR=sergeyu BUG=None TEST=None Review URL: http://codereview.chromium.org/6312065 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73325 0039d316-1c4b-4281-b951-d872f2087c98
* Remove obsolete files from 'sources'. This causes needless work on ↵jeanluc@chromium.org2011-01-311-2/+0
| | | | | | | | | | | incremental builds in VS2010. BUG=71130 TEST=Check that Chrome builds. Review URL: http://codereview.chromium.org/6386019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73190 0039d316-1c4b-4281-b951-d872f2087c98