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

Unified Diff: chrome/browser/ui/views/extensions/request_file_system_dialog_view.cc

Issue 2888563004: Delete panel metrics and define insets in terms of distance metrics. (Closed)
Patch Set: one wrong conversion Created 3 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: chrome/browser/ui/views/extensions/request_file_system_dialog_view.cc
diff --git a/chrome/browser/ui/views/extensions/request_file_system_dialog_view.cc b/chrome/browser/ui/views/extensions/request_file_system_dialog_view.cc
index 7ce2ab453dbde6e3c47053e972dcdf98d8a76e81..56056320e0f2618537cefd2c48af9dda1b9a92a9 100644
--- a/chrome/browser/ui/views/extensions/request_file_system_dialog_view.cc
+++ b/chrome/browser/ui/views/extensions/request_file_system_dialog_view.cc
@@ -86,7 +86,8 @@ gfx::Size RequestFileSystemDialogView::GetPreferredSize() const {
}
gfx::Insets RequestFileSystemDialogView::GetInsets() const {
- return ChromeLayoutProvider::Get()->GetInsetsMetric(views::INSETS_PANEL);
+ return ChromeLayoutProvider::Get()->GetInsetsMetric(
+ views::INSETS_DIALOG_CONTENTS);
}
RequestFileSystemDialogView::RequestFileSystemDialogView(

Powered by Google App Engine
This is Rietveld 408576698