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

Unified Diff: remoting/webapp/app_remoting/js/app_connected_view.js

Issue 1089493002: [Webapp Refactor] Re-add remoting.ConnectionStats. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Reviewer's feedback Created 5 years, 8 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/app_remoting/js/app_connected_view.js
diff --git a/remoting/webapp/app_remoting/js/app_connected_view.js b/remoting/webapp/app_remoting/js/app_connected_view.js
index e39d445e35d1e51219024524f057a5f59ca07f6c..a634f780756e75271331b619e1df8621d5afbb11 100644
--- a/remoting/webapp/app_remoting/js/app_connected_view.js
+++ b/remoting/webapp/app_remoting/js/app_connected_view.js
@@ -50,7 +50,8 @@ remoting.AppConnectedView = function(containerElement, connectionInfo) {
new remoting.ContextMenuDom(document.getElementById('context-menu'));
}
- this.contextMenu_ = new remoting.ApplicationContextMenu(menuAdapter);
+ this.contextMenu_ =
+ new remoting.ApplicationContextMenu(menuAdapter, this.plugin_);
this.contextMenu_.setHostId(connectionInfo.host().hostId);
/** @private */
@@ -75,7 +76,7 @@ remoting.AppConnectedView = function(containerElement, connectionInfo) {
/** @private */
this.disposables_ = new base.Disposables(
- baseView, windowShapeHook, desktopSizeHook);
+ baseView, windowShapeHook, desktopSizeHook, this.contextMenu_);
/** @private */
this.supportsGoogleDrive_ = connectionInfo.session().hasCapability(
« no previous file with comments | « remoting/resources/remoting_strings.grd ('k') | remoting/webapp/app_remoting/js/application_context_menu.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698