summaryrefslogtreecommitdiffstats
path: root/remoting/host
Commit message (Collapse)AuthorAgeFilesLines
* Notify calling web-app when Host plugin becomes connected to a client.wez@chromium.org2011-06-168-22/+51
| | | | | | | | | | BUG=85110 TEST= Review URL: http://codereview.chromium.org/7134023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89370 0039d316-1c4b-4281-b951-d872f2087c98
* Retrying submission of http://codereview.chromium.org/7144010/lambroslambrou@google.com2011-06-166-8/+63
| | | | | | | | | | | | | | | Run DisconnectWindow::Show/Hide on correct thread. This is to ensure that the DisconnectWindow UI actions are carried out on the proper thread for making platform-native GUI API calls (for example, GTK on Linux). BUG=None TEST=Manual Review URL: http://codereview.chromium.org/7180001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89359 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 89227 - Run DisconnectWindow::Show/Hide on correct thread.lambroslambrou@google.com2011-06-155-58/+8
| | | | | | | | | | | | | | | | | This is to ensure that the DisconnectWindow UI actions are carried out on the proper thread for making platform-native GUI API calls (for example, GTK on Linux). BUG=None TEST=Manual Review URL: http://codereview.chromium.org/7144010 TBR=lambroslambrou@chromium.org Review URL: http://codereview.chromium.org/7172024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89230 0039d316-1c4b-4281-b951-d872f2087c98
* Run DisconnectWindow::Show/Hide on correct thread.lambroslambrou@chromium.org2011-06-155-8/+58
| | | | | | | | | | | | | | This is to ensure that the DisconnectWindow UI actions are carried out on the proper thread for making platform-native GUI API calls (for example, GTK on Linux). BUG=None TEST=Manual Review URL: http://codereview.chromium.org/7144010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89227 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup: base/scoped_ptr.h -> base/memory/scoped_ptr.h. (part 2)thestig@chromium.org2011-06-151-1/+1
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/7149008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89131 0039d316-1c4b-4281-b951-d872f2087c98
* Initial Disconnect window implementation for Chromoting (Windows).garykac@google.com2011-06-145-113/+286
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/7150002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89084 0039d316-1c4b-4281-b951-d872f2087c98
* Block remote mouse inputs for a short time when local input is received.jamiewalch@google.com2011-06-1317-20/+528
| | | | | | | | | | | BUG= TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=88878 Review URL: http://codereview.chromium.org/7134048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88915 0039d316-1c4b-4281-b951-d872f2087c98
* Stop accepting connections once there is one active, if running Me2Mom.wez@chromium.org2011-06-132-1/+10
| | | | | | | | | | BUG=85110 TEST=Connect to Host using an Access Code, then try to re-use the Access Code to connect a second client to it. Second connection should fail. Review URL: http://codereview.chromium.org/7134100 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88909 0039d316-1c4b-4281-b951-d872f2087c98
* Initial implementation of DisconnectWindow on Linux.lambroslambrou@chromium.org2011-06-131-3/+85
| | | | | | | | | | BUG=None TEST=Manual Review URL: http://codereview.chromium.org/7089016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88889 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 88878 - Block remote mouse inputs for a short time when local input ↵asargent@chromium.org2011-06-1317-524/+20
| | | | | | | | | | | | | | is received. BUG= TEST= Review URL: http://codereview.chromium.org/7134048 TBR=jamiewalch@google.com Review URL: http://codereview.chromium.org/7134099 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88882 0039d316-1c4b-4281-b951-d872f2087c98
* Block remote mouse inputs for a short time when local input is received.jamiewalch@google.com2011-06-1317-20/+524
| | | | | | | | | BUG= TEST= Review URL: http://codereview.chromium.org/7134048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88878 0039d316-1c4b-4281-b951-d872f2087c98
* Call the DisconnectWindow interface methods on the UI thread.lambroslambrou@chromium.org2011-06-095-3/+29
| | | | | | | | | | BUG=None TEST=Unit-tests still pass Review URL: http://codereview.chromium.org/7089015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88592 0039d316-1c4b-4281-b951-d872f2087c98
* Fix calling convention for Chromoting's NP_Shutdown entry pointsgarykac@chromium.org2011-06-091-1/+1
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/7129034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88544 0039d316-1c4b-4281-b951-d872f2087c98
* Add fix suggestion for me2mom failure case.jamiewalch@chromium.org2011-06-081-1/+4
| | | | | | | | | | BUG=None TEST=Run remoting_simple_host --me2mom without cached credentials. Review URL: http://codereview.chromium.org/7041006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88394 0039d316-1c4b-4281-b951-d872f2087c98
* Add version info with MIME type to Remoting Host plugin for Windows.wez@chromium.org2011-06-074-8/+136
| | | | | | | | | BUG= TEST=Remoting Host plugin successfully loads. Review URL: http://codereview.chromium.org/7088016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88228 0039d316-1c4b-4281-b951-d872f2087c98
* Initial disconnect window framework and mac implementation.jamiewalch@google.com2011-06-0713-7/+1349
| | | | | | | | | BUG=None TEST=Manual Review URL: http://codereview.chromium.org/7077038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88138 0039d316-1c4b-4281-b951-d872f2087c98
* Statically link VPX into the Host Plugin.wez@chromium.org2011-06-021-27/+16
| | | | | | | | | | | | BUG= TEST=Host plugin loads and doesn't mysteriously crash trying to call into VPX when a connection is first made. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=87534 Review URL: http://codereview.chromium.org/7065026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87678 0039d316-1c4b-4281-b951-d872f2087c98
* More POSIX support for Chromium, consisting mostly of broadening ifdefs. Thistony@chromium.org2011-06-021-4/+4
| | | | | | | | | | | | | | patch cuts across modules, as there's only a handful necessary for each, with the most in chrome/test/. ALSA is enabled on FreeBSD and Solaris, as libasound has been ported to those two platforms, and I moved resolv.h in host_resolver_proc.cc, because it depends on headers from sys_addrinfo.h on FreeBSD. Patch by ruben (chromium@hybridsource.org) Review URL: http://codereview.chromium.org/6976055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87641 0039d316-1c4b-4281-b951-d872f2087c98
* Set up and tear down AtExitManager at the right times in the Host plugin.wez@chromium.org2011-06-021-1/+9
| | | | | | | | | BUG=84663 TEST=Run two instances of the Host plugin in separate tabs. The second one to start should no longer crash the plugin process. Review URL: http://codereview.chromium.org/7108004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87628 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 87534 - Statically link VPX into the Host Plugin.michaeln@google.com2011-06-011-16/+27
| | | | | | | | | | | | | BUG= TEST=Host plugin loads and doesn't mysteriously crash trying to call into VPX when a connection is first made. Review URL: http://codereview.chromium.org/7065026 TBR=wez@chromium.org Review URL: http://codereview.chromium.org/7108002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87543 0039d316-1c4b-4281-b951-d872f2087c98
* Statically link VPX into the Host Plugin.wez@chromium.org2011-06-011-27/+16
| | | | | | | | | | BUG= TEST=Host plugin loads and doesn't mysteriously crash trying to call into VPX when a connection is first made. Review URL: http://codereview.chromium.org/7065026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87534 0039d316-1c4b-4281-b951-d872f2087c98
* Initial curtain mode implementation.jamiewalch@google.com2011-05-318-54/+135
| | | | | | | | | BUG= TEST= Review URL: http://codereview.chromium.org/6849027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87350 0039d316-1c4b-4281-b951-d872f2087c98
* Move media library AutoTaskRunner to base and rename ScopedTaskRunner.wez@chromium.org2011-05-275-24/+18
| | | | | | | | | | | | | | This is needed to avoid faux dependencies on media/ creeping in to remoting/ code, and creating linker issues. BUG= TEST=Everything works as before. Shared component builds certainly don't break. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=86971 (Reverted - broke shared builds) Review URL: http://codereview.chromium.org/7062013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87068 0039d316-1c4b-4281-b951-d872f2087c98
* 1;2305;0cRevert 86971 - Move media library AutoTaskRunner to base and rename ↵wez@chromium.org2011-05-275-18/+24
| | | | | | | | | | | | | | | | | ScopedTaskRunner. This is needed to avoid faux dependencies on media/ creeping in to remoting/ code, and creating linker issues. BUG= TEST=Everything works as before. Review URL: http://codereview.chromium.org/7062013 TBR=wez@chromium.org Review URL: http://codereview.chromium.org/7062042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86972 0039d316-1c4b-4281-b951-d872f2087c98
* Move media library AutoTaskRunner to base and rename ScopedTaskRunner.wez@chromium.org2011-05-275-24/+18
| | | | | | | | | | | | This is needed to avoid faux dependencies on media/ creeping in to remoting/ code, and creating linker issues. BUG= TEST=Everything works as before. Review URL: http://codereview.chromium.org/7062013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86971 0039d316-1c4b-4281-b951-d872f2087c98
* Wire in OAuth2 support into non-sandboxed connections in libjingle.ajwong@chromium.org2011-05-255-7/+30
| | | | | | | | | BUG=none TEST=can connect w/o ClientLogin token. Review URL: http://codereview.chromium.org/7008003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86685 0039d316-1c4b-4281-b951-d872f2087c98
* Virtual destructors should have virtual keyword.hans@chromium.org2011-05-252-2/+2
| | | | | | | | | | | | | | | | | Make sure user-declared virtual destructors always have the virtual keyword. The Clang style-check plugin will check for this soon. No functionality change: virtual is only added to destructors that are already implicitly virtual. Also fix a couple of in-line destructor definitions. BUG=83408 TEST=none Review URL: http://codereview.chromium.org/7064033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86587 0039d316-1c4b-4281-b951-d872f2087c98
* Negotiate Mac event and drawing model supportdmaclach@chromium.org2011-05-241-0/+38
| | | | | | | | | | | This will help performance on our main thread, and will future proof us. BUG=NONE TEST=BUILD Review URL: http://codereview.chromium.org/6992033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86478 0039d316-1c4b-4281-b951-d872f2087c98
* Fix InvalidateFullScreen() for the full-screen-polling case.lambroslambrou@chromium.org2011-05-231-0/+1
| | | | | | | | | BUG=83640 TEST=Manual Review URL: http://codereview.chromium.org/6992007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86354 0039d316-1c4b-4281-b951-d872f2087c98
* Temporarily add media library initialization.wez@chromium.org2011-05-231-0/+30
| | | | | | | | | BUG= TEST=Host plugin doesn't crash when started. Review URL: http://codereview.chromium.org/6961043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86353 0039d316-1c4b-4281-b951-d872f2087c98
* Don't use letters in me2mom access code.sergeyu@chromium.org2011-05-211-6/+3
| | | | | | | | | | BUG=None TEST=None Review URL: http://codereview.chromium.org/7048020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86187 0039d316-1c4b-4281-b951-d872f2087c98
* Fix use of SupportAccessVerifier in Host plugin.wez@chromium.org2011-05-201-16/+23
| | | | | | | | | | BUG= TEST=Host plugin accepts connection if Access Code supplied to Viewer is valid. Review URL: http://codereview.chromium.org/7004046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86170 0039d316-1c4b-4281-b951-d872f2087c98
* Fix +/- keys on Mac remoting host.lambroslambrou@chromium.org2011-05-201-2/+2
| | | | | | | | | | BUG=83320 TEST=Manual Review URL: http://codereview.chromium.org/7057011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86131 0039d316-1c4b-4281-b951-d872f2087c98
* fix up mac simple hostdmaclach@chromium.org2011-05-201-1/+2
| | | | | | | | | | | | Mac simple host wasn't doing screen captures because the os runloop wasn't being spun. BUG=NONE TEST=Use simple host on mac. Review URL: http://codereview.chromium.org/7057013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86126 0039d316-1c4b-4281-b951-d872f2087c98
* Move the call to ChromotingHost::Start to the right place.wez@chromium.org2011-05-201-6/+5
| | | | | | | | | | BUG= TEST=Run the Remoting WebApp for Sharing. When you click the button it should print an Access Code. Review URL: http://codereview.chromium.org/7051018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86027 0039d316-1c4b-4281-b951-d872f2087c98
* Move scoped_temp_dir and scoped_native_library back from base/memory to base.thakis@chromium.org2011-05-192-2/+2
| | | | | | | | | | | It looks like they got moved accidentally in http://codereview.chromium.org/6714032 BUG=none TEST=none Review URL: http://codereview.chromium.org/7048007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86010 0039d316-1c4b-4281-b951-d872f2087c98
* Remove local login prompt for me2mom.jamiewalch@chromium.org2011-05-195-10/+48
| | | | | | | | | BUG=None TEST=Verify that the webapp does not prompt for a local login when using the --me2mom flag (but that chromoting.googleplex still does when not using that flag). Review URL: http://codereview.chromium.org/7034041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85955 0039d316-1c4b-4281-b951-d872f2087c98
* Disable DAMAGE and do full-screen polling in Linux capturer.lambroslambrou@chromium.org2011-05-191-5/+19
| | | | | | | | | BUG=None TEST=Enable Desktop Effects, verify capturer now works. Review URL: http://codereview.chromium.org/7045011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85851 0039d316-1c4b-4281-b951-d872f2087c98
* Add XFlush calls to fix event injection.lambroslambrou@chromium.org2011-05-191-0/+3
| | | | | | | | | BUG=None TEST=Event injection works for remoting_simple_host Review URL: http://codereview.chromium.org/7029047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85848 0039d316-1c4b-4281-b951-d872f2087c98
* Plumb the Remoting Host into the Host NPAPI plugin.wez@chromium.org2011-05-181-70/+132
| | | | | | | | | | BUG= TEST=Run the Me2Mom web-app, click Start Sharing, and see Host output on the console. Review URL: http://codereview.chromium.org/7036026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85793 0039d316-1c4b-4281-b951-d872f2087c98
* Calculate invalid rectangles for full-screen polling on Linux.lambroslambrou@chromium.org2011-05-181-7/+30
| | | | | | | | | | | | Optimize the non-DAMAGE case by calculating invalid rectangles based on differences from previous capture. BUG=None TEST=Manual Review URL: http://codereview.chromium.org/7037003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85770 0039d316-1c4b-4281-b951-d872f2087c98
* Cope with OnSignallingDisconnected without preceding OnSignallingConnected.wez@chromium.org2011-05-181-0/+8
| | | | | | | | | | BUG= TEST=Run a Debug build of remoting_simple_host with an invalid XMPP token, and verify that the DCHECK_EQ in OnSignallingDisconnected does not fire when the connection fails. Review URL: http://codereview.chromium.org/6975036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85741 0039d316-1c4b-4281-b951-d872f2087c98
* Make the UI-integration thread a non-UI thread in the Chrome sense.wez@chromium.org2011-05-189-35/+37
| | | | | | | | | | BUG= TEST=remoting_simple_host should continue to work after this change is applied. Review URL: http://codereview.chromium.org/6975035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85738 0039d316-1c4b-4281-b951-d872f2087c98
* Cleaned up access-code printing.jamiewalch@chromium.org2011-05-175-32/+34
| | | | | | | | | | BUG=None TEST=Manual Review URL: http://codereview.chromium.org/7029013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85675 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor Linux capturer.lambroslambrou@chromium.org2011-05-171-59/+100
| | | | | | | | | | | | | This is in preparation for adding the Differ class to compute the invalid rects in the non-DAMAGE case (fullscreen polling). I've renamed CalculateInvalidRects() to ProcessPendingXEvents(), as it doesn't actually calculate any rects in the non-DAMAGE case. BUG=None TEST=Manual Review URL: http://codereview.chromium.org/6969081 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85584 0039d316-1c4b-4281-b951-d872f2087c98
* Store (and check) support id in SupportAccessVerifier.jamiewalch@chromium.org2011-05-163-12/+30
| | | | | | | | | BUG=None TEST=Manual Review URL: http://codereview.chromium.org/7013065 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85492 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the Remoting Host plugin to be compatible with NPAPI on Linux.wez@chromium.org2011-05-141-13/+26
| | | | | | | | | | BUG= TEST=Remoting Host Web App's "Start Sharing" button causes a support-Id to be displayed. Review URL: http://codereview.chromium.org/6973046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85371 0039d316-1c4b-4281-b951-d872f2087c98
* Fix web-app nomenclature.jamiewalch@chromium.org2011-05-144-18/+23
| | | | | | | | | BUG= TEST= Review URL: http://codereview.chromium.org/7021010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85355 0039d316-1c4b-4281-b951-d872f2087c98
* Do full-screen polling if X server does not support DAMAGE.lambroslambrou@chromium.org2011-05-131-16/+32
| | | | | | | | | | | | | | | | | | | | | | | | | Not optimized yet - need to detect when the screen image is unchanged and avoid passing it to the encoder (as in the Windows implementation). BUG=None TEST=Manual To test: Switch VT (Ctrl-Alt-F2) and run startx -- :1 -extension DAMAGE Run chromoting_simple_host from there, and connect to it. Verify that changing screen resolution works. Also stress the X Server with x11perf -time 99999 -osrect 500 and repeat the screen-resolution test. Review URL: http://codereview.chromium.org/7012025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85282 0039d316-1c4b-4281-b951-d872f2087c98
* Fix up memory leak in remoting host tests.dmaclach@chromium.org2011-05-133-10/+15
| | | | | | | | | | | | | Adds comments about some of the ownership issues. BUG=75020 TEST=BUILD Review URL: http://codereview.chromium.org/7016025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85226 0039d316-1c4b-4281-b951-d872f2087c98