summaryrefslogtreecommitdiffstats
path: root/remoting/client
Commit message (Collapse)AuthorAgeFilesLines
* 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
* 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
* 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
* 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
* 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-081-27/+0
| | | | | | | | | 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
* 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
* Change includes of gfx/* to ui/gfx/*sail@chromium.org2011-02-052-2/+2
| | | | | | | | | 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
* Speed up chromoting encoding and decoding path for VP8hclam@chromium.org2011-02-041-24/+32
| | | | | | | | | | | | | | 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
* 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
* 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
* Chromoting client extension: Properly encode ClientLogin request.sergeyu@chromium.org2011-01-311-2/+4
| | | | | | | | | BUG=None TEST=None Review URL: http://codereview.chromium.org/6378015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73178 0039d316-1c4b-4281-b951-d872f2087c98
* Handle Pepper ContextMenu event in Chromoting client plugingarykac@chromium.org2011-01-291-0/+5
| | | | | | | | | BUG=none TEST=manual testing Review URL: http://codereview.chromium.org/6265032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73063 0039d316-1c4b-4281-b951-d872f2087c98
* Chromoting: JS code to display to hide login dialoghclam@chromium.org2011-01-293-6/+31
| | | | | | | | | | | | Extension JS code to display and hide login dialog. Also allow user to enter username and password. BUG=None TEST=none Review URL: http://codereview.chromium.org/6133005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73062 0039d316-1c4b-4281-b951-d872f2087c98
* Chromoting pepper plugin to respond to BeginSessionResponsehclam@chromium.org2011-01-2813-28/+132
| | | | | | | | | | | | Trigger loginChallenge when the client is connected or the last login attempt has failed. BUG=None TEST=None Review URL: http://codereview.chromium.org/6160001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73022 0039d316-1c4b-4281-b951-d872f2087c98
* Add PepperViewProxy to protect PepperView and ChromotingInstance on shutdownhclam@chromium.org2011-01-266-51/+271
| | | | | | | | | | | | | | Adding a refcounted PepperViewProxy so that we can detach PepperView when ChromotingInstance is destroyed. PepperViewProxy also performs the task of thread delegation for PepperView so we can assume PepperView is used only on pepper thread. BUG=65696 TEST=None Review URL: http://codereview.chromium.org/6359010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72568 0039d316-1c4b-4281-b951-d872f2087c98
* Chromoting plugin script interface to support login challengehclam@chromium.org2011-01-102-5/+50
| | | | | | | | | | | | | Added an attribute to accept loginChallenge callback. This callback will be called with another callback, JS code is supposed to call the received callback to provide username and password. BUG=None TEST=None Review URL: http://codereview.chromium.org/5962008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70939 0039d316-1c4b-4281-b951-d872f2087c98
* Add an instance parameter to var objects, audio, and the 2D API. This ↵brettw@chromium.org2011-01-072-4/+5
| | | | | | | | | | | | | | | | replaces the module in most cases. This will be used in the proxy to multiplex one plugin across multiple renderer processes. We need the instance in the proxy to know which process to send it to. I added a deprecated var object creation function for native client, which depends on the module and this is very difficult to change. Because it doesn't have the multiplexing requirements, this is fine for now. TEST=ppapi ui tests BUG=none Review URL: http://codereview.chromium.org/6085009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70721 0039d316-1c4b-4281-b951-d872f2087c98
* Move CancellationFlag and WaitableEvent to the synchronization subdirectory.brettw@chromium.org2011-01-021-1/+1
| | | | | | | | TEST=it compiles BUG=none Review URL: http://codereview.chromium.org/5977010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70369 0039d316-1c4b-4281-b951-d872f2087c98
* Move base/thread.h to base/threading, fix up callers to use the new location.brettw@chromium.org2011-01-013-3/+3
| | | | | | | | TEST=it compiles BUG=none Review URL: http://codereview.chromium.org/6028009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70345 0039d316-1c4b-4281-b951-d872f2087c98
* Chromoting protocol layers to receive and send login messageshclam@chromium.org2010-12-232-3/+10
| | | | | | | | | BUG=None TEST=None Review URL: http://codereview.chromium.org/6030007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70036 0039d316-1c4b-4281-b951-d872f2087c98
* Remove ChromotingClientMessagegarykac@chromium.org2010-12-081-1/+1
| | | | | | | | | BUG=None TEST=Remoting unittests Review URL: http://codereview.chromium.org/5559011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68627 0039d316-1c4b-4281-b951-d872f2087c98
* Add the "virtual" keyword on method overrides that are missing it.erg@google.com2010-12-081-1/+1
| | | | | | | | | BUG=none TEST=compiles Review URL: http://codereview.chromium.org/5648004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68606 0039d316-1c4b-4281-b951-d872f2087c98
* Move move classes to the remoting::protocol namespace. Minor cleanups.sergeyu@chromium.org2010-12-024-12/+22
| | | | | | | | | BUG=None TEST=compiles, unittests Review URL: http://codereview.chromium.org/5068001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68056 0039d316-1c4b-4281-b951-d872f2087c98
* Fix 2 crashers in remoting client.sergeyu@chromium.org2010-11-301-15/+21
| | | | | | | | | | | | | There are two issues: 1) VideoReader::Create() was returning null for VP8 over TCP. 2) InputHandler was trying to send events before InputStub is created. BUG=None TEST=remoting client works Review URL: http://codereview.chromium.org/5327002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67638 0039d316-1c4b-4281-b951-d872f2087c98
* Hook up client events to new protocol stubs.sergeyu@chromium.org2010-11-294-58/+35
| | | | | | | | | | | | Patch by garykac@chromium.com. Original review: http://codereview.chromium.org/5062001 BUG=none TEST=none Review URL: http://codereview.chromium.org/5345007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67594 0039d316-1c4b-4281-b951-d872f2087c98
* Use VideoStub interface on the host side.sergeyu@chromium.org2010-11-192-0/+5
| | | | | | | | | BUG=None TEST=None Review URL: http://codereview.chromium.org/5232004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66841 0039d316-1c4b-4281-b951-d872f2087c98
* Add VideoPacket struct for video packets. Refactor Decode interface to use it.sergeyu@chromium.org2010-11-094-149/+84
| | | | | | | | | | Various cleanups. BUG=None TEST=Unittests. Review URL: http://codereview.chromium.org/4476003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65590 0039d316-1c4b-4281-b951-d872f2087c98
* Add DEPS files in remoting subdirectories.sergeyu@chromium.org2010-11-051-0/+8
| | | | | | | | | | | | | This is to avoid unwanted dependencies between remoting modules. Also fixed libjingle includes to use full path, and removed some old includes. TEST=checkdeps BUG=None Review URL: http://codereview.chromium.org/4562002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65251 0039d316-1c4b-4281-b951-d872f2087c98
* Removed dependence on remoting/client from remoting/protocol.sergeyu@chromium.org2010-11-054-4/+12
| | | | | | | | | | Reenable commented targets in remoting.gyp BUG=None TEST=compiles Review URL: http://codereview.chromium.org/4558001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65248 0039d316-1c4b-4281-b951-d872f2087c98
* Chromoting: Rename HostConnection to ConnectionToHostgarykac@chromium.org2010-11-0414-382/+35
| | | | | | | | | BUG=none TEST=build chrome, chromoting Review URL: http://codereview.chromium.org/4457002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65121 0039d316-1c4b-4281-b951-d872f2087c98
* Move protocol classes to the remoting::protocol namespacesergeyu@chromium.org2010-11-0414-31/+45
| | | | | | | | | BUG=None TEST=compiles Review URL: http://codereview.chromium.org/4233005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65006 0039d316-1c4b-4281-b951-d872f2087c98
* Rename classes for Chromoting:garykac@chromium.org2010-11-032-45/+45
| | | | | | | | | | | | ChromotocolServer -> protocol::SessionManager ChromotocolConnection -> protocol::Session BUG=none TEST=compiles + make chromoting connection Review URL: http://codereview.chromium.org/4313001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64971 0039d316-1c4b-4281-b951-d872f2087c98
* Add VideoReader and VideoWriter interfaces.sergeyu@chromium.org2010-11-035-68/+93
| | | | | | | | | | | Implemented VideoReader and VideoWriter for RTP and Protobuf. BUG=53986 TEST=None Review URL: http://codereview.chromium.org/4229003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64878 0039d316-1c4b-4281-b951-d872f2087c98
* Use PPAPI from chrome trunk rather than pulling via deps. This is a re-land ↵brettw@chromium.org2010-11-0211-29/+28
| | | | | | from r64716. This is identical with an an include directory changed in the ppapi repo which I'm hoping was what was confusing everything. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64757 0039d316-1c4b-4281-b951-d872f2087c98
* Revert PPAPI change due to Linux compile failures.brettw@chromium.org2010-11-0211-28/+29
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64751 0039d316-1c4b-4281-b951-d872f2087c98
* Use PPAPI from chrome trunk rather than pulling via deps.brettw@chromium.org2010-11-0211-29/+28
| | | | | | | | | This is a re-land from r64716. This is identical with an an include directory changed in the ppapi repo which I'm hoping was what was confusing everything. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64750 0039d316-1c4b-4281-b951-d872f2087c98
* Revert PPAPI change.brettw@chromium.org2010-11-0211-28/+29
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64719 0039d316-1c4b-4281-b951-d872f2087c98
* Use PPAPI from chrome trunk rather than pulling via deps.brettw@chromium.org2010-11-0211-29/+28
| | | | | | | | | This is a re-land from r64716. This is identical with an an include directory changed in the ppapi repo which I'm hoping was what was confusing everything. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64718 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 64716 - Switch to the new PPAPI repository. This removes the DEPS ↵brettw@chromium.org2010-11-0211-28/+29
| | | | | | | | | | | | | | entry that refers to the PPAPI repo, and fixes the includes to use the new location. TEST=it compiles BUG=none Review URL: http://codereview.chromium.org/4164015 TBR=brettw@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64717 0039d316-1c4b-4281-b951-d872f2087c98
* Switch to the new PPAPI repository. This removes the DEPS entry that refers tobrettw@chromium.org2010-11-0211-29/+28
| | | | | | | | | | the PPAPI repo, and fixes the includes to use the new location. TEST=it compiles BUG=none Review URL: http://codereview.chromium.org/4164015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64716 0039d316-1c4b-4281-b951-d872f2087c98
* Fix arm build.sergeyu@chromium.org2010-11-021-0/+3
| | | | | | TBR=ajwong git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64702 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanups in the video encoding decoding code. Reenable VP8.sergeyu@chromium.org2010-11-024-27/+29
| | | | | | | | | | | | | | | 1. Moved video-related protobuf messages from event.proto to video.proto. Removed those that we don't need anymore 2. Fixed naming for enums and some types. 3. Reenabled VP8. 4. Proper RGB-YUV converter for VP8 encoder. 5. Changed the capturer_fake to show more meaningful picture. BUG=57374 TEST=unittests Review URL: http://codereview.chromium.org/4136010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64700 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 64672 - Cleanups in the video encoding decoding code. Reenable VP8.sergeyu@chromium.org2010-11-014-29/+27
| | | | | | | | | | | | | | | | | | 1. Moved video-related protobuf messages from event.proto to video.proto. Removed those that we don't need anymore 2. Fixed naming for enums and some types. 3. Reenabled VP8. 4. Proper RGB-YUV converter for VP8 encoder. 5. Changed the capturer_fake to show more meaningful picture. BUG=57374 TEST=unittests Review URL: http://codereview.chromium.org/4136010 TBR=sergeyu@chromium.org Review URL: http://codereview.chromium.org/4255001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64677 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanups in the video encoding decoding code. Reenable VP8.sergeyu@chromium.org2010-11-014-27/+29
| | | | | | | | | | | | | | | 1. Moved video-related protobuf messages from event.proto to video.proto. Removed those that we don't need anymore 2. Fixed naming for enums and some types. 3. Reenabled VP8. 4. Proper RGB-YUV converter for VP8 encoder. 5. Changed the capturer_fake to show more meaningful picture. BUG=57374 TEST=unittests Review URL: http://codereview.chromium.org/4136010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64672 0039d316-1c4b-4281-b951-d872f2087c98
* HostMessageDispatcher to parse control messageshclam@chromium.org2010-10-285-6/+11
| | | | | | | | | | | | Changed MessageReader and MessageDecoder to support parsing in HostMessageDispatcher. BUG=None TEST=None Review URL: http://codereview.chromium.org/4017002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64283 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanups in the chromotocol code.sergeyu@chromium.org2010-10-272-21/+21
| | | | | | | | | | | | | | | 1) Renamed ChromotingServer to ChromotocolServer. 2) Renamed ChromotingConnection to ChromotocolConnection. 3) Added documentation for ChromotocolServer. 4) Fixed methods names in ChromtocolConnection. 5) Removed some unncessary references to media/*. BUG=None TEST=None Review URL: http://codereview.chromium.org/4105002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64113 0039d316-1c4b-4281-b951-d872f2087c98
* Implemented chromotocol configuration negotiation.sergeyu@chromium.org2010-10-242-8/+15
| | | | | | | | | | Renamed "events" to "event". BUG=None TEST=None Review URL: http://codereview.chromium.org/3988002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63693 0039d316-1c4b-4281-b951-d872f2087c98
* Fix remoting to use scoped_refptr.willchan@chromium.org2010-10-231-3/+3
| | | | | | | | | BUG=28083 TEST=existing Review URL: http://codereview.chromium.org/4053006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63603 0039d316-1c4b-4281-b951-d872f2087c98
* Implement basic X11 screen capture on linux.ajwong@chromium.org2010-10-211-0/+2
| | | | | | | | | BUG= TEST= Review URL: http://codereview.chromium.org/3801012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63401 0039d316-1c4b-4281-b951-d872f2087c98