Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 /** | |
| 6 * @fileoverview | |
| 7 * Interface abstracting the Application functionality. | |
| 8 */ | |
| 9 | |
| 10 'use strict'; | |
| 11 | |
| 12 /** @suppress {duplicate} */ | |
| 13 var remoting = remoting || {}; | |
| 14 | |
| 15 /** | |
| 16 * @interface | |
| 17 */ | |
| 18 remoting.Application = function() {}; | |
| 19 | |
| 20 /** | |
| 21 * @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.
| |
| 22 */ | |
| 23 remoting.Application.prototype.init = function() {}; | |
| 24 | |
| 25 /** | |
| 26 * @return {void} Nothing. | |
| 27 */ | |
| 28 remoting.Application.prototype.onConnected = function() {}; | |
| 29 | |
| 30 /** | |
| 31 * @return {void} Nothing. | |
| 32 */ | |
| 33 remoting.Application.prototype.onDisconnected = function() {}; | |
| 34 | |
| 35 /** | |
| 36 * @return {void} Nothing. | |
| 37 */ | |
| 38 remoting.Application.prototype.onHostStarted = function() {}; | |
| 39 | |
| 40 /** | |
| 41 * @param {remoting.Error} errorTag The error to be localized and displayed. | |
| 42 * @return {void} Nothing. | |
| 43 */ | |
| 44 remoting.Application.prototype.onError = function(errorTag) {}; | |
| 45 | |
| 46 /** @type {remoting.Application} */ | |
| 47 remoting.app = null; | |
| OLD | NEW |