Index: chrome/browser/ui/webui/downloads_dom_handler.cc |
=================================================================== |
--- chrome/browser/ui/webui/downloads_dom_handler.cc (revision 108122) |
+++ chrome/browser/ui/webui/downloads_dom_handler.cc (working copy) |
@@ -39,6 +39,10 @@ |
#include "content/public/browser/browser_thread.h" |
#endif |
+#if defined(OS_CHROMEOS) |
+#include "chrome/browser/extensions/file_manager_util.h" |
+#endif |
+ |
namespace { |
// Maximum number of downloads to show. TODO(glen): Remove this and instead |
@@ -357,6 +361,10 @@ |
#if defined(OS_MACOSX) |
// Must be called from the UI thread on Mac. |
platform_util::OpenItem(path); |
+#elif defined(OS_CHROMEOS) |
+ FileManagerUtil::ShowFullTabUrl( |
+ Profile::FromBrowserContext(download_manager_->browser_context()), |
+ path); |
#else |
BrowserThread::PostTask( |
BrowserThread::FILE, FROM_HERE, |