summaryrefslogtreecommitdiffstats
path: root/remoting/client
Commit message (Collapse)AuthorAgeFilesLines
* Move chromotocol.proto to remoting/protocolhclam@chromium.org2010-10-184-3/+4
| | | | | | | | | | | Move the proto file and split it into multiple smaller proto files. BUG=None TEST=None Review URL: http://codereview.chromium.org/3808002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62965 0039d316-1c4b-4281-b951-d872f2087c98
* Move Chromoting hostlist into tab (from extension popup)garykac@chromium.org2010-10-1410-56/+210
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/3602002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62585 0039d316-1c4b-4281-b951-d872f2087c98
* Remove old tunneling code from remoting/jingle_glue.sergeyu@chromium.org2010-10-142-26/+3
| | | | | | | | | BUG=None TEST=None Review URL: http://codereview.chromium.org/3574014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62489 0039d316-1c4b-4281-b951-d872f2087c98
* Call SetViewport when client is inite'edgarykac@chromium.org2010-10-131-0/+1
| | | | | | | | | BUG=none TEST=run chromoting host/client, verify it works Review URL: http://codereview.chromium.org/3709004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62459 0039d316-1c4b-4281-b951-d872f2087c98
* Hook up communication between Chromoting plugin and JS so that it can notify ↵garykac@chromium.org2010-10-0818-117/+407
| | | | | | | | | | | | | the JS UI of status changes. Push SetState handling down ChromotingView so that UI changes are contained in the View. BUG=54855 TEST=chromoting unittests Review URL: http://codereview.chromium.org/3446020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61977 0039d316-1c4b-4281-b951-d872f2087c98
* Fix up PPAPI renames in Chrome.neb@chromium.org2010-10-073-4/+4
| | | | | | | | | BUG=57631 TEST=ppapi/tests pass Review URL: http://codereview.chromium.org/3537011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61830 0039d316-1c4b-4281-b951-d872f2087c98
* Use new Chromotocol code in host andclient.sergeyu@chromium.org2010-10-066-97/+142
| | | | | | | | | | | | | | 1. ProtocolDecoder renamed to MessagesDecoder and moved to remoting/protocol. 2. base/protocol_util.[h|cc] split into base/util.[h|cc] and protocol/util.[h|cc]. 3. Added StreamReader and StreamWriter classes for events and video channels. 4. Client and host changed to use the new protocol code. BUG=None TEST=Unittests Review URL: http://codereview.chromium.org/3595012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61723 0039d316-1c4b-4281-b951-d872f2087c98
* Reapply r61237: FBTF: Another big ctor/dtor cleanup found by automated tools.erg@google.com2010-10-042-1/+3
| | | | | | | | | | | | | | | Removes changes to code in webkit/ that broke chrome_frame. Will debug that portion later. (Shaves ~2MB off Linux Debug .a files) BUG=none TEST=compiles First Review URL: http://codereview.chromium.org/3563004 Review URL: http://codereview.chromium.org/3621003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61435 0039d316-1c4b-4281-b951-d872f2087c98
* This is a monster CL.ajwong@chromium.org2010-10-0415-395/+334
| | | | | | | | | | | | | | | | | | | | It started as an attempt to put the decoder onto another thread. However, this became complicated due to multiple object ownership transfers and coupling between the decode layer and the network layer; the decoder's states were highly coupled with how the network packets were processed. This could probably be broken up slightly, but at this point, it's easier to just commit as a whole The refactor includes: 1) Making the decoder interface unaware of "network packet" types. 2) Making the network layer process packets in order. 3) Threading through asynchronous APIs all over the place. 4) Simplifying the rectangle update protocol. 5) Cleaning up object lifetime and ownership semantics between the decode layer and the renderer. As of right now, the Verbatim format is still broken on the encode side because it uses the old protocol. BUG=52883, 57351 TEST=still connects to chromoting_simple_host Review URL: http://codereview.chromium.org/3305001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61402 0039d316-1c4b-4281-b951-d872f2087c98
* clang/mac: Fix almost all problems when building all.xcodeproj.thakis@chromium.org2010-10-041-5/+5
| | | | | | | | BUG=None TEST=None TBR=hans git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61344 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "FBTF: Another big ctor/dtor cleanup found by automated tools."erg@google.com2010-10-012-2/+1
| | | | | | | | | | | This reverts commit 27ea47d65cf8767f350113d5ad9e25170efde811 (r61237). BUG=none TEST=compiles Review URL: http://codereview.chromium.org/3609005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61240 0039d316-1c4b-4281-b951-d872f2087c98
* FBTF: Another big ctor/dtor cleanup found by automated tools.erg@google.com2010-10-012-1/+2
| | | | | | | | | | | (Shaves ~2MB off Linux Debug .a files) BUG=none TEST=compiles Review URL: http://codereview.chromium.org/3563004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61237 0039d316-1c4b-4281-b951-d872f2087c98
* Add in a new FrameConsumer interface, Decode API, and a ↵ajwong@chromium.org2010-09-273-0/+337
| | | | | | | | | | | | | | | RectangleUpdateDecoder abstraction. This should allow a decoder that can still request the view to allocate frames without being owned by the view itself. This allows for cleaner threading semantics and reduced coupling of classes. The new decoder API keeps the decoder from being aware of the network packet types tightening up the API layering. BUG=52833 TEST=None. This code isn't used yet. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=60703 Review URL: http://codereview.chromium.org/3335012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60721 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Add in a new FrameConsumer interface, Decode API, and a ↵ajwong@chromium.org2010-09-273-336/+0
| | | | | | | | | | RectangleUpdateDecoder abstraction." Reverting r60703 due to build break. TBR=willchan git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60705 0039d316-1c4b-4281-b951-d872f2087c98
* Add in a new FrameConsumer interface, Decode API, and a ↵ajwong@chromium.org2010-09-273-0/+336
| | | | | | | | | | | | | RectangleUpdateDecoder abstraction. This should allow a decoder that can still request the view to allocate frames without being owned by the view itself. This allows for cleaner threading semantics and reduced coupling of classes. The new decoder API keeps the decoder from being aware of the network packet types tightening up the API layering. BUG=52833 TEST=None. This code isn't used yet. Review URL: http://codereview.chromium.org/3335012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60703 0039d316-1c4b-4281-b951-d872f2087c98
* Fix mouse event handling in Chromoting plugin.garykac@chromium.org2010-09-243-3/+4
| | | | | | | | | | | | | | | Revision 60257 changed the Pepper PluginInstance to call HandleInputEvent instead of HandleEvent. Since HandleEvent was virtual in the subclass, this was not caught by the compiler. Here's where a proper 'override' keyword in C++ would've been nice. BUG=none TEST=verify mouse works Review URL: http://codereview.chromium.org/3440026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60467 0039d316-1c4b-4281-b951-d872f2087c98
* Pull latest PPAPI. Change key handling to support the new API.brettw@chromium.org2010-09-234-27/+33
| | | | | | | | TEST=PPAPI UI tests BUG=none Review URL: http://codereview.chromium.org/3386019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60258 0039d316-1c4b-4281-b951-d872f2087c98
* Improve UI of Chromoting client UI to select available hosts.garykac@chromium.org2010-09-088-139/+348
| | | | | | | | | BUG=53988 TEST=none Review URL: http://codereview.chromium.org/3338014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58862 0039d316-1c4b-4281-b951-d872f2087c98
* Add mouse/keyboard event support to Chromoting client (Pepper and X11).garykac@chromium.org2010-09-077-6/+49
| | | | | | | | | BUG=50247 TEST=none Review URL: http://codereview.chromium.org/3341005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58761 0039d316-1c4b-4281-b951-d872f2087c98
* Fix manifest permissions in Chromoting Client UIgarykac@chromium.org2010-09-031-1/+1
| | | | | | | | | | | | Add googleapis.com to the manifest so that we can access the Chromoting Directory. BUG=none TEST=none Review URL: http://codereview.chromium.org/3356003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58497 0039d316-1c4b-4281-b951-d872f2087c98
* Unrevert 58354, reland PPAPI with the instance test disabled.brettw@chromium.org2010-09-021-1/+1
| | | | | | Review URL: http://codereview.chromium.org/3323005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58358 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 58328 - Pull new PPAPI, reland 58319 and 58321.rohitrao@chromium.org2010-09-021-1/+1
| | | | | | | | | | TEST=unit test included BUG=none TBR=brettw@chromium.org Review URL: http://codereview.chromium.org/3358006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58354 0039d316-1c4b-4281-b951-d872f2087c98
* Pull new PPAPI, reland 58319 and 58321.brettw@chromium.org2010-09-021-1/+1
| | | | | | | TEST=unit test included BUG=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58328 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 58319 - Pull latest version of Pepper. This includes a reworked find ↵brettw@chromium.org2010-09-021-1/+1
| | | | | | | | | | | | interface. TEST=none BUG=none TBR=brettw@chromium.org Review URL: http://codereview.chromium.org/3301009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58323 0039d316-1c4b-4281-b951-d872f2087c98
* Pull latest version of Pepper. This includes a reworked find interface.brettw@chromium.org2010-09-021-1/+1
| | | | | | | TEST=none BUG=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58319 0039d316-1c4b-4281-b951-d872f2087c98
* Updated chromoting directory URL to use www.googleapis.com, switched to https.sergeyu@chromium.org2010-08-301-6/+10
| | | | | | | | | BUG=None TEST=None Review URL: http://codereview.chromium.org/3252006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57909 0039d316-1c4b-4281-b951-d872f2087c98
* Pull new PPAPI, rename non-P0 interfaces to Dev, rename DeviceContext2D to ↵brettw@chromium.org2010-08-303-13/+12
| | | | | | | | | | Graphics2D. TEST=it compiles BUG=none Review URL: http://codereview.chromium.org/3255003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57825 0039d316-1c4b-4281-b951-d872f2087c98
* Jingle_glue bugfixes.sergeyu@chromium.org2010-08-281-3/+0
| | | | | | | | | | | | | | | Fixed Closed() methods in JingleChannel and JingleClient so that they are not blocking and guarantee that callback is not called afterwards. Changed JingleThread shutdown mechanism so that the thread doesn't stop until all tasks are finished. JingleClient now uses LocalTunnelSessionClient that allows local connections. BUG=52889 TEST=unittests Review URL: http://codereview.chromium.org/3167047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57770 0039d316-1c4b-4281-b951-d872f2087c98
* FBTF: Remove unneeded headers from base/ (part 7)thestig@chromium.org2010-08-272-2/+0
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/3176026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57737 0039d316-1c4b-4281-b951-d872f2087c98
* Add mouse event support to Chromoting client (Pepper and X11).garykac@chromium.org2010-08-2613-17/+206
| | | | | | | | | BUG=none TEST=remoting unittests Review URL: http://codereview.chromium.org/3175028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57598 0039d316-1c4b-4281-b951-d872f2087c98
* Pass ClientContext, HostConnection and ChromotingView into the input handler ↵garykac@chromium.org2010-08-257-11/+30
| | | | | | | | | | | since they will be needed to properly handle user input and sent it to the host. BUG=none TEST=remoting unittests Review URL: http://codereview.chromium.org/3148029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57341 0039d316-1c4b-4281-b951-d872f2087c98
* Rename (Host|Client)Message to Chromoting(Host|Client)Message.garykac@chromium.org2010-08-2410-38/+38
| | | | | | | | | | | | | | | | Rename HostMessage and ClientMessage to Chromoting{Host|Client}Message to avoid conflicts with messages in X11. Actually, only ClientMessage needs to be changed due to conflict, but HostMessage is changed to keep the names consistent. BUG=none TEST=remoting unittests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=57112 Review URL: http://codereview.chromium.org/3161034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57255 0039d316-1c4b-4281-b951-d872f2087c98
* Move common ChromotingView functionality into base class so that the code cangarykac@google.com2010-08-247-85/+764
| | | | | | | | | | | | | | | | | | be shared between PepperView and X11View. Have View create appropriate decoder based on encoding of the update stream. Add state to decoder to keep track of whether Begin/End has been called in the correct order. Add unittests for new routines. BUG=none TEST=remoting unit tests Review URL: http://codereview.chromium.org/3124005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57206 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 57112 - Rename (Host|Client)Message to Chromoting(Host|Client)Message.thestig@chromium.org2010-08-238-32/+32
| | | | | | | | | | | | | | | | | Rename HostMessage and ClientMessage to Chromoting{Host|Client}Message to avoid conflicts with messages in X11. Actually, only ClientMessage needs to be changed due to conflict, but HostMessage is changed to keep the names consistent. BUG=none TEST=remoting unittests Review URL: http://codereview.chromium.org/3161034 TBR=garykac@chromium.org Review URL: http://codereview.chromium.org/3141036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57115 0039d316-1c4b-4281-b951-d872f2087c98
* Rename (Host|Client)Message to Chromoting(Host|Client)Message.garykac@chromium.org2010-08-238-32/+32
| | | | | | | | | | | | | | Rename HostMessage and ClientMessage to Chromoting{Host|Client}Message to avoid conflicts with messages in X11. Actually, only ClientMessage needs to be changed due to conflict, but HostMessage is changed to keep the names consistent. BUG=none TEST=remoting unittests Review URL: http://codereview.chromium.org/3161034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57112 0039d316-1c4b-4281-b951-d872f2087c98
* Change Chromoting X11 client default decoder to Zlib.garykac@chromium.org2010-08-201-1/+2
| | | | | | | | | BUG=none TEST=remoting unittests Review URL: http://codereview.chromium.org/3176023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56941 0039d316-1c4b-4281-b951-d872f2087c98
* Minor fixes for the client extension.sergeyu@chromium.org2010-08-186-107/+127
| | | | | | | | | | Added background page that passes messages to new tabs. CamelCase for function names. BUG=51194 TEST=extension still works. Review URL: http://codereview.chromium.org/3149017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56567 0039d316-1c4b-4281-b951-d872f2087c98
* 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