summaryrefslogtreecommitdiffstats
path: root/remoting
Commit message (Collapse)AuthorAgeFilesLines
* Normalize the top-level ui/ module.rsesek@chromium.org2011-03-181-2/+2
| | | | | | | | | | | | | | | | This CL creates four .gypi files that are included in /ui/ui.gyp. This allows for a single unittest binary for all the submodules, rather than having individual unittest binaries for each submodule. To not break the buildbot, this creates a fake target that copies ui_unittests to gfx_unittests as temporary scaffolding. BUG=72317 TEST=gfx_unittests (really ui_unittests) passes Review URL: http://codereview.chromium.org/6688007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78711 0039d316-1c4b-4281-b951-d872f2087c98
* Improve AlignRect() readability, and handle bad rectangles more gracefully ↵lambroslambrou@chromium.org2011-03-173-19/+60
| | | | | | | | | | | | | (without crashing in gfx::Rect ctor). Also fix cpplint nit. BUG=74809 TEST=Follow repro steps of bug. Review URL: http://codereview.chromium.org/6628051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78541 0039d316-1c4b-4281-b951-d872f2087c98
* Move core renderer subdirectories to content.jam@chromium.org2011-03-162-3/+3
| | | | | | | TBR=avi Review URL: http://codereview.chromium.org/6673090 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78422 0039d316-1c4b-4281-b951-d872f2087c98
* Fix leak in HeartbeatSenderTest.DoSendStanza and remove valgrind suppression.lambroslambrou@chromium.org2011-03-151-0/+17
| | | | | | | | | BUG=74850 TEST=Valgrind bots stay green. Review URL: http://codereview.chromium.org/6624095 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78205 0039d316-1c4b-4281-b951-d872f2087c98
* Use deprecated mouse API that actually works.jamiewalch@chromium.org2011-03-152-37/+32
| | | | | | | | | BUG= TEST=Use the mouse to double-click or drag something. Review URL: http://codereview.chromium.org/6627077 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78191 0039d316-1c4b-4281-b951-d872f2087c98
* Fix building gfx_unittests and remoting_unittests in linux dbg-shlib, this ↵sadrul@chromium.org2011-03-151-1/+1
| | | | | | | | | | | | | time, without breaking Mac. BUG=none TEST=gfx_unittests, remoting_unittests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=78161 Review URL: http://codereview.chromium.org/6695015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78164 0039d316-1c4b-4281-b951-d872f2087c98
* Fix building gfx_unittests and remoting_unittests in linux dbg-shlib.sadrul@chromium.org2011-03-151-0/+1
| | | | | | | | | BUG=none TEST=gfx_unittests, remoting_unittests Review URL: http://codereview.chromium.org/6695015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78161 0039d316-1c4b-4281-b951-d872f2087c98
* Code cleanup related to allowed_bad_certs.wtc@chromium.org2011-03-141-1/+2
| | | | | | | | | | | | | | | | cert_status is a bitwise-OR of CERT_STATUS_xxx, not ERR_CERT_xxx. Initialize a CertAndStatus structure after checking it is needed. Fix a typo in comments. R=hclam BUG=none TEST=none Review URL: http://codereview.chromium.org/6677022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78123 0039d316-1c4b-4281-b951-d872f2087c98
* Chromoting plugin to use a backing storehclam@google.com2011-03-142-15/+26
| | | | | | | | | | | | | Create a backing store for painting image data through the lifetime of the plugin instance. This avoids memory fragmentation of creating small blocks of memory every time it paints. BUG=71885 TEST=None Review URL: http://codereview.chromium.org/6661008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78085 0039d316-1c4b-4281-b951-d872f2087c98
* Clear authenticated state on client disconnection.lambroslambrou@chromium.org2011-03-147-0/+40
| | | | | | | | | BUG=75553 TEST=Connect client to host, disconnect then connect again (after 2 minutes). Review URL: http://codereview.chromium.org/6684006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78046 0039d316-1c4b-4281-b951-d872f2087c98
* Invalidate the entire screen after registering for refresh callbacks.jamiewalch@chromium.org2011-03-112-8/+41
| | | | | | | | | BUG= TEST=Make a chromoting connection to a Mac host and verify that the full screen is initially visible. Connect sooner rather than later, otherwise it's likely that the full screen would have been visible even without this fix. Review URL: http://codereview.chromium.org/6651024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77808 0039d316-1c4b-4281-b951-d872f2087c98
* Tidy up after CL 6573005.simonmorris@chromium.org2011-03-1019-114/+85
| | | | | | | | | | | | Replace width/height pairs with gfx::Size objects. Avoid overloading Capturer::InvalidateFullScreen. BUG=none TEST=none Review URL: http://codereview.chromium.org/6635039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77625 0039d316-1c4b-4281-b951-d872f2087c98
* Inject custom NetworkManager to JingelClienthclam@google.com2011-03-091-0/+2
| | | | | | | | | | | This will enable using p2papi in the renderer by chromoting client. BUG=None TEST=None Review URL: http://codereview.chromium.org/6660005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77540 0039d316-1c4b-4281-b951-d872f2087c98
* Added support for other authentication mechanisms in jingle. This will allow ↵sanjeevr@chromium.org2011-03-091-2/+5
| | | | | | | | | | | us to use OAuth2 tokens when OAuth2 support is ready in Talk. BUG=None TEST=Test cloud print and sync for regressions. Review URL: http://codereview.chromium.org/6649006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77434 0039d316-1c4b-4281-b951-d872f2087c98
* Fix handling of invalid certificates in JingleSessionManager.sergeyu@chromium.org2011-03-081-1/+4
| | | | | | | | | BUG=None TEST=None Review URL: http://codereview.chromium.org/6649005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77359 0039d316-1c4b-4281-b951-d872f2087c98
* Tweak CSS to give the client scrollbars.simonmorris@chromium.org2011-03-081-2/+1
| | | | | | | | | | | | The horizontal scrollbar is attached to the plugin, not to the page, so it's only visible if the page is scrolled to the bottom. BUG=74681 TEST=none Review URL: http://codereview.chromium.org/6628080 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77304 0039d316-1c4b-4281-b951-d872f2087c98
* Replace libjingle's HttpPortAllocatorSession with Pepper's http clienthclam@google.com2011-03-0818-15/+575
| | | | | | | | | | | | | | | | | HttpPortAllocatorSession uses libjingle's http client to establish relay connection. This will not work in the sanboxed case since it access OS level of network directly. This patch replaces the http client with URL loader in pepper. This goes through the standard URL fetching system for chrome to get around the sandbox problem. BUG=51198 TEST=Force libjingle to use relay and try it with this code. Review URL: http://codereview.chromium.org/6623048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77218 0039d316-1c4b-4281-b951-d872f2087c98
* Chromoting client don't submit login info if not connectedhclam@chromium.org2011-03-073-6/+30
| | | | | | | | | | | Chromoting client was crashing if it sends login info when not connected. BUG=None TEST=None Review URL: http://codereview.chromium.org/6621046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77190 0039d316-1c4b-4281-b951-d872f2087c98
* Configure Nagle's & Delayed ACK settings for Chromoting channels.wez@chromium.org2011-03-071-0/+13
| | | | | | | | | BUG=74944 TEST=See bug description. Review URL: http://codereview.chromium.org/6621027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77167 0039d316-1c4b-4281-b951-d872f2087c98
* Support keyboard input on Macjamiewalch@chromium.org2011-03-072-4/+203
| | | | | | | | | BUG= TEST= Review URL: http://codereview.chromium.org/6610024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77155 0039d316-1c4b-4281-b951-d872f2087c98
* Wire up the codepath from Javascript into Jingle for IQ packets.ajwong@chromium.org2011-03-0722-429/+806
| | | | | | | | | | | Flushes out XmppProxy, the thread-safe interface that matches up Pepper with Jingle and plumbs a ConnectSandboxed method through everything so that the connection type can be chosen at runtime. BUG=51198 TEST=Check that stanzas are sent/received from JS, and that xmpp still works. Review URL: http://codereview.chromium.org/6603036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77148 0039d316-1c4b-4281-b951-d872f2087c98
* Override HttpPortAllocator to inject a custom HTTP clienthclam@chromium.org2011-03-074-3/+68
| | | | | | | | | | | | This allows us to use a chrome / pepper HTTP client for HttpPortAllocator. BUG=51198 TEST=None Review URL: http://codereview.chromium.org/6624030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77147 0039d316-1c4b-4281-b951-d872f2087c98
* Added missing commas. Fixed lint warnings.jamiewalch@chromium.org2011-03-071-15/+15
| | | | | | | | | BUG=None TEST=Check that square brackets can be entered via Chromoting. Review URL: http://codereview.chromium.org/6623054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77143 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the CSS class of the plugin scroll panel.simonmorris@chromium.org2011-03-071-1/+1
| | | | | | | | | BUG=74681 TEST=none Review URL: http://codereview.chromium.org/6625016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77127 0039d316-1c4b-4281-b951-d872f2087c98
* Linux capturer to invalidate the full screen by using screen width and heighthclam@chromium.org2011-03-073-3/+11
| | | | | | | | | | | | | Linux capturer didn't use the right width and height to invalidate the screen region for capturing. Leading to a NULL pointer exception when doing a XGetImage() on an empty rect. BUG=None TEST=Linux host doesn't crash Review URL: http://codereview.chromium.org/6627025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77114 0039d316-1c4b-4281-b951-d872f2087c98
* JingleClient to successfully connect more consistentlyhclam@chromium.org2011-03-072-0/+3
| | | | | | | | | | | | | ajwong@ already put code to prevent the race condition however the variable is not initialized in the constructors, this is fixed in this patch. TBR=ajwong BUG=74941 TEST=chromoting_simple_host starts without crashing Review URL: http://codereview.chromium.org/6624051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77113 0039d316-1c4b-4281-b951-d872f2087c98
* Block event processing on host/client until the client has authenticated.garykac@chromium.org2011-03-0420-61/+304
| | | | | | | | | | | | | | | | | | Input events: * Client will not send them * Host will not process them Control events: * Client will only process BeginSessionResponse * Host will only process BeginSessionRequest All other control messages will be ignored. BUG=72466 TEST=manual+tests Review URL: http://codereview.chromium.org/6594138 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76974 0039d316-1c4b-4281-b951-d872f2087c98
* Integrate P2P Sockets IPC with chromoting plugin.sergeyu@chromium.org2011-03-048-14/+96
| | | | | | | | | BUG=None TEST=None Review URL: http://codereview.chromium.org/6624020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76964 0039d316-1c4b-4281-b951-d872f2087c98
* Change other usages of .size() to .empty() when applicable.erg@google.com2011-03-043-6/+6
| | | | | | | | | BUG=carnitas TEST=compiles Review URL: http://codereview.chromium.org/6609008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76962 0039d316-1c4b-4281-b951-d872f2087c98
* Don't translate dirty rectangles in Mac capturer.lambroslambrou@chromium.org2011-03-041-4/+1
| | | | | | | | | BUG=74809 TEST=Follow repro steps in bug report Review URL: http://codereview.chromium.org/6631003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76939 0039d316-1c4b-4281-b951-d872f2087c98
* Switch to new libjingle branch.sergeyu@chromium.org2011-03-044-5/+19
| | | | | | | | | BUG=None TEST=Compiles, Unittests Review URL: http://codereview.chromium.org/6626010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76913 0039d316-1c4b-4281-b951-d872f2087c98
* Let the host change resolution.simonmorris@chromium.org2011-03-0432-216/+399
| | | | | | | | | | | | | | | | The screen size flows through the video pipeline, instead of being set statically when that pipeline is constructed. Only the Windows host actually detects when the screen size has changed. BUG=72469 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=76747 Review URL: http://codereview.chromium.org/6573005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76908 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the need for ReplayPortAllocator.ajwong@chromium.org2011-03-046-109/+95
| | | | | | | | | BUG=none TEST=still connects. Review URL: http://codereview.chromium.org/6603003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76849 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: roll ffmpeg and vpx so that we can build with system vpxphajdan.jr@chromium.org2011-03-032-6/+2
| | | | | | | | | | | | | | Also change remoting files to use libvpx shim header. This is upstreaming Gentoo Linux changes. TBR=scherkus TEST=none BUG=none Review URL: http://codereview.chromium.org/6588123 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76757 0039d316-1c4b-4281-b951-d872f2087c98
* Clang style fix for r76746.ajwong@chromium.org2011-03-033-7/+11
| | | | | | | | | BUG=none TEST=clang bot. Review URL: http://codereview.chromium.org/6611018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76749 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 76747 - Let the host change resolution.simonmorris@chromium.org2011-03-0331-397/+214
| | | | | | | | | | | | | | | | | The screen size flows through the video pipeline, instead of being set statically when that pipeline is constructed. Only the Windows host actually detects when the screen size has changed. BUG=72469 TEST=none Review URL: http://codereview.chromium.org/6573005 TBR=simonmorris@chromium.org Review URL: http://codereview.chromium.org/6610018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76748 0039d316-1c4b-4281-b951-d872f2087c98
* Let the host change resolution.simonmorris@chromium.org2011-03-0331-214/+397
| | | | | | | | | | | | | | The screen size flows through the video pipeline, instead of being set statically when that pipeline is constructed. Only the Windows host actually detects when the screen size has changed. BUG=72469 TEST=none Review URL: http://codereview.chromium.org/6573005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76747 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor JingleClient to support thunking the xmpp signaling into Javascript.ajwong@chromium.org2011-03-0317-237/+619
| | | | | | | | | | | We do this so that we may make HTTP requests using the javascript libraries available to Google Talk. This is required to allow us to sandbox. BUG=none TEST=none Review URL: http://codereview.chromium.org/6597092 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76746 0039d316-1c4b-4281-b951-d872f2087c98
* Local Login on Mac, using OS X Security frameworklambroslambrou@chromium.org2011-03-033-4/+91
| | | | | | | | | BUG=None TEST=Connect to Mac host, and try correct or incorrect username/password for Local Login. Review URL: http://codereview.chromium.org/6605001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76739 0039d316-1c4b-4281-b951-d872f2087c98
* Fix up mac capturer to flip image.dmaclach@chromium.org2011-03-032-6/+18
| | | | | | | | | BUG=74078 TEST=Connect to a mac host. Image should come right side up. Review URL: http://codereview.chromium.org/6610007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76713 0039d316-1c4b-4281-b951-d872f2087c98
* fix up exec bitsdmaclach@chromium.org2011-03-023-0/+0
| | | | | | | | | BUG=NONE TEST=Build Review URL: http://codereview.chromium.org/6591123/ git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76645 0039d316-1c4b-4281-b951-d872f2087c98
* SocketWrapper for interfacing between JingleSession and SSL socketshclam@chromium.org2011-03-026-17/+129
| | | | | | | | | | | | | | | | Remoting code allows sockets to be destroyed on threads other than the network thread, although they are only accessed on network thread. If SSL sockets are destroyed too early some remotings objects will crash accessing them. This patch introduces a SocketWrapper that destroys SSL sockets on the network thread but stay alive so that remoting objects can operate safely. BUG=72670 TEST=None Review URL: http://codereview.chromium.org/6525007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76635 0039d316-1c4b-4281-b951-d872f2087c98
* Fix up mac test client and simple host for remoting.dmaclach@chromium.org2011-03-023-0/+14
| | | | | | | | | | | | | Remoting's test client and simple host weren't initializing the NSApplication correctly which is required for MessageLoops to work on the Mac. These are just test apps that we use, so I felt it was ok to bring in code from base/test. Also added a check to message_pump_mac.mm to verify that NSApp is initialized before we attempt to use it. BUG=NONE TEST=BUILD Review URL: http://codereview.chromium.org/6461023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76624 0039d316-1c4b-4281-b951-d872f2087c98
* Cleans up some of the appengine ui to make it prettier.dmaclach@chromium.org2011-03-027-245/+2375
| | | | | | | | | | | Also fixes the "show offline servers" checkbox. BUG=NONE TEST=Bring up appengine UI and make sure the show offline servers checkbox works correctly. Review URL: http://codereview.chromium.org/6588107 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76620 0039d316-1c4b-4281-b951-d872f2087c98
* More logs from chromoting pepper clienthclam@chromium.org2011-03-021-8/+16
| | | | | | | | | | | Adding connection info, desktop size and progress of logging in. BUG=71630 TEST=None Review URL: http://codereview.chromium.org/6588103 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76493 0039d316-1c4b-4281-b951-d872f2087c98
* Change the chromoting plugin login interfacehclam@chromium.org2011-03-023-42/+15
| | | | | | | | | | | Provide the info string to the callback instead of through an attribute. BUG=71630 TEST=None Review URL: http://codereview.chromium.org/6598079 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76492 0039d316-1c4b-4281-b951-d872f2087c98
* Pure pedantry: Replace all ".size() == 0" with ".empty()".erg@google.com2011-03-021-1/+1
| | | | | | | | | BUG=carnitas TEST=compiles; existing unit tests. Review URL: http://codereview.chromium.org/6602049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76467 0039d316-1c4b-4281-b951-d872f2087c98
* Quick fix for chromoting plugni to connect.hclam@chromium.org2011-03-011-1/+1
| | | | | | | | | | | | I missed replace a valid AsString() vall to DebugString(). TBR=ajwong@chromium.org BUG=None TEST=None Review URL: http://codereview.chromium.org/6588099 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76462 0039d316-1c4b-4281-b951-d872f2087c98
* Chromoting client plugin use DebugString() instead of AsString()hclam@chromium.org2011-03-011-7/+7
| | | | | | | | | | | | For logging fatal problems we should use DebugString() instead of AsString() to interpret exception. BUG=74575 TEST=No crashing for using chromoting Review URL: http://codereview.chromium.org/6594085 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76454 0039d316-1c4b-4281-b951-d872f2087c98
* Update comment to include relevant bug Id.wez@chromium.org2011-03-011-1/+1
| | | | | | | | | BUG= TEST= Review URL: http://codereview.chromium.org/6594078 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76416 0039d316-1c4b-4281-b951-d872f2087c98