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

Unified Diff: chrome/browser/ui/webui/extensions/extension_settings_handler.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/webui/extensions/extension_settings_handler.cc
diff --git a/chrome/browser/ui/webui/extensions/extension_settings_handler.cc b/chrome/browser/ui/webui/extensions/extension_settings_handler.cc
index 210867de012130b6bcbab9f3e072649490155074..ff78ac8871460f80c1b8f6838a55f5c580b7879c 100644
--- a/chrome/browser/ui/webui/extensions/extension_settings_handler.cc
+++ b/chrome/browser/ui/webui/extensions/extension_settings_handler.cc
@@ -1246,12 +1246,9 @@ void ExtensionSettingsHandler::HandlePermissionsMessage(
AppInfoLaunchSource::NUM_LAUNCH_SOURCES);
// Display the dialog at a size similar to the app list.
- const int kAppInfoDialogWidth = 380;
- const int kAppInfoDialogHeight = 490;
-
ShowAppInfoInNativeDialog(
web_contents()->GetTopLevelNativeWindow(),
- gfx::Size(kAppInfoDialogWidth, kAppInfoDialogHeight),
+ GetApproximateAppListSize(),
Profile::FromWebUI(web_ui()), extension,
base::Bind(&BrokerDelegate::AppInfoDialogClosed,
base::Unretained(broker_delegate)));

Powered by Google App Engine
This is Rietveld 408576698