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

Unified Diff: remoting/webapp/base/js/message_window_helper.js

Issue 1133103004: Allow MessageWindow callers to specify a minimum width. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « remoting/webapp/app_remoting/js/loading_window.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/base/js/message_window_helper.js
diff --git a/remoting/webapp/base/js/message_window_helper.js b/remoting/webapp/base/js/message_window_helper.js
index 90267add4dc60a0b1e5e9df92a0d91d11d8361eb..f6657577c4982894d44f22afa5bd43c2f5e1ea22 100644
--- a/remoting/webapp/base/js/message_window_helper.js
+++ b/remoting/webapp/base/js/message_window_helper.js
@@ -38,6 +38,9 @@ remoting.MessageWindowOptions = function() {
/** @type {string} */
this.frame = '';
+
+ /** @type {number} */
+ this.minimumWidth = 0;
};
/**
@@ -96,7 +99,7 @@ remoting.MessageWindow = function(options) {
var windowAttributes = {
bounds: {
- width: 400,
+ width: options.minimumWidth || 400,
height: 100
},
resizable: false,
« no previous file with comments | « remoting/webapp/app_remoting/js/loading_window.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698