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

Side by Side Diff: remoting/webapp/fullscreen.js

Issue 491873004: Add an explicit full-screen button. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@webapp_move_context_menu
Patch Set: Rebase. Created 6 years, 3 months 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 unified diff | Download patch
« no previous file with comments | « remoting/webapp/client_session.js ('k') | remoting/webapp/fullscreen_v1.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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;
OLDNEW
« no previous file with comments | « remoting/webapp/client_session.js ('k') | remoting/webapp/fullscreen_v1.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698