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

Unified Diff: chrome/browser/resources/file_manager/js/suggest_apps_dialog.js

Issue 23983015: [Files.app] Remove the margin of CWS widget (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
};
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698