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

Unified Diff: remoting/webapp/crd/js/fullscreen_v2.js

Issue 803653004: Update Chromoting to use /third_party/closure_compiler. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove unused types Created 5 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: remoting/webapp/crd/js/fullscreen_v2.js
diff --git a/remoting/webapp/crd/js/fullscreen_v2.js b/remoting/webapp/crd/js/fullscreen_v2.js
index afe2b4fb06f210ed8bf8ec45d0c4f3f59b251c4c..ea20f9000f7185ce7554154ac9890fc1bbec28dc 100644
--- a/remoting/webapp/crd/js/fullscreen_v2.js
+++ b/remoting/webapp/crd/js/fullscreen_v2.js
@@ -76,10 +76,16 @@ remoting.FullscreenAppsV2.prototype.isActive = function() {
return chrome.app.window.current().isFullscreen();
};
+/**
+ * @param {function(boolean=):void} callback
+ */
remoting.FullscreenAppsV2.prototype.addListener = function(callback) {
this.eventSource_.addEventListener(this.kEventName_, callback);
};
+/**
+ * @param {function(boolean=):void} callback
+ */
remoting.FullscreenAppsV2.prototype.removeListener = function(callback) {
this.eventSource_.removeEventListener(this.kEventName_, callback);
};

Powered by Google App Engine
This is Rietveld 408576698