1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef CHROME_BROWSER_UI_WEBUI_ACTIVE_DOWNLOADS_UI_H_ 6 #define CHROME_BROWSER_UI_WEBUI_ACTIVE_DOWNLOADS_UI_H_ 7 #pragma once 8 9 #include <string> 10 11 #include "chrome/browser/history/history.h" 12 #include "chrome/browser/ui/webui/chrome_url_data_manager.h" 13 #include "chrome/browser/ui/webui/html_dialog_ui.h" 14 #include "net/base/directory_lister.h" 15 16 class Browser; 17 class Profile; 18 19 class ActiveDownloadsUI : public HtmlDialogUI { 20 public: 21 explicit ActiveDownloadsUI(TabContents* contents); 22 23 static Browser* OpenPopup(Profile* profile); 24 static Browser* GetPopup(Profile* profile); 25 26 private: 27 DISALLOW_COPY_AND_ASSIGN(ActiveDownloadsUI); 28 }; 29 30 #endif // CHROME_BROWSER_UI_WEBUI_ACTIVE_DOWNLOADS_UI_H_ 31