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

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

Issue 1146833002: [AppRemoting] Implement ConnectionDroppedDialog. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: WindowShape fixes + reviewer's feedback Created 5 years, 7 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/context_menu_chrome.js
diff --git a/remoting/webapp/app_remoting/js/context_menu_chrome.js b/remoting/webapp/app_remoting/js/context_menu_chrome.js
index 0e9ec303cb65e6af9922644cc69a226206d58214..337be594a80695f788a25e5190b83d9e73737660 100644
--- a/remoting/webapp/app_remoting/js/context_menu_chrome.js
+++ b/remoting/webapp/app_remoting/js/context_menu_chrome.js
@@ -18,7 +18,9 @@ var remoting = remoting || {};
*/
remoting.ContextMenuChrome = function() {};
-remoting.ContextMenuChrome.prototype.dispose = function() {};
+remoting.ContextMenuChrome.prototype.dispose = function() {
+ chrome.contextMenus.removeAll();
+};
/**
* @param {string} id An identifier for the menu entry.
« no previous file with comments | « remoting/webapp/app_remoting/js/app_remoting_activity.js ('k') | remoting/webapp/base/html/connection_dropped_dialog.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698