summaryrefslogtreecommitdiffstats
path: root/remoting/client
Commit message (Collapse)AuthorAgeFilesLines
* GTTF: some more FRIEND_TEST_ALL_PREFIXESphajdan.jr@chromium.org2010-08-161-2/+2
| | | | | | | | | TEST=none BUG=44549 Review URL: http://codereview.chromium.org/3161021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56253 0039d316-1c4b-4281-b951-d872f2087c98
* Workaround for the races when opening new tab with the chromoting extension.sergeyu@chromium.org2010-08-091-5/+11
| | | | | | | | | | | | | The problem is that the extension popup is often closed before it receives the message that the tab has been opened, and thus never sends the message to the new tab. BUG=51194 TEST=tabs opened with the chromoting extension always connect Review URL: http://codereview.chromium.org/3047058 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55436 0039d316-1c4b-4281-b951-d872f2087c98
* FBTF: Remove unneeded headers from base/ (part 5)thestig@chromium.org2010-08-071-1/+0
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/3041049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55349 0039d316-1c4b-4281-b951-d872f2087c98
* Rename ChromotingPlugin -> ChromotingInstance to be more consistent withgarykac@google.com2010-08-077-51/+51
| | | | | | | | | | | Pepper terminology. BUG=50453 TEST=remoting unittests Review URL: http://codereview.chromium.org/3078005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55317 0039d316-1c4b-4281-b951-d872f2087c98
* Modify client to open up chromoting connection in a new tab.ajwong@chromium.org2010-08-043-54/+83
| | | | | | | | | | BUG=50248 TEST=connects locally. TBR=hclam Review URL: http://codereview.chromium.org/2808104 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54958 0039d316-1c4b-4281-b951-d872f2087c98
* Rudamentary Chrome extension version of the chromoting client UI.ajwong@chromium.org2010-08-044-0/+302
| | | | | | | | | | | | | This implements a bare-bones interface to starting a chromoting client session. It currently loads the plugin within the popup itself which is bad, but at least it works as a proof of concept. BUG=50248 TEST=runs and connects locally. Review URL: http://codereview.chromium.org/3046045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54919 0039d316-1c4b-4281-b951-d872f2087c98
* More FRIEND_TEST_ALL_PREFIXES.phajdan.jr@chromium.org2010-07-301-1/+2
| | | | | | | | | TEST=none BUG=44549 Review URL: http://codereview.chromium.org/3053024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54388 0039d316-1c4b-4281-b951-d872f2087c98
* Reapply 53892 with ARM build fix as suggested by Kobic.ajwong@chromium.org2010-07-299-107/+332
| | | | | | | | | | | | | | For some reason, the ARM g++ thinks that comparing a pointer to a class method against NULL is using NULL for arithemtic. Switching to compare against 0 makes this go away. TODO added to investigate what is going on. Original Review URL: http://codereview.chromium.org/3064009 TBR: hclam@chromium.org BUG=50248 TEST=reproed locally with CodeSourcery g++ and verified change fixed things. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54083 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 53892 - Initial scriptable object implementation.rsesek@chromium.org2010-07-289-327/+107
| | | | | | | | | | | | | | | | | | Broke ChromiumOS ARM build, reverting. Errors from log: remoting/client/plugin/chromoting_scriptable_object.cc: In member function 'virtual bool remoting::ChromotingScriptableObject::HasProperty(const pp::Var&, pp::Var*)': remoting/client/plugin/chromoting_scriptable_object.cc:48: error: NULL used in arithmetic remoting/client/plugin/chromoting_scriptable_object.cc: In member function 'virtual bool remoting::ChromotingScriptableObject::HasMethod(const pp::Var&, pp::Var*)': remoting/client/plugin/chromoting_scriptable_object.cc:63: error: NULL used in arithmetic BUG=50248 TEST=write javascript to manually setup connection. Review URL: http://codereview.chromium.org/3064009 TBR=ajwong@chromium.org Review URL: http://codereview.chromium.org/3020038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53949 0039d316-1c4b-4281-b951-d872f2087c98
* Initial scriptable object implementation.ajwong@chromium.org2010-07-289-107/+327
| | | | | | | | | BUG=50248 TEST=write javascript to manually setup connection. Review URL: http://codereview.chromium.org/3064009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53892 0039d316-1c4b-4281-b951-d872f2087c98
* Fix class -> struct.ajwong@chromium.org2010-07-273-3/+4
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53852 0039d316-1c4b-4281-b951-d872f2087c98
* Change ClientConfig to be a struct since it's just a dumb data carrier.ajwong@chromium.org2010-07-2710-43/+27
| | | | | | | Also, the old method of passing around a pointer was not safe due to object lifetime issues. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53851 0039d316-1c4b-4281-b951-d872f2087c98
* [chromoting] Use zlib as the default encoder and decoderhclam@chromium.org2010-07-271-2/+2
| | | | | | | | | | Use EncoderZlib / DecoderZlib as default encoder and decoder. BUG=50246 Review URL: http://codereview.chromium.org/3034035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53742 0039d316-1c4b-4281-b951-d872f2087c98
* Moving Encoder and Decoder to remoting/basehclam@chromium.org2010-07-239-374/+4
| | | | | | | | | | | Putting Encder and Decoder together so we can have test that tests both of them. TEST=remoting_unittests Review URL: http://codereview.chromium.org/2840036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53427 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor the client code for the X11 version.garykac@google.com2010-07-2026-618/+695
| | | | | | | | | | | | | Make ChromotingViews responsible for initializing themselves. Move all x11-related code into X11View. Create InputCapturer class manage client input capture. BUG=none TEST=ran Win host + X11 client Review URL: http://codereview.chromium.org/2861047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52973 0039d316-1c4b-4281-b951-d872f2087c98
* Reapply r51857 to start building chromoting plugin. Update for ppapi changes.ajwong@chromium.org2010-07-169-389/+328
| | | | | | | | | | | | | | This should work now after the ppapi roll to r164 that fixes the -fvisibility=hidden being removed in the linux shlib build. Original Review here: http://codereview.chromium.org/2858037 BUG=none TEST=try bots + local run of PPAPITest with a shared_library build. Review URL: http://codereview.chromium.org/3038001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52658 0039d316-1c4b-4281-b951-d872f2087c98
* Changing UpdateStreamPacket protobuf definition for chromotinghclam@chromium.org2010-07-156-36/+141
| | | | | | | | | This code also changes the API for encoder and ClientConnection to eliminate one less copy. Review URL: http://codereview.chromium.org/2963003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52561 0039d316-1c4b-4281-b951-d872f2087c98
* Update Chrome to pull latest PPAPI with new uses of point and size.brettw@chromium.org2010-07-092-7/+7
| | | | | | | | | | | This also pulls in the renamed enums from Darin's patch http://codereview.chromium.org/2900003 TEST=covered by unit tests BUG=none Review URL: http://codereview.chromium.org/2925007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52010 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r51857 "Integrating back into using the external ppapi/cpp wrappers."ajwong@chromium.org2010-07-089-325/+389
| | | | | | | | For some reason, this looks like it breaks all PPAPI ui tests on linux. TBR: tonyg git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51885 0039d316-1c4b-4281-b951-d872f2087c98
* Integrating back into using the external ppapi/cpp wrappers.ajwong@chromium.org2010-07-089-389/+325
| | | | | | | | | | | This should bring us close to Gary's original npapi code. BUG=none TEST=can connect to simple host Review URL: http://codereview.chromium.org/2858037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51857 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed up some comments while I was looking at these files.dmaclach@chromium.org2010-06-302-5/+5
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/2818037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51303 0039d316-1c4b-4281-b951-d872f2087c98
* Add flag to decoder class to flip the image vertically since that is requiredgarykac@google.com2010-06-282-2/+14
| | | | | | | | | | | on some platforms. BUG=none TEST=run code, verify that screen is upside-up. Review URL: http://codereview.chromium.org/2878009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51052 0039d316-1c4b-4281-b951-d872f2087c98
* Add in support for internal pepper plugins into the PepperPluginRegistry and ↵ajwong@chromium.org2010-06-284-13/+286
| | | | | | | | | | | | | | | pepper::PluginModule. Used Chromoting's plugin as the first attempt at using this interface. BUG=none TEST=compiles Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=50667 Review URL: http://codereview.chromium.org/2843018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50976 0039d316-1c4b-4281-b951-d872f2087c98
* remoting: Extract the utility to get the BytesPerPixel from PixelFormat into ↵tfarina@chromium.org2010-06-261-14/+3
| | | | | | | | | | | | | a function. Note: That was a TODO for hclam. BUG=None TEST=trybots Review URL: http://codereview.chromium.org/2865019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50928 0039d316-1c4b-4281-b951-d872f2087c98
* Chromium side changes to use PP_CompletionCallback as the Flush callback.darin@chromium.org2010-06-251-2/+5
| | | | | | | | | | R=brettw BUG=47461 TEST=none Review URL: http://codereview.chromium.org/2852024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50851 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 50667 - Add in support for internal pepper plugins into the ↵mrossetti@chromium.org2010-06-234-282/+14
| | | | | | | | | | | | | | | | PepperPluginRegistry and pepper::PluginModule. Used Chromoting's plugin as the first attempt at using this interface. BUG=none TEST=compiles Review URL: http://codereview.chromium.org/2843018 TBR=ajwong@chromium.org Review URL: http://codereview.chromium.org/2834021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50671 0039d316-1c4b-4281-b951-d872f2087c98
* Add in support for internal pepper plugins into the PepperPluginRegistry and ↵ajwong@chromium.org2010-06-234-14/+282
| | | | | | | | | | | | | pepper::PluginModule. Used Chromoting's plugin as the first attempt at using this interface. BUG=none TEST=compiles Review URL: http://codereview.chromium.org/2843018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50667 0039d316-1c4b-4281-b951-d872f2087c98
* Convert chromoting to pepperv2 API.ajwong@chromium.org2010-06-2210-921/+93
| | | | | | | | | | | Currently disables use of PepperView, and HostConnection->Connect(). This is mainly an attempt to get the build working. Will re-enable functionality later. BUG=none TEST=none Review URL: http://codereview.chromium.org/2857011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50502 0039d316-1c4b-4281-b951-d872f2087c98
* Deleting obsolete chromoting files.ajwong@chromium.org2010-06-218-913/+0
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/2831019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50393 0039d316-1c4b-4281-b951-d872f2087c98
* Fix up build on Mac. Needed to initialize member vars.dmaclach@chromium.org2010-06-181-1/+2
| | | | | | | | | BUG=none TEST=build unit tests on mac Review URL: http://codereview.chromium.org/2802011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50271 0039d316-1c4b-4281-b951-d872f2087c98
* Fix remoting_unittestshclam@chromium.org2010-06-171-2/+3
| | | | | | | | | remoting_unittests fails tasn fyi bots. Doing a quick fix. TBR=ajwong@chromium.org Review URL: http://codereview.chromium.org/2816013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50145 0039d316-1c4b-4281-b951-d872f2087c98
* Hookup the ChromotingPlugin into the refactored implementationajwong@chromium.org2010-06-1716-88/+751
| | | | | | | | | | | | | | of HostConnection and ChromotingView. Also implement a bare-bones PepperView. No unittests yet. Still too in flux to be worth it. BUG=none TEST=none Review URL: http://codereview.chromium.org/2852003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50116 0039d316-1c4b-4281-b951-d872f2087c98
* Coverity: Fix missing return in error check in remoting::X11Client::DoInitX11.mattm@chromium.org2010-06-161-0/+1
| | | | | | | | | | CID=10883 BUG=none TEST=builds Review URL: http://codereview.chromium.org/2826004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50013 0039d316-1c4b-4281-b951-d872f2087c98
* Coverity: Fix leak in ChromotingClient::read_image.mattm@chromium.org2010-06-152-8/+5
| | | | | | | | | | | | Also, use scoped_array instead of scoped_ptr. BUG=none CID=10905 TEST=builds Review URL: http://codereview.chromium.org/2844005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49854 0039d316-1c4b-4281-b951-d872f2087c98
* Fix broken build.dmaclach@chromium.org2010-06-151-2/+12
| | | | | | | | | TEST=build release BUG=none Review URL: http://codereview.chromium.org/2800004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49846 0039d316-1c4b-4281-b951-d872f2087c98
* Tighten up compile warnings based to match other chromium sub-projects.dmaclach@chromium.org2010-06-156-9/+5
| | | | | | | | | | | Fix up the issues that the new warnings raised. BUG=none TEST=build remoting cleanly Review URL: http://codereview.chromium.org/2801003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49842 0039d316-1c4b-4281-b951-d872f2087c98
* Chromoting unit test: Adding DecoderVerbatimTesthclam@chromium.org2010-06-153-5/+82
| | | | | | | | | Adding a test case to DecodeVerbatimTest. TEST=remoting_unittests Review URL: http://codereview.chromium.org/2849006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49839 0039d316-1c4b-4281-b951-d872f2087c98
* Fixing DecoderVerbatim in chromotinghclam@chromium.org2010-06-112-2/+5
| | | | | | | | Fixed an uninitialized member in DecoderVerbatim. Review URL: http://codereview.chromium.org/2792005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49607 0039d316-1c4b-4281-b951-d872f2087c98
* Add cmdline options to set the hostjid, jid and auth token for the chromotinggarykac@google.com2010-06-114-100/+140
| | | | | | | | | | | | | | client. Add a simple python script to extract jid/token info and launch the client with the appropriate args. Fix x11_client to work with Albert's client restructuring. BUG=none TEST=manual Review URL: http://codereview.chromium.org/2734004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49497 0039d316-1c4b-4281-b951-d872f2087c98
* Enable chromoting in the build by defaulthclam@chromium.org2010-06-113-9/+15
| | | | | | | | | | Set chromoting to be built by default. Also defines a ENABLE_CHROMOTING flag if chromoting is enabled in the build system so we can exclude chromoting if we don't want chromoting code to be linked in. Review URL: http://codereview.chromium.org/2788003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49482 0039d316-1c4b-4281-b951-d872f2087c98
* Separate out HostConnection into an interface and a jingle-basedajwong@chromium.org2010-06-107-160/+282
| | | | | | | | implementation. Refactor to inject the running thread for Jingle. Review URL: http://codereview.chromium.org/2753006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49419 0039d316-1c4b-4281-b951-d872f2087c98
* Fix chromoting windows buildhclam@chromium.org2010-06-102-33/+6
| | | | | | | | This change also changes the CapturerGdi to output 32bit instead of 24bit. Review URL: http://codereview.chromium.org/2771007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49351 0039d316-1c4b-4281-b951-d872f2087c98
* Implement a chromoting client using X11hclam@chromium.org2010-06-0911-133/+683
| | | | | | | | | | | | | 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
* Token-based authentication for chromoting.sergeyu@chromium.org2010-06-093-11/+10
| | | | | | | | | | | BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=49298 Review URL: http://codereview.chromium.org/2749004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49326 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 49298 - Broke compile - Token-based authentication for chromoting.rsesek@chromium.org2010-06-093-10/+11
| | | | | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/2749004 TBR=sergeyu@chromium.org Review URL: http://codereview.chromium.org/2724010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49300 0039d316-1c4b-4281-b951-d872f2087c98
* Token-based authentication for chromoting.sergeyu@chromium.org2010-06-093-11/+10
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/2749004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49298 0039d316-1c4b-4281-b951-d872f2087c98
* Copy the (early prototype of) remoting in Chrome into the public tree.garykac@google.com2010-06-0725-0/+2474
At the moment, this is a semi-functional demo. BUG=none TEST=build/run all unittests on linux Review URL: http://codereview.chromium.org/2690003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49087 0039d316-1c4b-4281-b951-d872f2087c98