| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
WCS needs to be initialized after client plugin because before
the plugin is loaded it's not known if it will support XMPP.
Also moved WCS access token refresh timer to WcsSandboxContainer.
BUG=274652
R=jamiewalch@chromium.org
Review URL: https://codereview.chromium.org/23332016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@219366 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
1. remoting.Error is used now to return errors from remoting.ClientSession.
2. Hid ClientSession members that were previously exposed.
3. Reordered parameters in the constructor
Review URL: https://chromiumcodereview.appspot.com/22926019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@219229 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
For apps v2, the default, "no scroll-bar" behaviour is overridden until a connection to the host is made.
For both apps v1 and apps v2, the in-session behaviour is corrected to work-around crbug.com/240772
BUG=252796,240772
Review URL: https://chromiumcodereview.appspot.com/22006002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@215705 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
This is needed because the only UI we provide for doing this is in the tool-bar, which disappears on disconnect.
BUG=263215
Review URL: https://chromiumcodereview.appspot.com/21142002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@214716 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
The initial shrink-to-fit state is set early in the connection process, before
the UI switches to session mode, hence the no-scroll style was not being applied
initially. This CL sets it explicitly once connection is complete.
BUG=252796,257089
Review URL: https://chromiumcodereview.appspot.com/19729015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212554 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=252796
Review URL: https://chromiumcodereview.appspot.com/17627003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208409 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
This works around a bug in Chrome whereby scroll-bars are added unnecessarily.
BUG=252796,240772
Review URL: https://chromiumcodereview.appspot.com/17288017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207935 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=239008
Review URL: https://chromiumcodereview.appspot.com/16796003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205734 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Also, make the client-side rate-limiting more granular. This means that the
desktop resizes sooner after the user stops resizing the window.
BUG=187272
Review URL: https://chromiumcodereview.appspot.com/15927033
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205093 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the host. Specifically:
* Adds a pairing registry to the Chromoting host.
* Checks the state of the "remember me" checkbox and sends a pairing request if needed.
* Adds the plumbing to get that request to host, and to get the response back to the web-app.
* Saves the pairing response to local storage, and uses it next time we connect.
* Uses Base64 throughout for the secret, since unencoded random strings can't be serialized via PPAPI.
Note that pairing is still disabled because we're still missing per-platform Delegate implementations, a UI for revoking pairings, and policy support for disabling the feature.
BUG=156182
Review URL: https://chromiumcodereview.appspot.com/16137004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203865 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
supports pairing.
Currently this checkbox does nothing. The next CL will add code to request
pairing if it was checked.
BUG=156182
Review URL: https://chromiumcodereview.appspot.com/15685008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202001 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
R=rmsousa@chromium.org
Review URL: https://codereview.chromium.org/14273039
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@196887 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This uses an OAuth flow on the server to fetch the token and shared secret. There are two implementations for this:
* The current one manually opens a tab and asks for a redirect to a blank page in talkgadget, which we content-script to sendmessage the token/secret back to the extension (fairly similar to our OAuth trampoline)
* Once we're running on appsv2, and identity is out of experimental, we can use launchWebAuthFlow to do this.
This includes an interstitial to ask for an optional permission to the given host. The window.open method doesn't actually need this, but the identity API one does, so I thought I'd leave it in to make its behavior match closely the one of the identity API, which is the one we'll use in the future.
Most of the code is shared between these two versions, the only different pieces are the mechanics to open the window/launchWebFlow, and to send the redirectedUrl back to the webapp for parsing.
BUG=115899
Review URL: https://chromiumcodereview.appspot.com/12905012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@196580 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
if it is available.
Changes in this CL:
- The version of the control channel is increased to 3. This allows the host and client to tell if the peer supports capabilities negotiation or not.
- The client and host negotiate supported capabilities by sending each other a list of the supported capabilities. Capabilities supported by both client and host are assumed to be enabled.
- The client plugin and webapp negotiate the list of capabilities supported by the client. The webapp has the final word.
- The DesktopEnvironment interface was extended to provide the list of all supported capabilities and receive the results of negotiation with the client.
- Added the 'sendInitialResolution' capability. When it is enabled the client sends its screen resolution to the host once the connection has been established.
- DesktopSessionProxy now waits for the client screen resolution when the 'sendInitialResolution' capability is enabled.
BUG=230893
Review URL: https://chromiumcodereview.appspot.com/13932020
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195192 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This adds remoting.ClientSession.setRemapKeys(mapping) which takes a comma-separated list of USB-style key code remappings, e.g:
remoting.ClientSession.setRemapKeys("0x0700e4>0x0700e7")
will remap right-Ctrl to behave as right-OSKey.
BUG=222970
Review URL: https://chromiumcodereview.appspot.com/13150002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192357 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
This improves responsiveness and also means that the v2 app now works for more
then one connection without needing to be reloaded explicitly.
BUG=134213
Review URL: https://chromiumcodereview.appspot.com/13191012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191768 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This implements a fetchPin interface, that can be called when the plugin layer needs a PIN, and calls onPinFetched with the PIN once it's obtained from the user.
With old plugins, that don't support the useAsyncPinDialog API, this runs the dialog immediately before connecting, and then connects using the existing APIs.
Finally, for It2Me nothing is changed, the support code is used as the passphrase as usual.
BUG=115899
Review URL: https://chromiumcodereview.appspot.com/12867004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190207 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=179956
Review URL: https://chromiumcodereview.appspot.com/12795003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188990 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=180120
Review URL: https://chromiumcodereview.appspot.com/12793005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188020 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There were a couple of underlying problems:
1. The user-visible string for NETWORK_FAILED was very host specific. I changed
it to be more generic and added a new NAT_TRAVERSAL_DISABLED error for that
case. Note that there may be non-NAT-related situations that would cause the
same error condition, so it's not 100% accurate. I've also gotten rid of the
NO_RESPONSE error, which was serving the same purpose as NETWORK_FAILED, but
with less helpful language.
2. The cached host-list was being cleared in case of errors, so the web-app
was unable to display the name of the local host.
BUG=175241
Review URL: https://chromiumcodereview.appspot.com/12374053
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@185716 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=172404
Review URL: https://chromiumcodereview.appspot.com/12207099
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181987 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
client_screen.js is a bit of a mixed bag of functions with only a loose
common theme. This CL pulls out the largest single feature, connection setup,
into a separate class, eliminating lots of global state as a result.
As a side-effect, it speeds up connections by parallelizing the WCS driver load
and fixes the referenced bugs.
BUG=173788,174113
Review URL: https://chromiumcodereview.appspot.com/12177003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181187 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=170285
Review URL: https://chromiumcodereview.appspot.com/12211003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180918 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This involves the following:
1. Removing chrome extension API calls from wcs.js and wcs_loader.js.
2. Moving those files into a separate <iframe> sandbox.
3. Adding a postMessage-based API to communicate with the rest of the code.
4. Working around miscellaneous sandbox restrictions.
BUG=134213
Review URL: https://chromiumcodereview.appspot.com/12021029
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179413 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When configured to display a host at its original size, we aim to display
it as close to its physical size as possible, without losing data:
- If client and host have matching DPI, render the host pixel-for-pixel.
- If the host has higher DPI then still render pixel-for-pixel.
- If the host has lower DPI then let Chrome up-scale it to natural size.
If scale-to-fit is in effect then the scale may be further lowered to
fit the whole host desktop in the client window.
BUG=135089
TEST=Connect between combinations of high-DPI and low-DPI clients and hosts and verify that the behaviour is as described above for each case, in both Original Size and Shrink To Fit modes.
Review URL: https://chromiumcodereview.appspot.com/12035112
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179272 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Signaling endpoint used by chromoting doesn't always handle correctly the
case when host and client use the same stanza ID's. Workaround this issue
by adding 'x' prefix to all messages that go from client to host.
This is the same change as in crrev.com/160330 . That CL was reverted
because it was believed that the original bug was fixed.
BUG=168617
Review URL: https://chromiumcodereview.appspot.com/11926031
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177892 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Off by default (on all platforms) but saved between connections.
BUG=157254
Review URL: https://chromiumcodereview.appspot.com/11886007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177306 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Removed unused access token parameters.
* Removed email address parameters.
* Removed unnecessary NULL checks for tokens.
* Removed duplicate enum.
BUG=None
Review URL: https://codereview.chromium.org/11446049
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@171629 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
succeeds.
BUG=112150
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/11412229
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170395 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Scaling a multi-monitor desktop to fit a single-monitor client ("scale-to-fit")
results in the desktop being letter-boxed, leaving much of the client area
unused. In this case the client now prefers to scale to fit the smaller host
dimension, and have the user pan to see other parts of the host desktop
("scale-and-pan").
Scale-and-pan is used only in full-screen mode, when the client dimensions match
those of a client device monitor, and bump-scrolling can be used to pan around.
Scale-and-pan will be used when less than 65% of the client area would be
occupied by the desktop if we were to scale-to-fit. For example:
C: 1280x800 H: 1280x1024 -> scale-to-fit
C: 1280x800 H: (2x1280)x1024 -> scale-and-pan (horizontal)
C: 1280x1024 H: 1600x1200 -> scale-to-fit
C: 1600x1200 H: 1280x(2x1024) -> scale-and-pan (vertical)
BUG=145709
Review URL: https://chromiumcodereview.appspot.com/11369023
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165515 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=
Review URL: https://chromiumcodereview.appspot.com/11192042
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@162637 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
The fix was crrev.com/160330. The related server-side bug is now fixed.
BUG=154174
Review URL: https://chromiumcodereview.appspot.com/11154016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@162008 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Signaling endpoint used by chromoting doesn't always handle correctly the
case when host and client use the same stanza ID's. Workaround this issue
by adding 'x' prefix to all messages that go from client to host.
BUG=154174
Review URL: https://chromiumcodereview.appspot.com/11036050
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160330 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=145049
Review URL: https://chromiumcodereview.appspot.com/10956004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157842 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
The typo prevents release events being sent, leaving keys temporarily "stuck".
BUG=149980
Review URL: https://chromiumcodereview.appspot.com/10933132
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157208 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=144550
TEST=Manual: linux-(linux, mac) me2me, linux-linux it2me.
Review URL: https://chromiumcodereview.appspot.com/10908026
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154534 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
cached host information or client device suspend.
BUG=139389
Review URL: https://chromiumcodereview.appspot.com/10825187
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150004 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Now screen is desaturated when we get notification that
video channel is not working.
BUG=131411
Review URL: https://chromiumcodereview.appspot.com/10692179
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147830 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=135089
TEST=
Review URL: https://chromiumcodereview.appspot.com/10801003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147605 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=132104
TEST=Manual
Review URL: https://chromiumcodereview.appspot.com/10537113
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141765 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=None
TEST=Manual
Review URL: https://chromiumcodereview.appspot.com/10542030
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140831 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=130335
TEST=Manual verification of web-app client functionality, and PyAuto tests.
Review URL: https://chromiumcodereview.appspot.com/10441105
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139843 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This CL cleans up some uses of the "var that = this" paradigm that can be more elegently and efficiently expressed using the |bind| function. Specifically:
var that = this;
f(function(x, y, z) { that.g(x, y, z); });
Is equivalent to:
f(this.g.bind(this));
The latter is shorter, doesn't need explicit JSDoc type annotation, and is more efficient (though I doubt we'll notice any speed-up).
I haven't changed the code to use |bind| where the situation is significantly more complex than the snippet shown above. In theory it would be possible, but I doubt the code would be more readable as a result.
BUG=None
TEST=Manual
Review URL: https://chromiumcodereview.appspot.com/10444041
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139355 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
buffer arrives.
A follow-up CL will make the pyauto test wait until the first video buffer
arrives before declaring that a connection has succeeded.
BUG=129791
Review URL: https://chromiumcodereview.appspot.com/10444035
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139131 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Without this, switching from "Original size" to "Shrink to fit" while in
content full-screen mode with a non-zero bump-scroll offset causes the scaled
desktop to be partially off-screen.
BUG=None
TEST=Manual
Review URL: https://chromiumcodereview.appspot.com/10386017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135739 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
On slow machines, 10ms is too short an interval for scrolling, making the
experience sluggish. This CL attempts to make the scroll speed roughly
independent of how late the timer fires.
BUG=None
TEST=Try out bump scrolling on a slow machine.
Review URL: https://chromiumcodereview.appspot.com/10353021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135234 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Actual pausing of video at the host side will be implemented in a follow-up CL.
BUG=107285
Review URL: http://codereview.chromium.org/10321003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135083 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=125031
TEST=Manual
Review URL: https://chromiumcodereview.appspot.com/10260022
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134926 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
This will be manually testable by checking for NotifyClientDimensions messages logged by hosts, once the host end logging is enabled.
DO NOT COMMIT THIS UNTIL CL 10262035 HAS LANDED.
BUG=110212
Review URL: http://codereview.chromium.org/10265033
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134846 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
We have since found a nicer way of implementing this that also works with click-to-play.
BUG=123852
TEST=Manual
Review URL: https://chromiumcodereview.appspot.com/10149002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133070 0039d316-1c4b-4281-b951-d872f2087c98
|