Index: remoting/webapp/base/js/application.js |
diff --git a/remoting/webapp/base/js/application.js b/remoting/webapp/base/js/application.js |
new file mode 100644 |
index 0000000000000000000000000000000000000000..fe6a75571210fe71ebc3ed4c40f993440a8b9bce |
--- /dev/null |
+++ b/remoting/webapp/base/js/application.js |
@@ -0,0 +1,47 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+/** |
+ * @fileoverview |
+ * Interface abstracting the Application functionality. |
+ */ |
+ |
+'use strict'; |
+ |
+/** @suppress {duplicate} */ |
+var remoting = remoting || {}; |
+ |
+/** |
+ * @interface |
+ */ |
+remoting.Application = function() {}; |
+ |
+/** |
+ * @return {void} Nothing. |
Jamie
2014/12/04 22:56:57
It would help to know a bit more about how these c
garykac
2014/12/05 19:55:40
Done.
|
+ */ |
+remoting.Application.prototype.init = function() {}; |
+ |
+/** |
+ * @return {void} Nothing. |
+ */ |
+remoting.Application.prototype.onConnected = function() {}; |
+ |
+/** |
+ * @return {void} Nothing. |
+ */ |
+remoting.Application.prototype.onDisconnected = function() {}; |
+ |
+/** |
+ * @return {void} Nothing. |
+ */ |
+remoting.Application.prototype.onHostStarted = function() {}; |
+ |
+/** |
+ * @param {remoting.Error} errorTag The error to be localized and displayed. |
+ * @return {void} Nothing. |
+ */ |
+remoting.Application.prototype.onError = function(errorTag) {}; |
+ |
+/** @type {remoting.Application} */ |
+remoting.app = null; |