Chromium Code Reviews| Index: chrome/browser/ui/views/apps/app_info_dialog/app_info_dialog_views.cc |
| diff --git a/chrome/browser/ui/views/apps/app_info_dialog/app_info_dialog_views.cc b/chrome/browser/ui/views/apps/app_info_dialog/app_info_dialog_views.cc |
| index 734f1f72633dd684c4e9a87fe29fe8017e6f3782..c1982010b7dab8e2990957a08820a9fffc338df0 100644 |
| --- a/chrome/browser/ui/views/apps/app_info_dialog/app_info_dialog_views.cc |
| +++ b/chrome/browser/ui/views/apps/app_info_dialog/app_info_dialog_views.cc |
| @@ -29,6 +29,13 @@ |
| #include "ui/views/widget/widget.h" |
| #include "ui/views/window/dialog_delegate.h" |
| +gfx::Size GetApproximateAppListSize() { |
|
tsergeant
2015/02/05 05:33:27
Is there a better place to put this, or a more app
sashab
2015/02/06 16:23:00
We agreed with UI on a hardcoded size, so I think
tsergeant
2015/02/09 03:10:49
Done.
|
| + const int kAppInfoDialogWidth = 380; |
| + const int kAppInfoDialogHeight = 490; |
| + |
| + return gfx::Size(kAppInfoDialogWidth, kAppInfoDialogHeight); |
| +} |
| + |
| void ShowAppInfoInAppList(gfx::NativeWindow parent, |
| const gfx::Rect& app_list_bounds, |
| Profile* profile, |