Index: chrome/browser/resources/file_manager/js/suggest_apps_dialog.js |
diff --git a/chrome/browser/resources/file_manager/js/suggest_apps_dialog.js b/chrome/browser/resources/file_manager/js/suggest_apps_dialog.js |
index 64a21607e7b488570c25483065e1f609e6d92a55..b0b213136c30cc3a542d9940f67f8cc51ec5928e 100644 |
--- a/chrome/browser/resources/file_manager/js/suggest_apps_dialog.js |
+++ b/chrome/browser/resources/file_manager/js/suggest_apps_dialog.js |
@@ -23,13 +23,6 @@ var WEBVIEW_WIDTH = 735; |
var WEBVIEW_HEIGHT = 480; |
/** |
- * The mergin inside the widget (in pixel). |
- * @type {number} |
- * @const |
- */ |
-var WIDGET_MARGIN = 8; |
- |
-/** |
* The widget of the spinner box (in pixel). |
* @type {number} |
* @const |
@@ -328,15 +321,11 @@ SuggestAppsDialog.prototype.onWidgetLoaded_ = function(event) { |
this.webviewContainer_.classList.add('loaded'); |
this.state_ = SuggestAppsDialog.State.INITIALIZED; |
- this.webviewContainer_.style.width = |
- (WEBVIEW_WIDTH + WIDGET_MARGIN * 2) + 'px'; |
- this.webviewContainer_.style.height = |
- (WEBVIEW_HEIGHT + WIDGET_MARGIN * 2) + 'px'; |
+ this.webviewContainer_.style.width = WEBVIEW_WIDTH + 'px'; |
+ this.webviewContainer_.style.height = WEBVIEW_HEIGHT + 'px'; |
- this.webview_.style.width = |
- (WEBVIEW_WIDTH + WIDGET_MARGIN * 2) + 'px'; |
- this.webview_.style.height = |
- (WEBVIEW_HEIGHT + WIDGET_MARGIN * 2) + 'px'; |
+ this.webview_.style.width = WEBVIEW_WIDTH + 'px'; |
+ this.webview_.style.height = WEBVIEW_HEIGHT + 'px'; |
this.webview_.focus(); |
}; |