/usr/lib/chromium-browser/remoting/remoting.webapp.v2/fullscreen.js is in chromium-browser 49.0.2623.108-0ubuntu1.1233.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 | // 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
* Controller interface for full-screen mode.
*/
'use strict';
/** @suppress {duplicate} */
var remoting = remoting || {};
/** @interface */
remoting.Fullscreen = function() { };
/**
* Enter or leave full-screen mode.
*
* @param {boolean} fullscreen True to enter full-screen mode; false to leave.
* @param {function():void=} opt_onDone Optional completion callback.
*/
remoting.Fullscreen.prototype.activate = function(fullscreen, opt_onDone) { };
/**
* @return {boolean} True if full-screen mode is active.
*/
remoting.Fullscreen.prototype.isActive = function() { };
/**
* Toggle full-screen mode.
* @return {void}
*/
remoting.Fullscreen.prototype.toggle = function() { };
/**
* Add a listener for the full-screen-changed event.
*
* @param {function(boolean=):void} callback
*/
remoting.Fullscreen.prototype.addListener = function(callback) { };
/**
* Remove a listener for the full-screen-changed event.
*
* @param {function(boolean=):void} callback
*/
remoting.Fullscreen.prototype.removeListener = function(callback) { };
/** @type {remoting.Fullscreen} */
remoting.fullscreen = null;
/**
* @constructor
* @param {function(boolean=)} listener
* @implements {base.Disposable}
*/
remoting.Fullscreen.EventHook = function(listener) {
/** @private */
this.src_ = remoting.fullscreen;
/** @private */
this.listener_ = listener;
this.src_.addListener(listener);
};
remoting.Fullscreen.EventHook.prototype.dispose = function() {
this.src_.removeListener(this.listener_);
};
|