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

Unified Diff: chrome/browser/ui/webui/downloads_dom_handler.h

Issue 7398026: Added a link to the downloads tab that opens the downloads folder. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Added a period at the end of a comment. Created 9 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/webui/downloads_dom_handler.h
diff --git a/chrome/browser/ui/webui/downloads_dom_handler.h b/chrome/browser/ui/webui/downloads_dom_handler.h
index c50ae3de43d03e62b24460db5374ba29ac15c683..d407b665ad9b4887db583f24682d6b5bb57deb65 100644
--- a/chrome/browser/ui/webui/downloads_dom_handler.h
+++ b/chrome/browser/ui/webui/downloads_dom_handler.h
@@ -71,6 +71,10 @@ class DownloadsDOMHandler : public WebUIMessageHandler,
// Callback for the "clearAll" message - clears all the downloads.
void HandleClearAll(const base::ListValue* args);
+ // Callback for the "openDownloadsFolder" message - opens the downloads
+ // folder.
+ void HandleOpenDownloadsFolder(const base::ListValue* args);
+
private:
// Send the current list of downloads to the page.
void SendCurrentDownloads();

Powered by Google App Engine
This is Rietveld 408576698