summaryrefslogtreecommitdiffstats
path: root/remoting/client
Commit message (Collapse)AuthorAgeFilesLines
* Move us fully from gfx:: over to skia types for consistency.dmaclach@chromium.org2011-09-3011-76/+75
| | | | | | | | | | | BUG=92085 TEST=BUILD Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=103523 Review URL: http://codereview.chromium.org/7992011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103533 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 103523 - Move us fully from gfx:: over to skia types for consistency.dmaclach@chromium.org2011-09-309-74/+74
| | | | | | | | | | | | BUG=NONE TEST=BUILD Review URL: http://codereview.chromium.org/7992011 TBR=dmaclach@chromium.org Review URL: http://codereview.chromium.org/8103006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103526 0039d316-1c4b-4281-b951-d872f2087c98
* Move us fully from gfx:: over to skia types for consistency.dmaclach@chromium.org2011-09-309-74/+74
| | | | | | | | | BUG=NONE TEST=BUILD Review URL: http://codereview.chromium.org/7992011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103523 0039d316-1c4b-4281-b951-d872f2087c98
* Fix PluginMessageLoopProxy::BelingsToCurrentThread() to always return ↵sergeyu@chromium.org2011-09-302-6/+0
| | | | | | | | | | | | correct result. BUG= TEST=Host plugin doesn't DCHECK when shutting down. Review URL: http://codereview.chromium.org/8086015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103412 0039d316-1c4b-4281-b951-d872f2087c98
* Replace TaskThreadProxy with non-refcounted ScopedThreadProxy.sergeyu@chromium.org2011-09-292-19/+21
| | | | | | | | | BUG=None TEST=Unittests. Review URL: http://codereview.chromium.org/7906020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103343 0039d316-1c4b-4281-b951-d872f2087c98
* Replace LOG(INFO) with VLOG(1) to avoid excessive logging.sergeyu@chromium.org2011-09-294-18/+16
| | | | | | | | | | BUG=80246 TEST=None Review URL: http://codereview.chromium.org/8043032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103320 0039d316-1c4b-4281-b951-d872f2087c98
* Remove old sandboxing-related code.sergeyu@chromium.org2011-09-233-505/+0
| | | | | | | | | | | | | | 1. Remove sandboxing code from JingleSessionManager 2. Remove custom port allocator used by chromoting. 3. Remove code for STUN server address resolution from JingleInfoRequest and HostResolver interface. BUG=None TEST=compiles. Review URL: http://codereview.chromium.org/7969019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102545 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup ConnectionToHost of non-P2P-API code.sergeyu@chromium.org2011-09-225-130/+5
| | | | | | | | | BUG=74951 TEST=Compiles Review URL: http://codereview.chromium.org/7981026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102311 0039d316-1c4b-4281-b951-d872f2087c98
* Use P2P Transport API by default.sergeyu@chromium.org2011-09-223-46/+7
| | | | | | | | | BUG=51198 TEST=chromoting client still works. Review URL: http://codereview.chromium.org/7981025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102297 0039d316-1c4b-4281-b951-d872f2087c98
* Delete Tracked, and move Location to its own file.ajwong@chromium.org2011-09-211-0/+1
| | | | | | | | | | | | | The Birth/Death tracking of tasks has been moved out-of-band into MessageLoop's PendingTask structure. Thus, Task no longer needs to inherit from Tracked. Since Task was the only child of Tracked, delete the Tracked class and move Location to its own file. BUG=none TEST=builds Review URL: http://codereview.chromium.org/7879006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102132 0039d316-1c4b-4281-b951-d872f2087c98
* Fix Chromoting Client's handling of DidChangeView.wez@chromium.org2011-09-141-11/+12
| | | | | | | | | BUG=95699 TEST=Desktop should be correctly displayed when first connected. Review URL: http://codereview.chromium.org/7864018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101108 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor InputStub interface to pass events by value (const reference).lambroslambrou@chromium.org2011-09-131-15/+12
| | | | | | | | | | | | | This will make it much easier to inject modified key/mouse events, for example, restricting mouse-coordinates to the screen area. BUG=None TEST=Manual Review URL: http://codereview.chromium.org/7803004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100939 0039d316-1c4b-4281-b951-d872f2087c98
* Add flag to use P2P Transport API.sergeyu@chromium.org2011-09-133-24/+41
| | | | | | | | | BUG=51198 TEST=Manual Review URL: http://codereview.chromium.org/7740061 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100811 0039d316-1c4b-4281-b951-d872f2087c98
* Remove all the experimental Traced Task code from remoting.ajwong@chromium.org2011-09-125-59/+29
| | | | | | | | | | | | This code is obsolete and never fully functioned anyways. Deleting. BUG=57373,65680,73744 TEST=valgrind Review URL: http://codereview.chromium.org/7780019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100788 0039d316-1c4b-4281-b951-d872f2087c98
* Coverity: Initialize member variables.jhawkins@chromium.org2011-09-121-1/+2
| | | | | | | | | | | | | CID_COUNT=23 CID=100941,100986,100987,101015,101016,101017,101227,101229,101230,101332,101333,101334,101335,101336,101337,101355,101356,101359,101362,101363,101381,101389,101417 BUG=none TEST=none R=kmadhusu@chromium.org Review URL: http://codereview.chromium.org/7780013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100774 0039d316-1c4b-4281-b951-d872f2087c98
* Pass SessionConfig by reference instead of pointer.sergeyu@chromium.org2011-09-103-8/+6
| | | | | | | | | BUG=88600 TEST=Unittests Review URL: http://codereview.chromium.org/7796026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100587 0039d316-1c4b-4281-b951-d872f2087c98
* Remove vestigal, unused, app-engine code.ajwong@chromium.org2011-09-1016-3725/+0
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/7867023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100561 0039d316-1c4b-4281-b951-d872f2087c98
* Remove some overly verbose logging.isherman@chromium.org2011-08-261-2/+2
| | | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/7746006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98386 0039d316-1c4b-4281-b951-d872f2087c98
* Move P2P code to content namespace.sergeyu@chromium.org2011-08-253-12/+14
| | | | | | | | | BUG=None TEST=Compiles Review URL: http://codereview.chromium.org/7715020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98294 0039d316-1c4b-4281-b951-d872f2087c98
* Call SendIq() from plugin asynchronously.sergeyu@chromium.org2011-08-242-24/+25
| | | | | | | | | BUG=93951 TEST=Client doesn't crash when disconnecting Review URL: http://codereview.chromium.org/7730002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98139 0039d316-1c4b-4281-b951-d872f2087c98
* Use plugin main thread for network code on the client sidesergeyu@chromium.org2011-08-225-19/+51
| | | | | | | | | BUG=None TEST=Everything still works. Review URL: http://codereview.chromium.org/7655060 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97706 0039d316-1c4b-4281-b951-d872f2087c98
* remoting: Get rid of a static variable of a std::string type, which is ↵tfarina@chromium.org2011-08-221-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | forbidden. I'm removing it because it isn't used anywhere else. Otherwise it would be converted to: static const char kCreateSessionURL[] = "/create_session"; Or even better: namespace { const char kCreateSessionURL[] = "/create_session"; } // namespace BUG=83856 TEST=None R=hclam@chromium.org Review URL: http://codereview.chromium.org/7695017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97627 0039d316-1c4b-4281-b951-d872f2087c98
* Use plugin message loop for main loop in the client plugin.sergeyu@chromium.org2011-08-2116-152/+230
| | | | | | | | | | BUG=None TEST=None Review URL: http://codereview.chromium.org/7669037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97590 0039d316-1c4b-4281-b951-d872f2087c98
* Fix crash in Chromoting's logger when a client connects to multiple hosts.garykac@chromium.org2011-08-184-24/+92
| | | | | | | | | | BUG=92234 TEST=manual Review URL: http://codereview.chromium.org/7666001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97388 0039d316-1c4b-4281-b951-d872f2087c98
* Use MessageLoopProxy for network message loop.sergeyu@chromium.org2011-08-126-21/+30
| | | | | | | | | | | | | When we switch to P2P Pepper API we will need to run networking code on the main plugin thread. Switching to MessageLoopProxy for network thread, so that it's easier to switch network thread in the future. BUG=None TEST=None Review URL: http://codereview.chromium.org/7633009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96651 0039d316-1c4b-4281-b951-d872f2087c98
* Build remoting with libvpx in all platformshclam@chromium.org2011-08-121-5/+2
| | | | | | | | | | | | Now that libvpx is building on ARM remoting should use it on all platforms. BUG=47285 TEST=chromoting runs on ARM Review URL: http://codereview.chromium.org/7623020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96543 0039d316-1c4b-4281-b951-d872f2087c98
* Resolve addresses of STUN/Relay servers in JingleInfoRequest.sergeyu@chromium.org2011-08-094-3/+110
| | | | | | | | | BUG=83242 TEST=NAT traversal works Review URL: http://codereview.chromium.org/7598004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96060 0039d316-1c4b-4281-b951-d872f2087c98
* Don't use JingleThread in the client plugin.sergeyu@chromium.org2011-08-045-23/+15
| | | | | | | | | TEST=client works with seccomp sandbox. BUG=None Review URL: http://codereview.chromium.org/7575016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95511 0039d316-1c4b-4281-b951-d872f2087c98
* Future proof against things like http://crbug.com/91521dmaclach@chromium.org2011-08-041-1/+11
| | | | | | | | | | | | BUG=91521 TEST=Remove ffmpegsumo.so from a mac chrome build and attempt to use it as a client in a chromoting session. Check your logs. You should see Media library not initialized. Also, plugin shouldn't crash. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=95414 Review URL: http://codereview.chromium.org/7562016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95421 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 95414 - Future proof against things like http://crbug.com/91521dmaclach@chromium.org2011-08-043-32/+10
| | | | | | | | | | | | | BUG=91521 TEST=Remove ffmpegsumo.so from a mac chrome build and attempt to use it as a client in a chromoting session. Check your logs. You should see Media library not initialized. Also, plugin shouldn't crash. Review URL: http://codereview.chromium.org/7562016 TBR=dmaclach@chromium.org Review URL: http://codereview.chromium.org/7576005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95415 0039d316-1c4b-4281-b951-d872f2087c98
* Future proof against things like http://crbug.com/91521dmaclach@chromium.org2011-08-043-10/+32
| | | | | | | | | | BUG=91521 TEST=Remove ffmpegsumo.so from a mac chrome build and attempt to use it as a client in a chromoting session. Check your logs. You should see Media library not initialized. Also, plugin shouldn't crash. Review URL: http://codereview.chromium.org/7562016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95414 0039d316-1c4b-4281-b951-d872f2087c98
* Modify Chromoting logging to hook into base logging.garykac@chromium.org2011-08-048-134/+106
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/7355011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95380 0039d316-1c4b-4281-b951-d872f2087c98
* Call Pepper's Flush command properlyhclam@chromium.org2011-08-033-9/+31
| | | | | | | | | | | | | | Need to provide a flag to the Flush command otherwise it won't return a proper error to notify that Flush has failed. Because of this there's some content in the plugin area not updated until the next frame arrives. BUG=80000, 91300 TEST=Try chromoting, do a small action, stop the mouse, animation should completes. Review URL: http://codereview.chromium.org/7550008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95227 0039d316-1c4b-4281-b951-d872f2087c98
* Respect NAT traversal policy in the Chromoting client plugin.ajwong@chromium.org2011-08-032-23/+164
| | | | | | | | | BUG=90213 TEST=manual Review URL: http://codereview.chromium.org/7453066 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95185 0039d316-1c4b-4281-b951-d872f2087c98
* If pepper flush returns an error then save a pending flushhclam@chromium.org2011-08-012-8/+33
| | | | | | | | | | | | | If there is already a flush in progress then flush will return an error. Save a flag so that when the last flush completes the client plugin will flush again. BUG=80000 TEST=chromoting client renders correctly Review URL: http://codereview.chromium.org/7518024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94961 0039d316-1c4b-4281-b951-d872f2087c98
* Expose nat_traversal flag to host and client plugins.sergeyu@chromium.org2011-07-261-1/+2
| | | | | | | | | BUG=90213 TEST=None Review URL: http://codereview.chromium.org/7471054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94119 0039d316-1c4b-4281-b951-d872f2087c98
* Remove explicit keyword from multi-argument (w/o default values) constructorsdilmah@chromium.org2011-07-261-2/+2
| | | | | | | | | BUG=None TEST=None Review URL: http://codereview.chromium.org/7477008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94115 0039d316-1c4b-4281-b951-d872f2087c98
* 2. Implement scale-to-fit and clipping in DecoderVp8hclam@chromium.org2011-07-2612-381/+343
| | | | | | | | | | | Perform color space conversion and scaling in DecoderVp8 using fast SIMD routines. Also move clipping to DecoderVp8 to save more CPU cycles. BUG=None TEST=None Review URL: http://codereview.chromium.org/7396005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94099 0039d316-1c4b-4281-b951-d872f2087c98
* Request wheel events for Chromoting so they're not handled by the browser.garykac@chromium.org2011-07-211-1/+1
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/7481007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93466 0039d316-1c4b-4281-b951-d872f2087c98
* Change Chromoting client to use Pepper's new Resource-base InputEvents.garykac@chromium.org2011-07-218-64/+83
| | | | | | | | | | | | | Remove gfx::Point and gfx::Rect from the Chromoting client plugin code and consistently use pp::Point and pp::Rect. Push ConvertScreenToHost down into PepperView so it can take and return a pp::Point. BUG=none TEST=none Review URL: http://codereview.chromium.org/7453003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93462 0039d316-1c4b-4281-b951-d872f2087c98
* Message validation in message dispatchers.sergeyu@chromium.org2011-07-212-16/+7
| | | | | | | | | BUG=70335 TEST=None Review URL: http://codereview.chromium.org/7466004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93296 0039d316-1c4b-4281-b951-d872f2087c98
* Convert input event to interface version 1.0. Rename some of the mouse andbrettw@chromium.org2011-07-201-5/+5
| | | | | | | | | | | | | | | | | | wheel events to remove the redundant "Mouse" and "Wheel" in the getters. Rename PP_INPUTEVENT_TYPE_MOUSEWHEEL to .._WHEEL so that it doesn't look like a mouse event (it's its own type). Add documentation to the C++ wrapper from the C wrappers. Do some minor documentation updates. Update IDL for some of the recent changes we've made. Update the way points are passed for resource creation since IDL wanted to do it by pointer. TEST=it compiles. Review URL: http://codereview.chromium.org/7464003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93263 0039d316-1c4b-4281-b951-d872f2087c98
* Purge references to JingleClient.wez@chromium.org2011-07-201-1/+1
| | | | | | | | | BUG= TEST= Review URL: http://codereview.chromium.org/7459002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93254 0039d316-1c4b-4281-b951-d872f2087c98
* Reland http://codereview.chromium.org/7452002/ againdmichael@chromium.org2011-07-204-37/+53
| | | | | | | | | | | | | | Update chromoting input events. (Clang caught this. Thanks, Clang!) Note I'm leaving in temporary backwards-compatibility. BUG=None TEST=ppapi tests TBR=brettw,sergeyu Review URL: http://codereview.chromium.org/7466008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93234 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 93223 - Reland http://codereview.chromium.org/7452002/dmichael@chromium.org2011-07-204-53/+37
| | | | | | | | | | | | | | | | | | Update chromoting input events. (Clang caught this. Thanks, Clang!) Note I'm leaving in temporary backwards-compatibility. brettw, just need a rubber-stamp. This is the same as the last CL. awong/garykac/sergeyu, looking for someone on chromoting team to glance at my changes and make sure I didn't do anything you don't like. This is a high priority for 14, so please look if you can. BUG=None TEST=ppapi tests Review URL: http://codereview.chromium.org/7466002 TBR=dmichael@chromium.org Review URL: http://codereview.chromium.org/7471006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93229 0039d316-1c4b-4281-b951-d872f2087c98
* Reland http://codereview.chromium.org/7452002/dmichael@chromium.org2011-07-204-37/+53
| | | | | | | | | | | | | | | Update chromoting input events. (Clang caught this. Thanks, Clang!) Note I'm leaving in temporary backwards-compatibility. brettw, just need a rubber-stamp. This is the same as the last CL. awong/garykac/sergeyu, looking for someone on chromoting team to glance at my changes and make sure I didn't do anything you don't like. This is a high priority for 14, so please look if you can. BUG=None TEST=ppapi tests Review URL: http://codereview.chromium.org/7466002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93223 0039d316-1c4b-4281-b951-d872f2087c98
* Clean up VideoFrame::CreateXXX and VideoFrame::AllocXXX methods.scherkus@chromium.org2011-07-181-7/+5
| | | | | | | | No need to confuse people with potentially-NULL pointers due to out-of-memory conditions. Review URL: http://codereview.chromium.org/7396007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92917 0039d316-1c4b-4281-b951-d872f2087c98
* Remove unused methods in ChromotingInstance.hclam@chromium.org2011-07-152-16/+0
| | | | | | | | | | | | ViewChanged is actually not used and no one is calling it. Remove it to prepare for more optimizations for rendering. BUG=None TEST=None Review URL: http://codereview.chromium.org/7376006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92719 0039d316-1c4b-4281-b951-d872f2087c98
* Fixup threading for Chromoting's logging code.garykac@chromium.org2011-07-132-58/+7
| | | | | | | | | | | Move va_Log and va_VLog into base remoting::Logger class to remove duplicate code and simplify the host/client loggers. BUG=88792 TEST=none Review URL: http://codereview.chromium.org/7285047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92282 0039d316-1c4b-4281-b951-d872f2087c98
* Release all keys on blur.jamiewalch@google.com2011-07-086-4/+53
| | | | | | | | | BUG=84285 TEST=Manual Review URL: http://codereview.chromium.org/7316011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91914 0039d316-1c4b-4281-b951-d872f2087c98