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

Unified Diff: remoting/webapp/base/js/application.js

Issue 779613003: [Chromoting] Create core Application interface for CRD. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add missing file. Created 6 years 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
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;

Powered by Google App Engine
This is Rietveld 408576698