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

Unified Diff: chrome/browser/resources/file_manager/js/file_tasks.js

Issue 10828092: [File Manager] Better message when trying to open unsupported files (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 8 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
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/resources/file_manager/js/mock_chrome.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/file_manager/js/file_tasks.js
diff --git a/chrome/browser/resources/file_manager/js/file_tasks.js b/chrome/browser/resources/file_manager/js/file_tasks.js
index 46cca37037a7e66bbf2098f49f47edabded49fd7..e337265aea6ae12eb7876f591db2ca243561bd2e 100644
--- a/chrome/browser/resources/file_manager/js/file_tasks.js
+++ b/chrome/browser/resources/file_manager/js/file_tasks.js
@@ -23,6 +23,11 @@ function FileTasks(fileManager, urls) {
}
/**
+* Location of the Chrome Web Store.
+*/
+FileTasks.CHROME_WEB_STORE_URL = 'https://chrome.google.com/webstore';
+
+/**
* Location of the FAQ about the file actions.
*/
FileTasks.NO_ACTION_FOR_FILE_URL = 'http://support.google.com/chromeos/bin/' +
@@ -120,6 +125,7 @@ FileTasks.prototype.executeDefault_ = function() {
filename = filename.substr(filename.lastIndexOf('/') + 1);
var text = loadTimeData.getStringF('NO_ACTION_FOR_FILE',
+ FileTasks.CHROME_WEB_STORE_URL,
FileTasks.NO_ACTION_FOR_FILE_URL);
this.fileManager_.alert.showHtml(filename, text, function() {});
}
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/resources/file_manager/js/mock_chrome.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698