summaryrefslogtreecommitdiffstats
path: root/remoting/webapp/client_session.js
Commit message (Collapse)AuthorAgeFilesLines
* Move WCS initialization to ClientSessionsergeyu@chromium.org2013-08-231-26/+41
| | | | | | | | | | | | | 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
* Cleanups in remoting.ClientSessionsergeyu@chromium.org2013-08-231-168/+194
| | | | | | | | | | 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
* Fix scroll-bar behaviour.jamiewalch@chromium.org2013-08-051-7/+32
| | | | | | | | | | | | 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
* Leave full-screen mode on disconnect.jamiewalch@chromium.org2013-07-311-0/+5
| | | | | | | | | | 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
* Set initial scroll bar visibility.jamiewalch@chromium.org2013-07-191-8/+17
| | | | | | | | | | | | 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
* Fixed jscompile error.jamiewalch@chromium.org2013-06-251-2/+3
| | | | | | | | 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
* Disable scroll-bars in shrink-to-fit mode.jamiewalch@chromium.org2013-06-211-0/+8
| | | | | | | | | | 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
* Enable Resize_desktop_to_fit by default for Me2Me connections.weitaosu@chromium.org2013-06-121-1/+1
| | | | | | | | 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
* Add host-side rate-limiting to desktop resize events.jamiewalch@chromium.org2013-06-091-2/+8
| | | | | | | | | | | 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
* This CL adds the "request pairing" implementation between the web-app and ↵jamiewalch@chromium.org2013-06-041-3/+26
| | | | | | | | | | | | | | | | | | 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
* Show a 'remember me' checkbox in the web-app when connecting to a host that ↵jamiewalch@chromium.org2013-05-241-6/+9
| | | | | | | | | | | | | 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
* Fixed JS compiler errors.jamiewalch@chromium.org2013-04-261-1/+2
| | | | | | | | 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
* Webapp changes to support third party authenticationrmsousa@chromium.org2013-04-261-7/+19
| | | | | | | | | | | | | | | | | | 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
* Set the initial resolution of an RDP session to the client screen resolution ↵alexeypa@chromium.org2013-04-191-0/+58
| | | | | | | | | | | | | | | | | | 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
* Add remapKeys per-host advanced option.wez@chromium.org2013-04-041-6/+66
| | | | | | | | | | | | | | | 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
* Don't reload the web-app at any point in the client-side flow.jamiewalch@chromium.org2013-04-021-2/+2
| | | | | | | | | | | | 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
* Webapp changes to support asking for a PINrmsousa@chromium.org2013-03-241-11/+53
| | | | | | | | | | | | | | | 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
* Reset bump-scroll offsets when leaving full-screen mode.jamiewalch@chromium.org2013-03-191-1/+4
| | | | | | | | | 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
* Include host visible name in tool-bar.jamiewalch@chromium.org2013-03-141-1/+5
| | | | | | | | | 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
* Improve host-list display in case of auth or network error.jamiewalch@chromium.org2013-03-021-1/+1
| | | | | | | | | | | | | | | | | | | | | 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
* Update web-app client to use plugin notifyDeviceResolution API.wez@chromium.org2013-02-121-9/+14
| | | | | | | | | 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
* Factor connection setup out of client_screen.js.jamiewalch@chromium.org2013-02-071-23/+44
| | | | | | | | | | | | | | | 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
* Session logging fixesrmsousa@chromium.org2013-02-061-27/+37
| | | | | | | | | 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
* Get Chromoting client working in Apps V2jamiewalch@chromium.org2013-01-291-30/+21
| | | | | | | | | | | | | | | 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
* Render high-DPI hosts pixel-for-pixel on high-DPI clients.wez@chromium.org2013-01-291-4/+22
| | | | | | | | | | | | | | | | | | | 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
* Add hack that works around signaling bug that breaks Chromoting.sergeyu@chromium.org2013-01-211-1/+27
| | | | | | | | | | | | | | | | 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
* Allow resize-to-client to be enabled by the user.jamiewalch@chromium.org2013-01-171-57/+135
| | | | | | | | | | | 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
* Dead/duplicate code cleanup.jamiewalch@google.com2012-12-061-14/+6
| | | | | | | | | | | | | * 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
* Don't log 'connection failed' for session errors that occur after connection ↵jamiewalch@chromium.org2012-11-301-4/+9
| | | | | | | | | | | 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
* Avoid letterboxing when connecting to multi-monitor hosts in full-screen.wez@chromium.org2012-11-011-13/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Protocol plumbing for audio toggle.rmsousa@chromium.org2012-10-181-0/+12
| | | | | | | | | BUG= Review URL: https://chromiumcodereview.appspot.com/11192042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@162637 0039d316-1c4b-4281-b951-d872f2087c98
* [Chromoting] Revert the webapp IQ stanza ID fix.simonmorris@chromium.org2012-10-151-27/+1
| | | | | | | | | | | 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
* Add hack that works around signaling bug that breaks Chromoting.sergeyu@chromium.org2012-10-051-1/+27
| | | | | | | | | | | | | 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
* Notify host of initial client dimensions.jamiewalch@chromium.org2012-09-201-0/+1
| | | | | | | | | 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
* Fix typo in Send Keys implementation.wez@chromium.org2012-09-171-1/+1
| | | | | | | | | | | 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
* Add Print Screen option to Send Keys menu.rmsousa@chromium.org2012-08-311-12/+33
| | | | | | | | | | 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
* Add support for suppressing error logging, and don't log errors due to ↵jamiewalch@chromium.org2012-08-041-2/+27
| | | | | | | | | | | 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
* Show connection state in the Chromoting client UI.sergeyu@chromium.org2012-07-231-2/+21
| | | | | | | | | | | | 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
* Propagate DPI information to web-app.jamiewalch@chromium.org2012-07-201-1/+3
| | | | | | | | | | 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
* Fix bump-scroll on Windows.jamiewalch@google.com2012-06-121-1/+4
| | | | | | | | | 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
* Added timestamp logging to iq stanzas.jamiewalch@chromium.org2012-06-061-2/+3
| | | | | | | | | | 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
* Remove Chromoting web-app client plugin V1 wrapperswez@chromium.org2012-05-311-9/+1
| | | | | | | | | | 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
* Die, |that|, die!jamiewalch@google.com2012-05-291-54/+36
| | | | | | | | | | | | | | | | | | | | | | 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
* [Chromoting] Make the client plugin tell the webapp when the first video ↵simonmorris@chromium.org2012-05-251-0/+17
| | | | | | | | | | | | | | 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
* Reset bump-scroll when enabling shrink-to-fit.jamiewalch@google.com2012-05-071-1/+4
| | | | | | | | | | | | | 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
* Speed up scrolling if the machine can't keep up.jamiewalch@google.com2012-05-031-6/+16
| | | | | | | | | | | | | 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
* Register for WebKit tab visibility changes and use to pause video.wez@chromium.org2012-05-031-0/+12
| | | | | | | | | | | 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
* Support bump-scroll in full-screen by adjusting plugin margins.jamiewalch@google.com2012-05-021-0/+122
| | | | | | | | | 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
* Send new client dimensions to host whenever they change.wez@chromium.org2012-05-021-4/+25
| | | | | | | | | | | | 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
* Revert r132818.jamiewalch@google.com2012-04-191-8/+0
| | | | | | | | | | | 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