Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(771)

Unified Diff: mojo/apps/js/main.js

Issue 215883004: Revert of Mojo: add javascript bindings for request/response (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/apps/js/bindings/connector_unittests.js ('k') | mojo/apps/js/test/run_apps_js_tests.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/apps/js/main.js
diff --git a/mojo/apps/js/main.js b/mojo/apps/js/main.js
index 6f6fb5659377416d9e5e045c0615e9e9c92864f4..355fb97f1a71bb720620c9a4d27b431c89d80a74 100644
--- a/mojo/apps/js/main.js
+++ b/mojo/apps/js/main.js
@@ -6,7 +6,7 @@
'console',
'monotonic_clock',
'timer',
- 'mojo/public/bindings/js/connection',
+ 'mojo/public/bindings/js/connector',
'mojo/bindings/js/core',
'mojo/apps/js/bindings/gl',
'mojo/apps/js/bindings/threading',
@@ -15,7 +15,7 @@
], function(console,
monotonicClock,
timer,
- connection,
+ connector,
core,
gljs,
threading,
@@ -281,8 +281,8 @@
var pipe = new core.createMessagePipe();
this.shell_.connect('mojo:mojo_native_viewport_service', pipe.handle1);
- new connection.Connection(pipe.handle0, NativeViewportClientImpl,
- nativeViewport.NativeViewportProxy);
+ new connector.Connection(pipe.handle0, NativeViewportClientImpl,
+ nativeViewport.NativeViewportProxy);
}
// TODO(aa): It is a bummer to need this stub object in JavaScript. We should
// have a 'client' object that contains both the sending and receiving bits of
@@ -390,6 +390,6 @@
return function(handle) {
- new connection.Connection(handle, SampleApp, shell.ShellProxy);
+ new connector.Connection(handle, SampleApp, shell.ShellProxy);
};
});
« no previous file with comments | « mojo/apps/js/bindings/connector_unittests.js ('k') | mojo/apps/js/test/run_apps_js_tests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698