| 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 29 matching lines...) Expand all Loading... |
| 40 */ | 40 */ |
| 41 remoting.Fullscreen.prototype.addListener = function(callback) { }; | 41 remoting.Fullscreen.prototype.addListener = function(callback) { }; |
| 42 | 42 |
| 43 /** | 43 /** |
| 44 * Remove a listener for the full-screen-changed event. | 44 * Remove a listener for the full-screen-changed event. |
| 45 * | 45 * |
| 46 * @param {function(boolean):void} callback | 46 * @param {function(boolean):void} callback |
| 47 */ | 47 */ |
| 48 remoting.Fullscreen.prototype.removeListener = function(callback) { }; | 48 remoting.Fullscreen.prototype.removeListener = function(callback) { }; |
| 49 | 49 |
| 50 /** | |
| 51 * Enable or disable automatic synchronization of full-screen and maximized | |
| 52 * states. This allows the application to enter full-screen mode whenever its | |
| 53 * window is maximized, regardless of how the user initiates this (clicking | |
| 54 * the maximize control, double-clicking the title bar or using the tray menu, | |
| 55 * for example). If the window is already maximized when this synchronization | |
| 56 * is enabled, it is full-screened. | |
| 57 * | |
| 58 * This method is a no-op for apps v1. | |
| 59 * | |
| 60 * @param {boolean} sync True to enable synchronization; false to disable. | |
| 61 */ | |
| 62 remoting.Fullscreen.prototype.syncWithMaximize = function(sync) { }; | |
| 63 | |
| 64 /** @type {remoting.Fullscreen} */ | 50 /** @type {remoting.Fullscreen} */ |
| 65 remoting.fullscreen = null; | 51 remoting.fullscreen = null; |
| OLD | NEW |