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

Unified Diff: chrome/browser/ui/views/apps/app_info_dialog/app_info_dialog_views.cc

Issue 899173002: Replace Webstore link with app info dialog link in chrome://apps (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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/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,

Powered by Google App Engine
This is Rietveld 408576698