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

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

Issue 803653004: Update Chromoting to use /third_party/closure_compiler. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Define Entry for browser_tests 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/app_remoting/js/context_menu_dom.js
diff --git a/remoting/webapp/app_remoting/js/context_menu_dom.js b/remoting/webapp/app_remoting/js/context_menu_dom.js
index c81482e691e387943eb8a3405c4ec470b0f918c6..03fb4e62cc2f3baebc4759f014cb41b08b2a5f73 100644
--- a/remoting/webapp/app_remoting/js/context_menu_dom.js
+++ b/remoting/webapp/app_remoting/js/context_menu_dom.js
@@ -41,24 +41,24 @@ remoting.ContextMenuDom = function(root) {
* @private
*/
this.stub_ = /** @type {HTMLElement} */
- this.root_.querySelector('.context-menu-stub');
+ (this.root_.querySelector('.context-menu-stub'));
/**
* @type {HTMLElement}
* @private
*/
this.icon_ = /** @type {HTMLElement} */
- this.root_.querySelector('.context-menu-icon');
+ (this.root_.querySelector('.context-menu-icon'));
/**
* @type {HTMLElement}
* @private
*/
this.screen_ = /** @type {HTMLElement} */
- this.root_.querySelector('.context-menu-screen');
+ (this.root_.querySelector('.context-menu-screen'));
/**
* @type {HTMLElement}
* @private
*/
- this.menu_ = /** @type {HTMLElement} */ this.root_.querySelector('ul');
+ this.menu_ = /** @type {HTMLElement} */ (this.root_.querySelector('ul'));
/**
* @type {number}
* @private
@@ -84,7 +84,7 @@ remoting.ContextMenuDom = function(root) {
*/
this.stubDragged_ = false;
- /*
+ /**
* @private
*/
this.dragAndDrop_ = new remoting.DragAndDrop(
@@ -194,7 +194,7 @@ remoting.ContextMenuDom.prototype.remove = function(id) {
};
/**
- * @param {function(OnClickData):void} listener
+ * @param {function(OnClickData=):void} listener
*/
remoting.ContextMenuDom.prototype.addListener = function(listener) {
this.eventSource_.addEventListener(this.eventName_, listener);

Powered by Google App Engine
This is Rietveld 408576698