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

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

Issue 1243033003: App Info: `View in Webstore` closes before navigating (not after) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Likely fix for CrOS Created 5 years, 5 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_header_panel.cc
diff --git a/chrome/browser/ui/views/apps/app_info_dialog/app_info_header_panel.cc b/chrome/browser/ui/views/apps/app_info_dialog/app_info_header_panel.cc
index 6db2dff52c5b98951fff91b4b238916bc330f84e..a14bb9de90653d0699308e9493c158915a4b4d10 100644
--- a/chrome/browser/ui/views/apps/app_info_dialog/app_info_header_panel.cc
+++ b/chrome/browser/ui/views/apps/app_info_dialog/app_info_header_panel.cc
@@ -131,11 +131,11 @@ void AppInfoHeaderPanel::OnAppImageLoaded(const gfx::Image& image) {
void AppInfoHeaderPanel::ShowAppInWebStore() {
DCHECK(CanShowAppInWebStore());
+ Close();
OpenLink(net::AppendQueryParameter(
extensions::ManifestURL::GetDetailsURL(app_),
extension_urls::kWebstoreSourceField,
extension_urls::kLaunchSourceAppListInfoDialog));
- Close();
}
bool AppInfoHeaderPanel::CanShowAppInWebStore() const {
« no previous file with comments | « chrome/browser/ui/views/apps/app_info_dialog/app_info_header_panel.h ('k') | chrome/test/base/browser_with_test_window_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698