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

Unified Diff: chrome/browser/resources/file_manager/foreground/js/suggest_apps_dialog.js

Issue 171563003: [Files.app] Use util.visitURL to open the webstore link (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/file_manager/foreground/js/suggest_apps_dialog.js
diff --git a/chrome/browser/resources/file_manager/foreground/js/suggest_apps_dialog.js b/chrome/browser/resources/file_manager/foreground/js/suggest_apps_dialog.js
index 27d12dfe19b3eb532abf68cebfa19b4c008f3884..9f71f77aec81ec0a6ee2f92771848f87806b105c 100644
--- a/chrome/browser/resources/file_manager/foreground/js/suggest_apps_dialog.js
+++ b/chrome/browser/resources/file_manager/foreground/js/suggest_apps_dialog.js
@@ -304,7 +304,7 @@ SuggestAppsDialog.prototype.showInternal_ =
SuggestAppsDialog.prototype.onWebstoreLinkClicked_ = function(e) {
var webStoreUrl =
FileTasks.createWebStoreLink(this.extension_, this.mimeType_);
- chrome.windows.create({url: webStoreUrl});
+ util.visitURL(webStoreUrl);
this.state_ = SuggestAppsDialog.State.OPENING_WEBSTORE_CLOSING;
this.hide();
};
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698