| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 /** | 5 /** |
| 6 * @fileoverview | 6 * @fileoverview |
| 7 * Controller interface for full-screen mode. | 7 * Controller interface for full-screen mode. |
| 8 */ | 8 */ |
| 9 | 9 |
| 10 'use strict'; | 10 'use strict'; |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 */ | 23 */ |
| 24 remoting.Fullscreen.prototype.activate = function(fullscreen, opt_onDone) { }; | 24 remoting.Fullscreen.prototype.activate = function(fullscreen, opt_onDone) { }; |
| 25 | 25 |
| 26 /** | 26 /** |
| 27 * @return {boolean} True if full-screen mode is active. | 27 * @return {boolean} True if full-screen mode is active. |
| 28 */ | 28 */ |
| 29 remoting.Fullscreen.prototype.isActive = function() { }; | 29 remoting.Fullscreen.prototype.isActive = function() { }; |
| 30 | 30 |
| 31 /** | 31 /** |
| 32 * Toggle full-screen mode. | 32 * Toggle full-screen mode. |
| 33 * @return {void} |
| 33 */ | 34 */ |
| 34 remoting.Fullscreen.prototype.toggle = function() { }; | 35 remoting.Fullscreen.prototype.toggle = function() { }; |
| 35 | 36 |
| 36 /** | 37 /** |
| 37 * Add a listener for the full-screen-changed event. | 38 * Add a listener for the full-screen-changed event. |
| 38 * | 39 * |
| 39 * @param {function(boolean):void} callback | 40 * @param {function(boolean=):void} callback |
| 40 */ | 41 */ |
| 41 remoting.Fullscreen.prototype.addListener = function(callback) { }; | 42 remoting.Fullscreen.prototype.addListener = function(callback) { }; |
| 42 | 43 |
| 43 /** | 44 /** |
| 44 * Remove a listener for the full-screen-changed event. | 45 * Remove a listener for the full-screen-changed event. |
| 45 * | 46 * |
| 46 * @param {function(boolean):void} callback | 47 * @param {function(boolean=):void} callback |
| 47 */ | 48 */ |
| 48 remoting.Fullscreen.prototype.removeListener = function(callback) { }; | 49 remoting.Fullscreen.prototype.removeListener = function(callback) { }; |
| 49 | 50 |
| 50 /** @type {remoting.Fullscreen} */ | 51 /** @type {remoting.Fullscreen} */ |
| 51 remoting.fullscreen = null; | 52 remoting.fullscreen = null; |
| OLD | NEW |