Move non-manifest stuff out of appsv2.patch.
commit2b57079cc07e2c47af02ca8577adc648f90ea14f
authorjamiewalch@chromium.org <jamiewalch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 25 Jul 2013 20:04:45 +0000 (25 20:04 +0000)
committerjamiewalch@chromium.org <jamiewalch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 25 Jul 2013 20:04:45 +0000 (25 20:04 +0000)
tree606f1596fde2ea3e0f7b9cde189f9d60e9af5114
parent39b58adfb5feac4584465466fc34cff25cc8dd02
Move non-manifest stuff out of appsv2.patch.

This simplifies the task of adding new Apps V2 functionality and should reduce the need to update the patch when JS changes are made.

The change is mostly mechanical, with the exception of a couple of places where the code being patched was run before remoting.init, which is where I've put the isAppsV2 initialization. Since order of execution of code defined at top-level in Javascript is a tricky topic, I've removed most of it, leaving just a 'load' event listener, which is the recommended approach.

BUG=134213
R=lambroslambrou@chromium.org

Review URL: https://codereview.chromium.org/19522007

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@213679 0039d316-1c4b-4281-b951-d872f2087c98
remoting/remoting.gyp
remoting/webapp/all_js_load.gtestjs
remoting/webapp/appsv2.patch
remoting/webapp/event_handlers.js
remoting/webapp/jscompiler_hacks.js
remoting/webapp/main.html
remoting/webapp/remoting.js
remoting/webapp/wcs_sandbox_container.js
remoting/webapp/wcs_sandbox_content.js
remoting/webapp/xhr_proxy.js